Commit 94ef5e41599cbc440284027cac3a36fd54472478
1 parent
5aacce24df
Exists in
master
Indentation
Showing 1 changed file with 55 additions and 58 deletions Side-by-side Diff
templates/html/Default_with_index.html
| 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | 2 | <html> |
| 3 | 3 | <head> |
| 4 | - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| 5 | - <title>[% title %]</title> | |
| 6 | - <meta name='Generator' content='[% generator.name %]'> | |
| 4 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| 5 | + <title>[% title %]</title> | |
| 6 | + <meta name='Generator' content='[% generator.name %]'> | |
| 7 | 7 | <link rel="stylesheet" |
| 8 | - href="[% resource('common/zim-style.css') %]" > | |
| 8 | + href="[% resource('common/zim-style.css') %]" > | |
| 9 | 9 | <link rel="stylesheet" |
| 10 | - href="[% resource('common/zim-table-style.css') %]" > | |
| 10 | + href="[% resource('common/zim-table-style.css') %]" > | |
| 11 | 11 | <link rel="stylesheet" |
| 12 | - href="[% resource('common/zim-special.css') %]" > | |
| 12 | + href="[% resource('common/zim-special.css') %]" > | |
| 13 | 13 | <link rel="stylesheet" |
| 14 | - href="[% resource('common/zim-hljs.css') %]" > | |
| 14 | + href="[% resource('common/zim-hljs.css') %]" > | |
| 15 | 15 | |
| 16 | 16 | <style type='text/css'> |
| 17 | - * { font-family: sans-serif } | |
| 17 | + * { font-family: sans-serif } | |
| 18 | 18 | |
| 19 | - a:hover { text-decoration: underline; } | |
| 19 | + a:hover { text-decoration: underline; } | |
| 20 | 20 | |
| 21 | 21 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ |
| 22 | 22 | img { |
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /* Specifique au with index */ |
| 29 | - span.insen { color: grey } | |
| 29 | + span.insen { color: grey } | |
| 30 | 30 | |
| 31 | 31 | .pages { |
| 32 | 32 | /*max-width: 1000px;*/ |
| 33 | 33 | |
| 34 | 34 | |
| ... | ... | @@ -99,18 +99,18 @@ |
| 99 | 99 | color: #4e9a06; |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - </style> | |
| 103 | - | |
| 102 | + </style> | |
| 103 | + | |
| 104 | 104 | <!-- Themes clair : |
| 105 | - atom-one-light.css, vs.css googlecode.css github.css | |
| 106 | - qtcreator_light.css | |
| 107 | - Themes sombres : | |
| 105 | + atom-one-light.css, vs.css googlecode.css github.css | |
| 106 | + qtcreator_light.css | |
| 107 | + Themes sombres : | |
| 108 | 108 | agate.css vs2015.css atom-one-dark.css hybrid.css |
| 109 | 109 | ir-black.css sunburst.css tomorrow-night-bright.css |
| 110 | 110 | qtcreator_dark.css |
| 111 | 111 | Demo live : https://highlightjs.org/static/demo/ --> |
| 112 | - <link rel="stylesheet" | |
| 113 | - href="[% resource('common/hljs/styles/sunburst.css') %]" > | |
| 112 | + <link rel="stylesheet" | |
| 113 | + href="[% resource('common/hljs/styles/sunburst.css') %]" > | |
| 114 | 114 | |
| 115 | 115 | <!-- hljs --> |
| 116 | 116 | <script src="[% resource('common/hljs/highlight.pack.js') %]"></script> |
| 117 | 117 | |
| ... | ... | @@ -127,13 +127,10 @@ |
| 127 | 127 | } else { |
| 128 | 128 | document.getElementById("mySidenav").style.width = "0"; |
| 129 | 129 | /*document.getElementById("main").style.marginLeft = "0";*/ |
| 130 | - document.getElementById("mySidenav").setAttribute("class","menu menuClosed"); | |
| 131 | - | |
| 130 | + document.getElementById("mySidenav").setAttribute("class","menu menuClosed"); | |
| 132 | 131 | } |
| 133 | 132 | } |
| 134 | 133 | </script> |
| 135 | - | |
| 136 | - | |
| 137 | 134 | </head> |
| 138 | 135 | <body> |
| 139 | 136 | |
| 140 | 137 | |
| 141 | 138 | |
| ... | ... | @@ -146,27 +143,27 @@ |
| 146 | 143 | </td> |
| 147 | 144 | <td class='navigation'> |
| 148 | 145 | [% IF navigation.prev %] |
| 149 | - <a href='[% uri(navigation.prev) %]'> | |
| 150 | - <img src="[% resource('common/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
| 151 | - </a> | |
| 146 | + <a href='[% uri(navigation.prev) %]'> | |
| 147 | + <img src="[% resource('common/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
| 148 | + </a> | |
| 152 | 149 | [% ELSE %] |
| 153 | 150 | <img src="[% resource('common/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> |
| 154 | 151 | [% END %] |
| 155 | 152 | </td> |
| 156 | 153 | <td class='navigation'> |
| 157 | 154 | [% IF links.get("index") %] |
| 158 | - <a href='[% uri(links.get("index")) %]'> | |
| 159 | - <img src="[% resource('common/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
| 160 | - </a> | |
| 155 | + <a href='[% uri(links.get("index")) %]'> | |
| 156 | + <img src="[% resource('common/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
| 157 | + </a> | |
| 161 | 158 | [% ELSE %] |
| 162 | 159 | <img src="[% resource('common/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> |
| 163 | 160 | [% END %] |
| 164 | 161 | </td> |
| 165 | 162 | <td class='navigation'> |
| 166 | 163 | [% IF navigation.next %] |
| 167 | - <a href='[% uri(navigation.next) %]'> | |
| 168 | - <img src="[% resource('common/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
| 169 | - </a> | |
| 164 | + <a href='[% uri(navigation.next) %]'> | |
| 165 | + <img src="[% resource('common/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
| 166 | + </a> | |
| 170 | 167 | [% ELSE %] |
| 171 | 168 | <img src="[% resource('common/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> |
| 172 | 169 | [% END %] |
| 173 | 170 | |
| 174 | 171 | |
| 175 | 172 | |
| 176 | 173 | |
| 177 | 174 | |
| 178 | 175 | |
| 179 | 176 | |
| 180 | 177 | |
| 181 | 178 | |
| 182 | 179 | |
| ... | ... | @@ -221,48 +218,48 @@ |
| 221 | 218 | <div id="main" class='pages'> |
| 222 | 219 | <!--[% FOR page IN pages %]--> |
| 223 | 220 | <!-- |
| 224 | - <div class='heading'> | |
| 225 | - <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | |
| 226 | - </div> | |
| 221 | + <div class='heading'> | |
| 222 | + <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | |
| 223 | + </div> | |
| 227 | 224 | --> |
| 228 | - <div class='content'> | |
| 229 | - [% page.body %] | |
| 230 | - </div> | |
| 225 | + <div class='content'> | |
| 226 | + [% page.body %] | |
| 227 | + </div> | |
| 231 | 228 | |
| 232 | - <br /> | |
| 229 | + <br /> | |
| 233 | 230 | |
| 234 | 231 | <div style="padding-bottom:10px;"> |
| 235 | 232 | <hr /> |
| 236 | 233 | </div> |
| 237 | 234 | |
| 238 | - <div class='page-footer'> | |
| 239 | - <!--[% FOR link IN page.backlinks %]--> | |
| 240 | - [% IF loop.first %] | |
| 241 | - <a name="backlinks"></a> | |
| 242 | - <b class="bold-footer">[% gettext("Backlinks:") %]</b> | |
| 243 | - [% END %] | |
| 235 | + <div class='page-footer'> | |
| 236 | + <!--[% FOR link IN page.backlinks %]--> | |
| 237 | + [% IF loop.first %] | |
| 238 | + <a name="backlinks"></a> | |
| 239 | + <b class="bold-footer">[% gettext("Backlinks:") %]</b> | |
| 240 | + [% END %] | |
| 244 | 241 | |
| 245 | - <a href='[% uri(link) %]'>[% link.name %]</a> | |
| 242 | + <a href='[% uri(link) %]'>[% link.name %]</a> | |
| 246 | 243 | |
| 247 | - [% IF loop.last %]<br /><br />[% END %] | |
| 248 | - <!--[% END %]--> | |
| 244 | + [% IF loop.last %]<br /><br />[% END %] | |
| 245 | + <!--[% END %]--> | |
| 249 | 246 | |
| 250 | - <!--[% FOR file IN page.attachments %]--> | |
| 251 | - [% IF loop.first %] | |
| 247 | + <!--[% FOR file IN page.attachments %]--> | |
| 248 | + [% IF loop.first %] | |
| 252 | 249 | <a name="attach"></a> |
| 253 | - <b class="bold-footer">[% gettext("Attachments:") %]</b> | |
| 254 | - <table> | |
| 255 | - [% END %] | |
| 250 | + <b class="bold-footer">[% gettext("Attachments:") %]</b> | |
| 251 | + <table> | |
| 252 | + [% END %] | |
| 256 | 253 | |
| 257 | - <tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td> </td><td>[% file.size %]</td></tr> | |
| 254 | + <tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td> </td><td>[% file.size %]</td></tr> | |
| 258 | 255 | |
| 259 | - [% IF loop.last %] | |
| 260 | - </table> | |
| 261 | - [% END %] | |
| 262 | - <!--[% END %]--> | |
| 263 | - </div> | |
| 256 | + [% IF loop.last %] | |
| 257 | + </table> | |
| 258 | + [% END %] | |
| 259 | + <!--[% END %]--> | |
| 260 | + </div> | |
| 264 | 261 | |
| 265 | - [% IF not loop.last %]<hr />[% END %] | |
| 262 | + [% IF not loop.last %]<hr />[% END %] | |
| 266 | 263 | |
| 267 | 264 | <!--[% END %]--> |
| 268 | 265 | </div> |