@@ -52,96 +52,24 @@ <h2>${_("Context Navigation")}</h2>
52
52
53
53
${jmacros.notices(chrome.notices)}
54
54
55
- <!-- # block content (placeholder in theme.html) -->
56
55
# block content
57
-
58
- {# ------------------------------------------------------------------
59
-
60
- Note: here should go the content defined by the end user page.
61
-
62
- See layout.html which defines an useful default content for this
63
- block and has more detailed usage notes.
64
-
65
- ------------------------------------------------------------------ #}
66
-
67
56
# endblock content
68
- <!-- # endblock content (placeholder in theme.html) -->
69
57
</ div >
70
58
< a href ="#top " class ="backtotop "> < i class ="icon icon-chevron-up "> </ i > Back to Top</ a >
71
59
</ div >
72
60
# endmacro
73
61
74
62
< head >
75
- <!-- # block head (placeholder in theme.html) -->
76
63
# block head
77
64
# endblock head
78
- <!-- # endblock head (placeholder in theme.html) -->
79
- </ head > {# jinjacheck: "()" OK #}
65
+ </ head >
80
66
81
67
< body >
82
68
# block body
83
- <!-- # block body (content inherited from theme.html) -->
84
- <!-- # include 'site_header.html' (theme.html) -->
69
+
85
70
# include 'site_header.html' ignore missing
86
- <!-- end of site_header.html -->
87
- {# ------------------------------------------------------------------
88
-
89
- Note: here we produce the main structure of the body element:
90
-
91
- div id="banner"
92
- div id="header"
93
- ... logo + metanav ...
94
- /div
95
- ... mainnav ...
96
- /div
97
- div id="main"
98
- ... ctxtnav [+ warnings][+ notices] ...
99
-
100
- # block content
101
-
102
- (here goes the content block produced by the end user page,
103
- typically a "content" div, which could (should!) be followed
104
- by the parent content produced by the layout.html page)
105
-
106
- # endblock content
107
- /div
108
- div id="footer"
109
- ...
110
- /div
111
-
112
- It's entirely possible for the end user page to prepend to, append
113
- to, or replace this default structure by redefining the body
114
- block, but it should be seldom needed.
115
-
116
- ------------------------------------------------------------------ #}
71
+
117
72
< div id ="banner ">
118
- {#
119
- < div id ="header ">
120
- # if chrome.logo.src:
121
- < a id ="logo " href ="${chrome.logo.link or
122
- href.wiki('TracIni') + '#header_logo-section'} ">
123
- < img ${{
124
- 'src': chrome.logo.src,
125
- 'alt': chrome.logo.alt,
126
- 'height': chrome.logo.height,
127
- 'width': chrome.logo.width,
128
- }|htmlattr} /> </ a >
129
- ## jinjacheck: "attribute alt" OK
130
- ## jinjacheck: "attribute src" OK
131
- # else:
132
- < h1 > < a href ="${chrome.logo.link} "> ${project.name}</ a > </ h1 >
133
- # endif
134
- </ div >
135
- < form id ="search " action ="${href.search()} " method ="get ">
136
- # if trac_error_rendering is undefined and 'SEARCH_VIEW' in perm:
137
- < div >
138
- < label for ="proj-search "> ${_("Search:")}</ label >
139
- < input type ="text " id ="proj-search " name ="q " size ="18 " ${accesskey( "f")} value="" />
140
- < input type ="submit " value ="${_('Search')} " />
141
- </ div >
142
- # endif
143
- </ form >
144
- #}
145
73
< div class ="copy-banner ">
146
74
< div class ="container ">
147
75
< h1 > Issues</ h1 >
@@ -190,34 +118,9 @@ <h3>Useful links</h3>
190
118
</ div >
191
119
# endif
192
120
193
- {#
194
- < div id ="footer "> < hr />
195
- < a id ="tracpowered " href ="https://trac.edgewall.org/ "
196
- > < img src ="${chrome.htdocs_location}trac_logo_mini.png " height ="30 "
197
- width ="107 " alt ="${_('Trac Powered')} "/> </ a >
198
- < p class ="left ">
199
- # set trac_version
200
- < a href ="${href.about()} "> < strong > Trac ${trac.version}</ strong > </ a >
201
- < br />
202
- # endset
203
- # set eo
204
- < a href ="http://www.edgewall.org/ "> Edgewall Software</ a >
205
- # endset
206
- # trans trac_version, eo
207
-
208
- Powered by ${trac_version}
209
- By ${eo}.
210
-
211
- # endtrans
212
- </ p >
213
- < p class ="right "> ${chrome.footer}</ p >
214
- </ div >
215
- #}
216
- <!-- # include 'site_footer.html' (theme.html) -->
217
121
# include 'site_footer.html' ignore missing
218
- <!-- end of site_footer.html -->
219
- <!-- # endblock body (content inherited from theme.html) -->
122
+
220
123
# endblock body
221
- </ body > {# jinjacheck: "got (html)" OK #}
124
+ </ body >
222
125
223
126
</ html >
0 commit comments