Blame view

templates/html/Wize_with_index_sod.html 8.23 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
          }
  
          .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...
121
          
63ddb1e18   William Daniau   Ajout d'un templa...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
      </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...
138
      <script src="[% resource('common/wizefunc.js') %]"></script>
ba586589a   William Daniau   Utilisation de la...
139
140
141
      
      <script src="[% resource('common-spec/notice.js') %]"></script>
      
63ddb1e18   William Daniau   Ajout d'un templa...
142
  </head>
f50b33c8f   William Daniau   Ajout d'une fonct...
143
  <body onload="testLogo()">
659c7d608   William Daniau   On regroupe les f...
144
  <button onclick="topFunction()" id="upBtn" title="Go to top"></button>
63ddb1e18   William Daniau   Ajout d'un templa...
145
146
147
148
149
  <!-- Header -->
  <div class='header'>
  <table class='navigation' style="float:left">
  <tr class='navigation'>
  <td class='navigation'>
659c7d608   William Daniau   On regroupe les f...
150
  <span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(1)">&#9776;</span>
63ddb1e18   William Daniau   Ajout d'un templa...
151
152
153
154
  </td>
  <td class='navigation'>
  [% IF navigation.prev %]
      <a href='[% uri(navigation.prev) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
155
      <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
156
157
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
158
      <img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
159
160
161
162
163
  [% END %]
  </td>
  <td class='navigation'>
  [% IF links.get("index") %]
      <a href='[% uri(links.get("index")) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
164
      <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
165
166
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
167
      <img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
168
169
170
171
172
  [% END %]
  </td>
  <td class='navigation'>
  [% IF navigation.next %]
      <a href='[% uri(navigation.next) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
173
      <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
174
175
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
176
      <img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
  [% 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...
196
  <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
197
198
199
200
201
202
203
204
  </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...
205
  <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
206
207
208
209
210
211
212
213
214
215
216
  </a>[% END %]
  [% END %]
  [% END %]
  </td>
  </tr>
  </table>
  </div>
  
  <div class="intercalaire">
  <hr />
  </div>
f50b33c8f   William Daniau   Ajout d'une fonct...
217
218
  <div id="logoDivId" style="float:right">
  <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '>
05e558785   William Daniau   Ajout de l'affich...
219
  </div>
63ddb1e18   William Daniau   Ajout d'un templa...
220
221
222
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
  <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...
272
273
      
          <div id="foot-notice" class="notice"></div>        
63ddb1e18   William Daniau   Ajout d'un templa...
274
275
276
277
278
279
280
281
282
      </div>
  
      [% IF not loop.last %]<hr />[% END %]
  
  <!--[% END %]-->
  </div>
  </div>
  
  <script src="[% resource('common/go-hljs.js') %]"></script>
ba586589a   William Daniau   Utilisation de la...
283
  <script>printNotice()</script>
659c7d608   William Daniau   On regroupe les f...
284
285
286
287
288
289
290
  <script>
  /* 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...
291
292
293
294
  
  </body>
  
  </html>