Mercurial > p > roundup > code
comparison doc/_templates/layout.html @ 7464:82bbb95e5690 issue2550923_computed_property
merge from tip into issue2550923_computed_property
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 08 Jun 2023 00:10:32 -0400 |
| parents | 33124f6dc1c4 |
| children | 452a8bd1d826 |
comparison
equal
deleted
inserted
replaced
| 7045:ca90f7270cd4 | 7464:82bbb95e5690 |
|---|---|
| 4 | 4 |
| 5 Custom layout template for Roundup. | 5 Custom layout template for Roundup. |
| 6 | 6 |
| 7 #} | 7 #} |
| 8 {%- block doctype -%} | 8 {%- block doctype -%} |
| 9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 9 <!DOCTYPE html> |
| 10 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 11 {%- endblock %} | 10 {%- endblock %} |
| 12 {%- macro relbar(class) %} | 11 {%- macro relbar(class) %} |
| 13 <div class="related {{ class }}"> | 12 <div class="related {{ class }}"> |
| 14 <ul> | 13 <ul> |
| 15 {%- for rellink in rellinks %} | 14 {%- for rellink in rellinks %} |
| 80 {%- for cssfile in css_files %} | 79 {%- for cssfile in css_files %} |
| 81 <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> | 80 <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> |
| 82 {%- endfor %} | 81 {%- endfor %} |
| 83 {%- endmacro %} | 82 {%- endmacro %} |
| 84 | 83 |
| 85 <html xmlns="http://www.w3.org/1999/xhtml"> | 84 <html lang="en"> |
| 86 <head> | 85 <head> |
| 87 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 86 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 87 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| 88 {%- if 'name="description"' not in metatags %} | |
| 89 <meta name="description" | |
| 90 content="Page {{ pagename }} in documentation on the Roundup issue tracker, version {{ release|e }}."> | |
| 91 {%- endif %} | |
| 88 {{ metatags }} | 92 {{ metatags }} |
| 89 {%- if builder != 'htmlhelp' %} | 93 {%- if builder != 'htmlhelp' %} |
| 90 {%- set titlesuffix = " — "|safe + docstitle|e %} | 94 {%- set titlesuffix = " — "|safe + docstitle|e %} |
| 91 {%- endif %} | 95 {%- endif %} |
| 92 <title>{{ title|striptags }}{{ titlesuffix }}</title> | 96 <title>{{ title|striptags }}{{ titlesuffix }}</title> |
| 141 {%- endif %} | 145 {%- endif %} |
| 142 {%- endblock %} | 146 {%- endblock %} |
| 143 {%- block extrahead %} {% endblock %} | 147 {%- block extrahead %} {% endblock %} |
| 144 </head> | 148 </head> |
| 145 <body> | 149 <body> |
| 146 <div class="header"><h1>Roundup</h1> | 150 <div class="header"><div class="label">Roundup</div> |
| 147 {%- if pagename != "search" %} | 151 {%- if pagename != "search" %} |
| 148 <div id="searchbox" style="display: none"> | 152 <div id="searchbox" style="display: none"> |
| 149 <form class="search" action="{{ pathto('search') }}" method="get"> | 153 <form class="search" action="{{ pathto('search') }}" method="get"> |
| 150 <input type="text" name="q" size="18" /> | 154 <input type="text" name="q" size="18" /> |
| 151 <input type="submit" value="{{ _('Search') }}" /> | 155 <input type="submit" value="{{ _('Search') }}" /> |
