Blame view
templates/html/Wize_with_index.html
8.02 KB
a65220bcc
![]() |
1 2 3 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> |
94ef5e415
![]() |
4 5 6 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>[% title %]</title> <meta name='Generator' content='[% generator.name %]'> |
677db2974
![]() |
7 8 |
<link rel="shortcut icon" href="[% resource('common-spec/favicon.ico') %]" > |
8acad7fc6
![]() |
9 |
<link rel="stylesheet" |
f8a4e9c0b
![]() |
10 |
href="[% resource('common-spec/zim-variables.css') %]" > |
1f4a50657
![]() |
11 |
<link rel="stylesheet" |
94ef5e415
![]() |
12 |
href="[% resource('common/zim-style.css') %]" > |
1f4a50657
![]() |
13 |
<link rel="stylesheet" |
94ef5e415
![]() |
14 |
href="[% resource('common/zim-table-style.css') %]" > |
1f4a50657
![]() |
15 |
<link rel="stylesheet" |
94ef5e415
![]() |
16 |
href="[% resource('common/zim-special.css') %]" > |
1f4a50657
![]() |
17 |
<link rel="stylesheet" |
94ef5e415
![]() |
18 |
href="[% resource('common/zim-hljs.css') %]" > |
ac41b5248
![]() |
19 20 |
<link rel="stylesheet" href="[% resource('common-spec/zim-override.css') %]" > |
1f4a50657
![]() |
21 22 |
<style type='text/css'> |
94ef5e415
![]() |
23 |
* { font-family: sans-serif } |
a65220bcc
![]() |
24 |
|
94ef5e415
![]() |
25 |
a:hover { text-decoration: underline; } |
a65220bcc
![]() |
26 27 28 29 30 31 |
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ img { display: block; margin-left: auto; margin-right: auto; |
1f4a50657
![]() |
32 33 34 |
} /* Specifique au with index */ |
94ef5e415
![]() |
35 |
span.insen { color: grey } |
a65220bcc
![]() |
36 |
|
1f4a50657
![]() |
37 |
.pages { |
c0f20deb1
![]() |
38 39 40 41 |
/*max-width: 1000px;*/ /*padding-left: 320px;*/ width: inherit; transition: margin-left .3s; |
fdb370fcc
![]() |
42 43 44 45 |
background: white; padding-left: 10px; padding-right: 10px; padding-bottom: 20px; |
5aacce24d
![]() |
46 |
padding-top: 10px; |
1f4a50657
![]() |
47 |
} |
c0f20deb1
![]() |
48 |
|
1f4a50657
![]() |
49 |
.menu{ |
c0f20deb1
![]() |
50 51 |
/*float:left; */ width: 0; |
3e021ae7f
![]() |
52 |
color:var(--main-header-color); |
c0f20deb1
![]() |
53 54 55 |
overflow-x: hidden; position: absolute; transition:.3s; |
3e021ae7f
![]() |
56 |
background: var(--main-menu-background-color); |
c0f20deb1
![]() |
57 58 |
border-style: solid; border-width: 1px; |
5aacce24d
![]() |
59 |
margin-left:-20px; |
c0f20deb1
![]() |
60 61 62 |
} .menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { |
3e021ae7f
![]() |
63 |
color: var(--main-header-color); |
c0f20deb1
![]() |
64 65 66 67 68 69 70 71 72 73 74 |
} .menuOpen { /*display: block;*/ } .menuClosed { border-style: unset; } .header{ |
fbb8c93dc
![]() |
75 |
max-width: var(--main-page-width); |
c0f20deb1
![]() |
76 77 78 79 80 |
position: fixed; width: 100%; top:0; background:white; z-index: 1; |
1f4a50657
![]() |
81 |
} |
c0f20deb1
![]() |
82 |
|
5aacce24d
![]() |
83 84 85 86 |
hr{ clear:both; border-style: solid; border-width: 1px; |
3e021ae7f
![]() |
87 |
border-color: var(--main-header-color); |
5aacce24d
![]() |
88 |
} |
c0f20deb1
![]() |
89 90 |
body { |
fbb8c93dc
![]() |
91 |
max-width: var(--main-page-width); |
c0f20deb1
![]() |
92 93 94 |
display:block; margin-left:auto; margin-right:auto; |
0aa18fe45
![]() |
95 |
background: var(--main-body-background-color); |
66e16d78f
![]() |
96 97 98 |
background-image: url('[% resource("common-spec/fond.jpg") %]'); background-position: var(--main-body-background-position); background-repeat: var(--main-body-background-repeat); |
c0f20deb1
![]() |
99 |
} |
a65220bcc
![]() |
100 |
|
fdb370fcc
![]() |
101 102 103 |
.intercalaire { background:white; margin-top: 48px; |
5aacce24d
![]() |
104 105 106 107 |
padding: 10px; } .bold-footer { |
3e021ae7f
![]() |
108 |
color: var(--main-header-color); |
fdb370fcc
![]() |
109 110 |
} |
94ef5e415
![]() |
111 |
</style> |
09d20cee4
![]() |
112 |
<!-- Themes clair : |
94ef5e415
![]() |
113 114 115 |
atom-one-light.css, vs.css googlecode.css github.css qtcreator_light.css Themes sombres : |
09d20cee4
![]() |
116 117 118 |
agate.css vs2015.css atom-one-dark.css hybrid.css ir-black.css sunburst.css tomorrow-night-bright.css qtcreator_dark.css |
ed6f5b45b
![]() |
119 |
Demo live : https://highlightjs.org/static/demo/ --> |
94ef5e415
![]() |
120 121 |
<link rel="stylesheet" href="[% resource('common/hljs/styles/sunburst.css') %]" > |
228a863ab
![]() |
122 |
|
ed6f5b45b
![]() |
123 |
<!-- hljs --> |
c0f20deb1
![]() |
124 125 |
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script> |
659c7d608
![]() |
126 127 |
<script src="[% resource('common/wizefunc.js') %]"></script> |
ba586589a
![]() |
128 129 |
<script src="[% resource('common-spec/notice.js') %]"></script> |
a65220bcc
![]() |
130 |
</head> |
f50b33c8f
![]() |
131 |
<body onload="testLogo()"> |
659c7d608
![]() |
132 |
<button onclick="topFunction()" id="upBtn" title="Go to top"></button> |
a65220bcc
![]() |
133 134 |
<!-- Header --> <div class='header'> |
c0f20deb1
![]() |
135 |
<table class='navigation' style="float:left"> |
a349cce98
![]() |
136 137 |
<tr class='navigation'> <td class='navigation'> |
659c7d608
![]() |
138 |
<span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(0)">☰</span> |
c0f20deb1
![]() |
139 140 |
</td> <td class='navigation'> |
a65220bcc
![]() |
141 |
[% IF navigation.prev %] |
94ef5e415
![]() |
142 |
<a href='[% uri(navigation.prev) %]'> |
f8a4e9c0b
![]() |
143 |
<img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> |
94ef5e415
![]() |
144 |
</a> |
a65220bcc
![]() |
145 |
[% ELSE %] |
f8a4e9c0b
![]() |
146 |
<img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> |
a65220bcc
![]() |
147 |
[% END %] |
a349cce98
![]() |
148 149 |
</td> <td class='navigation'> |
a65220bcc
![]() |
150 |
[% IF links.get("index") %] |
94ef5e415
![]() |
151 |
<a href='[% uri(links.get("index")) %]'> |
f8a4e9c0b
![]() |
152 |
<img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> |
94ef5e415
![]() |
153 |
</a> |
a65220bcc
![]() |
154 |
[% ELSE %] |
f8a4e9c0b
![]() |
155 |
<img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> |
a65220bcc
![]() |
156 |
[% END %] |
a349cce98
![]() |
157 158 |
</td> <td class='navigation'> |
a65220bcc
![]() |
159 |
[% IF navigation.next %] |
94ef5e415
![]() |
160 |
<a href='[% uri(navigation.next) %]'> |
f8a4e9c0b
![]() |
161 |
<img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> |
94ef5e415
![]() |
162 |
</a> |
a65220bcc
![]() |
163 |
[% ELSE %] |
f8a4e9c0b
![]() |
164 |
<img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> |
a65220bcc
![]() |
165 |
[% END %] |
a349cce98
![]() |
166 167 168 |
</td> </tr> </table> |
c0f20deb1
![]() |
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
<span> [% FOR page IN pages %] <a name='[% anchor(page) %]'></a> <h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> [% page.title %]</h1> [% END %] </span> <table class='navigation' style="float:right;margin-right:10px;"> <tr class='navigation'> <td class='navigation'> [% FOR page IN pages %] [% FOR link IN page.backlinks %] [% IF loop.first %]<a href="#backlinks"> |
f8a4e9c0b
![]() |
184 |
<img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> |
c0f20deb1
![]() |
185 186 187 188 189 190 191 192 |
</a>[% END %] [% END %] [% END %] </td> <td class='navigation'> [% FOR page IN pages %] [% FOR file IN page.attachments %] [% IF loop.first %]<a href="#attach"> |
f8a4e9c0b
![]() |
193 |
<img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> |
c0f20deb1
![]() |
194 195 196 197 198 199 |
</a>[% END %] [% END %] [% END %] </td> </tr> </table> |
a65220bcc
![]() |
200 |
</div> |
fdb370fcc
![]() |
201 202 203 |
<div class="intercalaire"> <hr /> </div> |
a65220bcc
![]() |
204 |
|
f50b33c8f
![]() |
205 206 |
<div id="logoDivId" style="float:right"> <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> |
05e558785
![]() |
207 |
</div> |
c0f20deb1
![]() |
208 |
<div id="mySidenav" class="menu menuClosed"> |
a65220bcc
![]() |
209 210 211 212 213 214 |
[% index() %] </div> [% options.empty_lines = "default" %] <!-- Wiki content --> |
c0f20deb1
![]() |
215 |
<div id="main" class='pages'> |
a65220bcc
![]() |
216 |
<!--[% FOR page IN pages %]--> |
c0f20deb1
![]() |
217 |
<!-- |
94ef5e415
![]() |
218 219 220 |
<div class='heading'> <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> </div> |
c0f20deb1
![]() |
221 |
--> |
94ef5e415
![]() |
222 223 224 |
<div class='content'> [% page.body %] </div> |
a65220bcc
![]() |
225 |
|
94ef5e415
![]() |
226 |
<br /> |
5aacce24d
![]() |
227 228 229 230 |
<div style="padding-bottom:10px;"> <hr /> </div> |
a65220bcc
![]() |
231 |
|
94ef5e415
![]() |
232 233 234 235 236 237 |
<div class='page-footer'> <!--[% FOR link IN page.backlinks %]--> [% IF loop.first %] <a name="backlinks"></a> <b class="bold-footer">[% gettext("Backlinks:") %]</b> [% END %] |
a65220bcc
![]() |
238 |
|
94ef5e415
![]() |
239 |
<a href='[% uri(link) %]'>[% link.name %]</a> |
a65220bcc
![]() |
240 |
|
94ef5e415
![]() |
241 242 |
[% IF loop.last %]<br /><br />[% END %] <!--[% END %]--> |
a65220bcc
![]() |
243 |
|
94ef5e415
![]() |
244 245 |
<!--[% FOR file IN page.attachments %]--> [% IF loop.first %] |
c0f20deb1
![]() |
246 |
<a name="attach"></a> |
94ef5e415
![]() |
247 248 249 |
<b class="bold-footer">[% gettext("Attachments:") %]</b> <table> [% END %] |
a65220bcc
![]() |
250 |
|
94ef5e415
![]() |
251 |
<tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td> </td><td>[% file.size %]</td></tr> |
a65220bcc
![]() |
252 |
|
94ef5e415
![]() |
253 254 255 256 |
[% IF loop.last %] </table> [% END %] <!--[% END %]--> |
ba586589a
![]() |
257 258 |
<div id="foot-notice" class="notice"></div> |
94ef5e415
![]() |
259 |
</div> |
a65220bcc
![]() |
260 |
|
94ef5e415
![]() |
261 |
[% IF not loop.last %]<hr />[% END %] |
a65220bcc
![]() |
262 263 264 |
<!--[% END %]--> </div> |
591fa1f2a
![]() |
265 |
<script src="[% resource('common/go-hljs.js') %]"></script> |
ba586589a
![]() |
266 |
<script>printNotice()</script> |
659c7d608
![]() |
267 268 269 270 271 272 273 |
<script> /* Get the button */ var upButton = document.getElementById("upBtn"); /* When the user scrolls call our scrollFunction */ window.onscroll = function() {scrollFunction()}; </script> |
ed6f5b45b
![]() |
274 |
|
a65220bcc
![]() |
275 276 277 |
</body> </html> |