Blame view

templates/html/Wize_with_index_sod.html 8.42 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
      <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') %]" >
ac41b5248   William Daniau   Utilisation de fi...
19
20
      <link rel="stylesheet"
          href="[% resource('common-spec/zim-override.css') %]" >
63ddb1e18   William Daniau   Ajout d'un templa...
21
22
23
24
25
26
        
      <style type='text/css'>
      
          /* Comme on a le menu sur le côté   */
          /* On augmente la taille de la page */
          :root {
a6614bd01   William Daniau   Changement de nom...
27
              --main-page-width: var(--main-page-width-sod);
63ddb1e18   William Daniau   Ajout d'un templa...
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
          }
      
          *           { 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;
eb1becac4   William Daniau   Ajout d'une taill...
89
              min-height:48px;
63ddb1e18   William Daniau   Ajout d'un templa...
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
          }
          
          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...
105
106
107
              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...
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
          }
  
          .intercalaire {
              background:white;
              margin-top: 48px;
              padding: 10px;
          }
          
          .bold-footer {
              color: var(--main-header-color);
          }
          
          .zemaster {
              background: white;
          }
          
659c7d608   William Daniau   On regroupe les f...
124
          
63ddb1e18   William Daniau   Ajout d'un templa...
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
      </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>
      
659c7d608   William Daniau   On regroupe les f...
141
      <script src="[% resource('common/wizefunc.js') %]"></script>
ba586589a   William Daniau   Utilisation de la...
142
143
144
      
      <script src="[% resource('common-spec/notice.js') %]"></script>
      
63ddb1e18   William Daniau   Ajout d'un templa...
145
  </head>
f50b33c8f   William Daniau   Ajout d'une fonct...
146
  <body onload="testLogo()">
659c7d608   William Daniau   On regroupe les f...
147
  <button onclick="topFunction()" id="upBtn" title="Go to top"></button>
63ddb1e18   William Daniau   Ajout d'un templa...
148
149
150
151
152
  <!-- Header -->
  <div class='header'>
  <table class='navigation' style="float:left">
  <tr class='navigation'>
  <td class='navigation'>
659c7d608   William Daniau   On regroupe les f...
153
  <span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(1)">&#9776;</span>
63ddb1e18   William Daniau   Ajout d'un templa...
154
155
156
157
  </td>
  <td class='navigation'>
  [% IF navigation.prev %]
      <a href='[% uri(navigation.prev) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
158
      <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
159
160
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
161
      <img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
162
163
164
165
166
  [% END %]
  </td>
  <td class='navigation'>
  [% IF links.get("index") %]
      <a href='[% uri(links.get("index")) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
167
      <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
168
169
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
170
      <img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
171
172
173
174
175
  [% END %]
  </td>
  <td class='navigation'>
  [% IF navigation.next %]
      <a href='[% uri(navigation.next) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
176
      <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
177
178
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
179
      <img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
  [% 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...
199
  <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
200
201
202
203
204
205
206
207
  </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...
208
  <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
209
210
211
212
213
214
215
216
217
218
219
  </a>[% END %]
  [% END %]
  [% END %]
  </td>
  </tr>
  </table>
  </div>
  
  <div class="intercalaire">
  <hr />
  </div>
f50b33c8f   William Daniau   Ajout d'une fonct...
220
221
  <div id="logoDivId" style="float:right">
  <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '>
05e558785   William Daniau   Ajout de l'affich...
222
  </div>
63ddb1e18   William Daniau   Ajout d'un templa...
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
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
  <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...
275
276
      
          <div id="foot-notice" class="notice"></div>        
63ddb1e18   William Daniau   Ajout d'un templa...
277
278
279
280
281
282
283
284
285
      </div>
  
      [% IF not loop.last %]<hr />[% END %]
  
  <!--[% END %]-->
  </div>
  </div>
  
  <script src="[% resource('common/go-hljs.js') %]"></script>
ba586589a   William Daniau   Utilisation de la...
286
  <script>printNotice()</script>
659c7d608   William Daniau   On regroupe les f...
287
  <script>
ae1da5d24   William Daniau   On permet l'utili...
288
289
290
291
  tagToInfo();
  tagToStyle();
  </script>
  <script>
659c7d608   William Daniau   On regroupe les f...
292
293
294
295
296
297
  /* Get the button */
  var upButton = document.getElementById("upBtn");
  
  /* When the user scrolls call our scrollFunction */
  window.onscroll = function() {scrollFunction()};
  </script>
63ddb1e18   William Daniau   Ajout d'un templa...
298
299
300
301
  
  </body>
  
  </html>