Blame view

templates/html/Wize_with_index_sod.html 8.18 KB
63ddb1e18   William Daniau   Ajout d'un templa...
1
2
3
4
5
6
7
  <!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 %]'>
      <link rel="stylesheet"
f8a4e9c0b   William Daniau   Utilisation du no...
8
          href="[% resource('common-spec/zim-variables.css') %]" >
63ddb1e18   William Daniau   Ajout d'un templa...
9
10
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
102
103
104
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
153
154
155
156
157
158
159
160
      <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);
          }
  
          .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>
  </head>
  <body>
  
  <!-- 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...
161
      <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
162
163
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
164
      <img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
165
166
167
168
169
  [% END %]
  </td>
  <td class='navigation'>
  [% IF links.get("index") %]
      <a href='[% uri(links.get("index")) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
170
      <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
171
172
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
173
      <img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
174
175
176
177
178
  [% END %]
  </td>
  <td class='navigation'>
  [% IF navigation.next %]
      <a href='[% uri(navigation.next) %]'>
f8a4e9c0b   William Daniau   Utilisation du no...
179
      <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
180
181
      </a>
  [% ELSE %]
f8a4e9c0b   William Daniau   Utilisation du no...
182
      <img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
63ddb1e18   William Daniau   Ajout d'un templa...
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
  [% 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...
202
  <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
203
204
205
206
207
208
209
210
  </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...
211
  <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'>
63ddb1e18   William Daniau   Ajout d'un templa...
212
213
214
215
216
217
218
219
220
221
222
  </a>[% END %]
  [% END %]
  [% END %]
  </td>
  </tr>
  </table>
  </div>
  
  <div class="intercalaire">
  <hr />
  </div>
05e558785   William Daniau   Ajout de l'affich...
223
  <div style="float:right">
f8a4e9c0b   William Daniau   Utilisation du no...
224
  <img src='[% resource("common-spec/logo.png") %]' alt=' '>
05e558785   William Daniau   Ajout de l'affich...
225
  </div>
63ddb1e18   William Daniau   Ajout d'un templa...
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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
  <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 %]-->
      </div>
  
      [% IF not loop.last %]<hr />[% END %]
  
  <!--[% END %]-->
  </div>
  </div>
  
  <script src="[% resource('common/go-hljs.js') %]"></script>
  
  </body>
  
  </html>