Blame view

templates/html/Default.html 10.5 KB
a65220bcc   William Daniau   Jeu de templates zim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <!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 %]'>
  	<style type='text/css'>
  	    *          { font-family: sans-serif }
  		a          { text-decoration: none;
                       color: blue;}
          a:link     { text-decoration: none;
                       color: blue;}
  		a:hover    { text-decoration: underline;
                       color: blue;}
  		a:active   { text-decoration: none;
                       color: blue;}
  		a:visited  { text-decoration: none;
                       color: blue;}
  		strike     { color: grey                }
  		u          { text-decoration: underline;
  					 background-color: white   }
  		tt         { color: darkmagenta;
                       font-family: monospace;
                       font-size: large}
  		pre        { color: darkmagenta;
  					 margin-left: 20px;
20be481ed   William Daniau   Changement des ma...
27
28
29
  					 margin-right: 5px;
  					 margin-bottom: 5px;
  					 margin-top: 5px;
a65220bcc   William Daniau   Jeu de templates zim
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
  					 font-family: monospace; 
  					 font-size: large}
          code       { font-size: large; font-family: monospace; color: saddlebrown}
  		h1         { text-decoration: underline;
  					 color: #4e9a06; margin-bottom: 0; margin-top: 1em; }
  		h2         { color: #4e9a06; margin-bottom: 0; margin-left: 20px; margin-top: 1em;}
  		h3         { color: #4e9a06; margin-bottom: 0; margin-left: 40px;  margin-top: 1em; font-style: italic; }
  		h4         { color: #4e9a06; margin-bottom: 0; margin-left: 60px; margin-top: 1em;}
  		h5         { color: #4e9a06; margin-bottom: 0; margin-left: 80px; margin-top: 1em;}
  		p          { margin-top: 0              }
  		
          table {            
              border-collapse: collapse;
              width: 100%;
          }
  
          td,th  {
              border: 1px solid #ddd;
              padding: 4px;
          }
                  
  
          tr:nth-child(even){background-color: #f2f2f2;}
  
          tr:hover {background-color: #ddd;}
  
          th {
              padding-top: 6px;
              padding-bottom: 6px;            
              /*background-color: #4CAF50;*/
              /*background-color: #3a853c;*/
              /*background-color: #85733a;*/
              /*background-color: #3a7685;*/
              /*background-color: #295e2a;*/
              /*color: white;*/  
              
              /*background-color: #d1e1c1;*/
              background-color: #bbb;
              color: black;
                
          }
          
          /* Centre les images mais elles sont coupées aux sauts de page à l'impression */
          img {            
              display: block;
              margin-left: auto;
              margin-right: auto;
          }                
  
  		
  		
  		span.zim-tag {
  			color: #ce5c00;
  		}
  		div.zim-object {
  			border-style:solid;
  			border-width:1px;
  		}
  		.checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxMTJipqSmUUhhjEGKd3bMT4ks/Y6oLBK2Yth8hHYtCJXOix7Nf7xLMzc0xOzvLzp078TyPNE3viW3QJPXzhNWbxFFKHCmMhoLn/FHodd48vGfhapdAacXQlkFK5dL6wIUm6fuTZ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rPf7CSgKNpCamkI/fZr8pUuIZBIcpyaBunahPp1mub+fDyMjGKUSChCsq6Nh717q9u2jbnSU0uAgRrFIwTThyhUCqRS+hgZKLS1fJvDm87SNjZGcnsYUAjcQ8vsJ9/Xh7u1FDgRQN20iks3iDA+zZFmYhQLqzZtsj8WY3L0baY2Sf55ICCKpFHUzM2SEQAJCHg+hY8fQDh5EDgRWDoRC1J88SePRo2geD0XAcBy8b98Sv3ePYDZbbf2rFQjLIphMsmDbaEBQVQkePox26BCSz7e6i4bDrDt+nGYhmBscpFAskheC4Js3bPR4qHphFYEnlcI7P4/jdqNpGu8TCe4oCsXr1z//F2ga3+/cSfTJE0qmSVYIsKzaOZDcbjKyzFIiwfvt21kMBLA07YsetzWNd+3tLLW0sH5igvT8PH9Go/z44kX+E4LGjg7GDYOcy4XlOEgLC//5P/5LCFzxOPLmzWyIx+m6fduu7v0NVGqyTSycKksAAAAASUVORK5CYII=)}
  		.unchecked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8qAt8h3m8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA60lEQVRIx+2VsQqDMBRF70sCLg5OLoKgjk7+lJ/hh+STXBwcnRz8ArMEkrxOFktbaC3tULzTg5e8k5vADXDq70VbobXmvu/hvQczg4heHrJfXxQFuq67blZbMc8zpmlCXddIkgTOuZcBUko45zCOI6y1Nz2xFSEEZFmGOI7fGg4A3nsQEZqmuXOu9jallACAtm3fvmutNaIoAjM/dkBECCF89KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  		.migrated-box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ICLqu2/qBEIKUUAohMaSHSLyBSMoPTINQ6CX5+fn2AEVFRZSUlBCPx4nFYhl3L4RESjF/GEgX3pSj+Xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  		ul {list-style-image: none}
  		/* ul rule needed to reset style for sub-bullets */
  	</style>
ed6f5b45b   William Daniau   Ajout de la color...
95
96
97
98
99
100
101
102
103
104
105
106
107
  	
      <!-- Themes clair :
  	atom-one-light.css, vs.css
  	     Themes sombres :
      agate.css, vs2015.css, atom-one-dark.css 
      Demo live : https://highlightjs.org/static/demo/ -->
  	<link rel="stylesheet"
        href="[% resource('styles/atom-one-light.css') %]" >
      <!-- Pour redefinir la police à monospace dans hljs -->
      <link rel="stylesheet"
        href="[% resource('hljs-zim.css') %]" >  
      <!-- hljs -->
      <script src="[% resource('highlight.pack.js') %]"></script>   
a65220bcc   William Daniau   Jeu de templates zim
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
  </head>
  <body>
  
  [% options.empty_lines = "default" %]
  
  <!-- Header -->
  <div class='header'>
  [% IF navigation.prev %]
  	[ <a href='[% uri(navigation.prev) %]'>[% gettext("Prev") %]</a> ]
  [% ELSE %]
  	[ <span class='insen'>[% gettext("Prev") %]</span> ]
  [% END %]
  
  [% IF links.get("index") %]
  	[ <a href='[% uri(links.get("index")) %]'>[% gettext("Index") %]</a> ]
  [% ELSE %]
  	[ <span class='insen'>[% gettext("Index") %]</span> ]
  [% END %]
  
  [% IF navigation.next %]
  	[ <a href='[% uri(navigation.next) %]'>[% gettext("Next") %]</a> ]
  [% ELSE %]
  	[ <span class='insen'>[% gettext("Next") %]</span> ]
  [% END %]
  </div>
  
  <hr />
  
  <!-- Wiki content -->
  
  <div 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 class='page-footer'>
  	<!--[% FOR link IN page.backlinks %]-->
  		[% IF loop.first %]<b>[% 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 %]
  			<b>[% 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>
ed6f5b45b   William Daniau   Ajout de la color...
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
  <script>
      /* on remplace octave par plaintext ou nohighlight ou matlab */
      var elements = document.getElementsByTagName("code");
      for (var i=0; i<elements.length; i++) {
          var el = elements[i]; 
          var cl = el.getAttribute("class");
          if (cl == "octave") {
              el.setAttribute( "class","matlab");
          }        
      }
      
      /* Si on utilise la fonction suivante, c'est execute avant le bout de code ci-dessus */
      /*hljs.initHighlightingOnLoad();*/
      document.querySelectorAll('pre code').forEach((block) => {
      hljs.highlightBlock(block);
    });
  </script>
a65220bcc   William Daniau   Jeu de templates zim
194
195
196
  </body>
  
  </html>