Blame view

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