Commit ac41b5248006c4a22791d7f7c16a249a8da81e70
1 parent
f6d608abd8
Exists in
master
Utilisation de fichiers css dans les common-spec pour redéfinir
certaines portions.
Showing 4 changed files with 11 additions and 1 deletions Inline Diff
templates/html/Wize.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | 2 | 2 | <html> | |
<head> | 3 | 3 | <head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>[% title %]</title> | 5 | 5 | <title>[% title %]</title> | |
<meta name='Generator' content='[% generator.name %]'> | 6 | 6 | <meta name='Generator' content='[% generator.name %]'> | |
<link rel="shortcut icon" | 7 | 7 | <link rel="shortcut icon" | |
href="[% resource('common-spec/favicon.ico') %]" > | 8 | 8 | href="[% resource('common-spec/favicon.ico') %]" > | |
<link rel="stylesheet" | 9 | 9 | <link rel="stylesheet" | |
href="[% resource('common-spec/zim-variables.css') %]" > | 10 | 10 | href="[% resource('common-spec/zim-variables.css') %]" > | |
<link rel="stylesheet" | 11 | 11 | <link rel="stylesheet" | |
href="[% resource('common/zim-style.css') %]" > | 12 | 12 | href="[% resource('common/zim-style.css') %]" > | |
<link rel="stylesheet" | 13 | 13 | <link rel="stylesheet" | |
href="[% resource('common/zim-table-style.css') %]" > | 14 | 14 | href="[% resource('common/zim-table-style.css') %]" > | |
<link rel="stylesheet" | 15 | 15 | <link rel="stylesheet" | |
href="[% resource('common/zim-special.css') %]" > | 16 | 16 | href="[% resource('common/zim-special.css') %]" > | |
<link rel="stylesheet" | 17 | 17 | <link rel="stylesheet" | |
href="[% resource('common/zim-hljs.css') %]" > | 18 | 18 | href="[% resource('common/zim-hljs.css') %]" > | |
19 | <link rel="stylesheet" | |||
20 | href="[% resource('common-spec/zim-override.css') %]" > | |||
21 | ||||
19 | 22 | |||
<style type='text/css'> | 20 | 23 | <style type='text/css'> | |
* { font-family: sans-serif } | 21 | 24 | * { font-family: sans-serif } | |
22 | 25 | |||
a:hover { text-decoration: underline; } | 23 | 26 | a:hover { text-decoration: underline; } | |
24 | 27 | |||
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | 25 | 28 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | |
img { | 26 | 29 | img { | |
display: block; | 27 | 30 | display: block; | |
margin-left: auto; | 28 | 31 | margin-left: auto; | |
margin-right: auto; | 29 | 32 | margin-right: auto; | |
} | 30 | 33 | } | |
31 | 34 | |||
.pages { | 32 | 35 | .pages { | |
/*max-width: 1000px;*/ | 33 | 36 | /*max-width: 1000px;*/ | |
/*padding-left: 320px;*/ | 34 | 37 | /*padding-left: 320px;*/ | |
width: inherit; | 35 | 38 | width: inherit; | |
transition: margin-left .3s; | 36 | 39 | transition: margin-left .3s; | |
background: white; | 37 | 40 | background: white; | |
padding-left: 10px; | 38 | 41 | padding-left: 10px; | |
padding-right: 10px; | 39 | 42 | padding-right: 10px; | |
padding-bottom: 20px; | 40 | 43 | padding-bottom: 20px; | |
padding-top: 10px; | 41 | 44 | padding-top: 10px; | |
} | 42 | 45 | } | |
43 | 46 | |||
.header{ | 44 | 47 | .header{ | |
max-width: var(--main-page-width); | 45 | 48 | max-width: var(--main-page-width); | |
position: fixed; | 46 | 49 | position: fixed; | |
width: 100%; | 47 | 50 | width: 100%; | |
top:0; | 48 | 51 | top:0; | |
background:white; | 49 | 52 | background:white; | |
z-index: 1; | 50 | 53 | z-index: 1; | |
} | 51 | 54 | } | |
52 | 55 | |||
hr{ | 53 | 56 | hr{ | |
clear:both; | 54 | 57 | clear:both; | |
border-style: solid; | 55 | 58 | border-style: solid; | |
border-width: 1px; | 56 | 59 | border-width: 1px; | |
border-color: var(--main-header-color); | 57 | 60 | border-color: var(--main-header-color); | |
} | 58 | 61 | } | |
59 | 62 | |||
body { | 60 | 63 | body { | |
max-width: var(--main-page-width); | 61 | 64 | max-width: var(--main-page-width); | |
display:block; | 62 | 65 | display:block; | |
margin-left:auto; | 63 | 66 | margin-left:auto; | |
margin-right:auto; | 64 | 67 | margin-right:auto; | |
background: var(--main-body-background-color); | 65 | 68 | background: var(--main-body-background-color); | |
background-image: url('[% resource("common-spec/fond.jpg") %]'); | 66 | 69 | background-image: url('[% resource("common-spec/fond.jpg") %]'); | |
background-position: var(--main-body-background-position); | 67 | 70 | background-position: var(--main-body-background-position); | |
background-repeat: var(--main-body-background-repeat); | 68 | 71 | background-repeat: var(--main-body-background-repeat); | |
} | 69 | 72 | } | |
70 | 73 | |||
.intercalaire { | 71 | 74 | .intercalaire { | |
background:white; | 72 | 75 | background:white; | |
margin-top: 48px; | 73 | 76 | margin-top: 48px; | |
padding: 10px; | 74 | 77 | padding: 10px; | |
} | 75 | 78 | } | |
76 | 79 | |||
.bold-footer { | 77 | 80 | .bold-footer { | |
color: var(--main-header-color); | 78 | 81 | color: var(--main-header-color); | |
} | 79 | 82 | } | |
80 | 83 | |||
</style> | 81 | 84 | </style> | |
82 | 85 | |||
<!-- Themes clair : | 83 | 86 | <!-- Themes clair : | |
atom-one-light.css, vs.css googlecode.css github.css | 84 | 87 | atom-one-light.css, vs.css googlecode.css github.css | |
qtcreator_light.css | 85 | 88 | qtcreator_light.css | |
Themes sombres : | 86 | 89 | Themes sombres : | |
agate.css vs2015.css atom-one-dark.css hybrid.css | 87 | 90 | agate.css vs2015.css atom-one-dark.css hybrid.css | |
ir-black.css sunburst.css tomorrow-night-bright.css | 88 | 91 | ir-black.css sunburst.css tomorrow-night-bright.css | |
qtcreator_dark.css | 89 | 92 | qtcreator_dark.css | |
Demo live : https://highlightjs.org/static/demo/ --> | 90 | 93 | Demo live : https://highlightjs.org/static/demo/ --> | |
<link rel="stylesheet" | 91 | 94 | <link rel="stylesheet" | |
href="[% resource('common/hljs/styles/sunburst.css') %]" > | 92 | 95 | href="[% resource('common/hljs/styles/sunburst.css') %]" > | |
93 | 96 | |||
<!-- hljs --> | 94 | 97 | <!-- hljs --> | |
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | 95 | 98 | <script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | |
96 | 99 | |||
<script src="[% resource('common/wizefunc.js') %]"></script> | 97 | 100 | <script src="[% resource('common/wizefunc.js') %]"></script> | |
98 | 101 | |||
<script src="[% resource('common-spec/notice.js') %]"></script> | 99 | 102 | <script src="[% resource('common-spec/notice.js') %]"></script> | |
100 | 103 | |||
</head> | 101 | 104 | </head> | |
<body onload="testLogo()"> | 102 | 105 | <body onload="testLogo()"> | |
<button onclick="topFunction()" id="upBtn" title="Go to top"></button> | 103 | 106 | <button onclick="topFunction()" id="upBtn" title="Go to top"></button> | |
[% options.empty_lines = "default" %] | 104 | 107 | [% options.empty_lines = "default" %] | |
105 | 108 | |||
<div class='header'> | 106 | 109 | <div class='header'> | |
<table class='navigation' style="float:left"> | 107 | 110 | <table class='navigation' style="float:left"> | |
<tr class='navigation'> | 108 | 111 | <tr class='navigation'> | |
<td class='navigation'> | 109 | 112 | <td class='navigation'> | |
[% IF navigation.prev %] | 110 | 113 | [% IF navigation.prev %] | |
<a href='[% uri(navigation.prev) %]'> | 111 | 114 | <a href='[% uri(navigation.prev) %]'> | |
<img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 112 | 115 | <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
</a> | 113 | 116 | </a> | |
[% ELSE %] | 114 | 117 | [% ELSE %] | |
<!-- | 115 | 118 | <!-- | |
<img src="[% resource('common/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 116 | 119 | <img src="[% resource('common/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
--> | 117 | 120 | --> | |
[% END %] | 118 | 121 | [% END %] | |
</td> | 119 | 122 | </td> | |
<td class='navigation'> | 120 | 123 | <td class='navigation'> | |
[% IF links.get("index") %] | 121 | 124 | [% IF links.get("index") %] | |
<a href='[% uri(links.get("index")) %]'> | 122 | 125 | <a href='[% uri(links.get("index")) %]'> | |
<img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 123 | 126 | <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
</a> | 124 | 127 | </a> | |
[% ELSE %] | 125 | 128 | [% ELSE %] | |
<!-- | 126 | 129 | <!-- | |
<img src="[% resource('common/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 127 | 130 | <img src="[% resource('common/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
--> | 128 | 131 | --> | |
[% END %] | 129 | 132 | [% END %] | |
</td> | 130 | 133 | </td> | |
<td class='navigation'> | 131 | 134 | <td class='navigation'> | |
[% IF navigation.next %] | 132 | 135 | [% IF navigation.next %] | |
<a href='[% uri(navigation.next) %]'> | 133 | 136 | <a href='[% uri(navigation.next) %]'> | |
<img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 134 | 137 | <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
</a> | 135 | 138 | </a> | |
[% ELSE %] | 136 | 139 | [% ELSE %] | |
<!-- | 137 | 140 | <!-- | |
<img src="[% resource('common/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 138 | 141 | <img src="[% resource('common/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
--> | 139 | 142 | --> | |
[% END %] | 140 | 143 | [% END %] | |
</td> | 141 | 144 | </td> | |
</tr> | 142 | 145 | </tr> | |
</table> | 143 | 146 | </table> | |
144 | 147 | |||
<span> | 145 | 148 | <span> | |
[% FOR page IN pages %] | 146 | 149 | [% FOR page IN pages %] | |
<a name='[% anchor(page) %]'></a> | 147 | 150 | <a name='[% anchor(page) %]'></a> | |
<h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | 148 | 151 | <h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | |
[% page.title %]</h1> | 149 | 152 | [% page.title %]</h1> | |
[% END %] | 150 | 153 | [% END %] | |
</span> | 151 | 154 | </span> | |
152 | 155 | |||
<table class='navigation' style="float:right;margin-right:10px;"> | 153 | 156 | <table class='navigation' style="float:right;margin-right:10px;"> | |
<tr class='navigation'> | 154 | 157 | <tr class='navigation'> | |
<td class='navigation'> | 155 | 158 | <td class='navigation'> | |
[% FOR page IN pages %] | 156 | 159 | [% FOR page IN pages %] | |
[% FOR link IN page.backlinks %] | 157 | 160 | [% FOR link IN page.backlinks %] | |
[% IF loop.first %]<a href="#backlinks"> | 158 | 161 | [% IF loop.first %]<a href="#backlinks"> | |
<img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | 159 | 162 | <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | |
</a>[% END %] | 160 | 163 | </a>[% END %] | |
[% END %] | 161 | 164 | [% END %] | |
[% END %] | 162 | 165 | [% END %] | |
</td> | 163 | 166 | </td> | |
<td class='navigation'> | 164 | 167 | <td class='navigation'> | |
[% FOR page IN pages %] | 165 | 168 | [% FOR page IN pages %] | |
[% FOR file IN page.attachments %] | 166 | 169 | [% FOR file IN page.attachments %] | |
[% IF loop.first %]<a href="#attach"> | 167 | 170 | [% IF loop.first %]<a href="#attach"> | |
<img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | 168 | 171 | <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | |
</a>[% END %] | 169 | 172 | </a>[% END %] | |
[% END %] | 170 | 173 | [% END %] | |
[% END %] | 171 | 174 | [% END %] | |
</td> | 172 | 175 | </td> | |
</tr> | 173 | 176 | </tr> | |
</table> | 174 | 177 | </table> | |
</div> | 175 | 178 | </div> | |
176 | 179 | |||
<div class="intercalaire"> | 177 | 180 | <div class="intercalaire"> | |
<hr /> | 178 | 181 | <hr /> | |
</div> | 179 | 182 | </div> | |
180 | 183 | |||
<div id="logoDivId" style="float:right"> | 181 | 184 | <div id="logoDivId" style="float:right"> | |
<img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | 182 | 185 | <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | |
</div> | 183 | 186 | </div> | |
184 | 187 | |||
<!-- Wiki content --> | 185 | 188 | <!-- Wiki content --> | |
186 | 189 | |||
<div class='pages'> | 187 | 190 | <div class='pages'> | |
<!--[% FOR page IN pages %]--> | 188 | 191 | <!--[% FOR page IN pages %]--> | |
<!-- | 189 | 192 | <!-- | |
<div class='heading'> | 190 | 193 | <div class='heading'> | |
<h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | 191 | 194 | <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | |
</div> | 192 | 195 | </div> | |
--> | 193 | 196 | --> | |
194 | 197 | |||
<div class='content'> | 195 | 198 | <div class='content'> | |
[% page.body %] | 196 | 199 | [% page.body %] | |
</div> | 197 | 200 | </div> | |
198 | 201 | |||
<br /> | 199 | 202 | <br /> | |
200 | 203 | |||
<div class='page-footer'> | 201 | 204 | <div class='page-footer'> | |
<!--[% FOR link IN page.backlinks %]--> | 202 | 205 | <!--[% FOR link IN page.backlinks %]--> | |
<a name="backlinks"></a> | 203 | 206 | <a name="backlinks"></a> | |
[% IF loop.first %]<b class="bold-footer">[% gettext("Backlinks:") %]</b>[% END %] | 204 | 207 | [% IF loop.first %]<b class="bold-footer">[% gettext("Backlinks:") %]</b>[% END %] | |
205 | 208 | |||
<a href='[% uri(link) %]'>[% link.name %]</a> | 206 | 209 | <a href='[% uri(link) %]'>[% link.name %]</a> | |
207 | 210 | |||
[% IF loop.last %]<br /><br />[% END %] | 208 | 211 | [% IF loop.last %]<br /><br />[% END %] |
templates/html/Wize_Print_Template.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | 2 | 2 | <html> | |
<head> | 3 | 3 | <head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>[% title %]</title> | 5 | 5 | <title>[% title %]</title> | |
<meta name='Generator' content='[% generator.name %]'> | 6 | 6 | <meta name='Generator' content='[% generator.name %]'> | |
<!-- ATTENTION Le template Print ne supporte pas les ressources, | 7 | 7 | <!-- ATTENTION Le template Print ne supporte pas les ressources, | |
Il faut mettre des chemins absolus sur les fichiers :( --> | 8 | 8 | Il faut mettre des chemins absolus sur les fichiers :( --> | |
<link rel="stylesheet" | 9 | 9 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/print-common/zim-variables.css" > | 10 | 10 | href="file:///%%HOME%%/.local/share/zim/templates/html/print-common/zim-variables.css" > | |
<link rel="stylesheet" | 11 | 11 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-style.css" > | 12 | 12 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-style.css" > | |
<link rel="stylesheet" | 13 | 13 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-table-style.css" > | 14 | 14 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-table-style.css" > | |
<link rel="stylesheet" | 15 | 15 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-special.css" > | 16 | 16 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-special.css" > | |
<link rel="stylesheet" | 17 | 17 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-hljs.css" > | 18 | 18 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-hljs.css" > | |
19 | <link rel="stylesheet" | |||
20 | href="file:///%%HOME%%/.local/share/zim/templates/html/common-spec/zim-print-override.css" > | |||
21 | ||||
<style type='text/css'> | 19 | 22 | <style type='text/css'> | |
20 | 23 | |||
* { font-family: serif } | 21 | 24 | * { font-family: serif } | |
22 | 25 | |||
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | 23 | 26 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | |
/*img { | 24 | 27 | /*img { | |
display: block; | 25 | 28 | display: block; | |
margin-left: auto; | 26 | 29 | margin-left: auto; | |
margin-right: auto; | 27 | 30 | margin-right: auto; | |
}*/ | 28 | 31 | }*/ | |
29 | 32 | |||
</style> | 30 | 33 | </style> | |
31 | 34 | |||
<!-- Themes clair : | 32 | 35 | <!-- Themes clair : | |
atom-one-light.css, vs.css | 33 | 36 | atom-one-light.css, vs.css | |
Themes sombres : | 34 | 37 | Themes sombres : | |
agate.css, vs2015.css, atom-one-dark.css | 35 | 38 | agate.css, vs2015.css, atom-one-dark.css | |
Demo live : https://highlightjs.org/static/demo/ --> | 36 | 39 | Demo live : https://highlightjs.org/static/demo/ --> | |
<link rel="stylesheet" | 37 | 40 | <link rel="stylesheet" | |
href="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" > | 38 | 41 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" > | |
39 | 42 | |||
<!-- hljs --> | 40 | 43 | <!-- hljs --> | |
<script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script> | 41 | 44 | <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script> | |
42 | 45 | |||
<script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script> | 43 | 46 | <script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script> | |
44 | 47 | |||
<script> | 45 | 48 | <script> | |
function testLogo() { | 46 | 49 | function testLogo() { | |
logo=document.getElementById("logoImgId"); | 47 | 50 | logo=document.getElementById("logoImgId"); | |
logodiv=document.getElementById("logoDivId"); | 48 | 51 | logodiv=document.getElementById("logoDivId"); | |
if (logo.naturalHeight == 0) { | 49 | 52 | if (logo.naturalHeight == 0) { | |
logodiv.setAttribute("style","display:none;"); | 50 | 53 | logodiv.setAttribute("style","display:none;"); | |
} | 51 | 54 | } | |
} | 52 | 55 | } | |
</script> | 53 | 56 | </script> | |
</head> | 54 | 57 | </head> | |
<body onload="testLogo()"> | 55 | 58 | <body onload="testLogo()"> | |
56 | 59 | |||
[% options.empty_lines = "default" %] | 57 | 60 | [% options.empty_lines = "default" %] | |
58 | 61 | |||
<!-- Wiki content --> | 59 | 62 | <!-- Wiki content --> | |
60 | 63 | |||
<div id="logoDivId" style="float:right"> | 61 | 64 | <div id="logoDivId" style="float:right"> | |
<img id="logoImgId" src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/logo.png" alt=' '> | 62 | 65 | <img id="logoImgId" src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/logo.png" alt=' '> | |
</div> | 63 | 66 | </div> |
templates/html/Wize_with_index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | 2 | 2 | <html> | |
<head> | 3 | 3 | <head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>[% title %]</title> | 5 | 5 | <title>[% title %]</title> | |
<meta name='Generator' content='[% generator.name %]'> | 6 | 6 | <meta name='Generator' content='[% generator.name %]'> | |
<link rel="shortcut icon" | 7 | 7 | <link rel="shortcut icon" | |
href="[% resource('common-spec/favicon.ico') %]" > | 8 | 8 | href="[% resource('common-spec/favicon.ico') %]" > | |
<link rel="stylesheet" | 9 | 9 | <link rel="stylesheet" | |
href="[% resource('common-spec/zim-variables.css') %]" > | 10 | 10 | href="[% resource('common-spec/zim-variables.css') %]" > | |
<link rel="stylesheet" | 11 | 11 | <link rel="stylesheet" | |
href="[% resource('common/zim-style.css') %]" > | 12 | 12 | href="[% resource('common/zim-style.css') %]" > | |
<link rel="stylesheet" | 13 | 13 | <link rel="stylesheet" | |
href="[% resource('common/zim-table-style.css') %]" > | 14 | 14 | href="[% resource('common/zim-table-style.css') %]" > | |
<link rel="stylesheet" | 15 | 15 | <link rel="stylesheet" | |
href="[% resource('common/zim-special.css') %]" > | 16 | 16 | href="[% resource('common/zim-special.css') %]" > | |
<link rel="stylesheet" | 17 | 17 | <link rel="stylesheet" | |
href="[% resource('common/zim-hljs.css') %]" > | 18 | 18 | href="[% resource('common/zim-hljs.css') %]" > | |
19 | <link rel="stylesheet" | |||
20 | href="[% resource('common-spec/zim-override.css') %]" > | |||
19 | 21 | |||
<style type='text/css'> | 20 | 22 | <style type='text/css'> | |
* { font-family: sans-serif } | 21 | 23 | * { font-family: sans-serif } | |
22 | 24 | |||
a:hover { text-decoration: underline; } | 23 | 25 | a:hover { text-decoration: underline; } | |
24 | 26 | |||
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | 25 | 27 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | |
img { | 26 | 28 | img { | |
display: block; | 27 | 29 | display: block; | |
margin-left: auto; | 28 | 30 | margin-left: auto; | |
margin-right: auto; | 29 | 31 | margin-right: auto; | |
} | 30 | 32 | } | |
31 | 33 | |||
/* Specifique au with index */ | 32 | 34 | /* Specifique au with index */ | |
span.insen { color: grey } | 33 | 35 | span.insen { color: grey } | |
34 | 36 | |||
.pages { | 35 | 37 | .pages { | |
/*max-width: 1000px;*/ | 36 | 38 | /*max-width: 1000px;*/ | |
/*padding-left: 320px;*/ | 37 | 39 | /*padding-left: 320px;*/ | |
width: inherit; | 38 | 40 | width: inherit; | |
transition: margin-left .3s; | 39 | 41 | transition: margin-left .3s; | |
background: white; | 40 | 42 | background: white; | |
padding-left: 10px; | 41 | 43 | padding-left: 10px; | |
padding-right: 10px; | 42 | 44 | padding-right: 10px; | |
padding-bottom: 20px; | 43 | 45 | padding-bottom: 20px; | |
padding-top: 10px; | 44 | 46 | padding-top: 10px; | |
} | 45 | 47 | } | |
46 | 48 | |||
.menu{ | 47 | 49 | .menu{ | |
/*float:left; */ | 48 | 50 | /*float:left; */ | |
width: 0; | 49 | 51 | width: 0; | |
color:var(--main-header-color); | 50 | 52 | color:var(--main-header-color); | |
overflow-x: hidden; | 51 | 53 | overflow-x: hidden; | |
position: absolute; | 52 | 54 | position: absolute; | |
transition:.3s; | 53 | 55 | transition:.3s; | |
background: var(--main-menu-background-color); | 54 | 56 | background: var(--main-menu-background-color); | |
border-style: solid; | 55 | 57 | border-style: solid; | |
border-width: 1px; | 56 | 58 | border-width: 1px; | |
margin-left:-20px; | 57 | 59 | margin-left:-20px; | |
} | 58 | 60 | } | |
59 | 61 | |||
.menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { | 60 | 62 | .menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { | |
color: var(--main-header-color); | 61 | 63 | color: var(--main-header-color); | |
} | 62 | 64 | } | |
63 | 65 | |||
.menuOpen { | 64 | 66 | .menuOpen { | |
/*display: block;*/ | 65 | 67 | /*display: block;*/ | |
} | 66 | 68 | } | |
67 | 69 | |||
.menuClosed { | 68 | 70 | .menuClosed { | |
border-style: unset; | 69 | 71 | border-style: unset; | |
} | 70 | 72 | } | |
71 | 73 | |||
.header{ | 72 | 74 | .header{ | |
max-width: var(--main-page-width); | 73 | 75 | max-width: var(--main-page-width); | |
position: fixed; | 74 | 76 | position: fixed; | |
width: 100%; | 75 | 77 | width: 100%; | |
top:0; | 76 | 78 | top:0; | |
background:white; | 77 | 79 | background:white; | |
z-index: 1; | 78 | 80 | z-index: 1; | |
} | 79 | 81 | } | |
80 | 82 | |||
hr{ | 81 | 83 | hr{ | |
clear:both; | 82 | 84 | clear:both; | |
border-style: solid; | 83 | 85 | border-style: solid; | |
border-width: 1px; | 84 | 86 | border-width: 1px; | |
border-color: var(--main-header-color); | 85 | 87 | border-color: var(--main-header-color); | |
} | 86 | 88 | } | |
87 | 89 | |||
body { | 88 | 90 | body { | |
max-width: var(--main-page-width); | 89 | 91 | max-width: var(--main-page-width); | |
display:block; | 90 | 92 | display:block; | |
margin-left:auto; | 91 | 93 | margin-left:auto; | |
margin-right:auto; | 92 | 94 | margin-right:auto; | |
background: var(--main-body-background-color); | 93 | 95 | background: var(--main-body-background-color); | |
background-image: url('[% resource("common-spec/fond.jpg") %]'); | 94 | 96 | background-image: url('[% resource("common-spec/fond.jpg") %]'); | |
background-position: var(--main-body-background-position); | 95 | 97 | background-position: var(--main-body-background-position); | |
background-repeat: var(--main-body-background-repeat); | 96 | 98 | background-repeat: var(--main-body-background-repeat); | |
} | 97 | 99 | } | |
98 | 100 | |||
.intercalaire { | 99 | 101 | .intercalaire { | |
background:white; | 100 | 102 | background:white; | |
margin-top: 48px; | 101 | 103 | margin-top: 48px; | |
padding: 10px; | 102 | 104 | padding: 10px; | |
} | 103 | 105 | } | |
104 | 106 | |||
.bold-footer { | 105 | 107 | .bold-footer { | |
color: var(--main-header-color); | 106 | 108 | color: var(--main-header-color); | |
} | 107 | 109 | } | |
108 | 110 | |||
</style> | 109 | 111 | </style> | |
110 | 112 | |||
<!-- Themes clair : | 111 | 113 | <!-- Themes clair : | |
atom-one-light.css, vs.css googlecode.css github.css | 112 | 114 | atom-one-light.css, vs.css googlecode.css github.css | |
qtcreator_light.css | 113 | 115 | qtcreator_light.css | |
Themes sombres : | 114 | 116 | Themes sombres : | |
agate.css vs2015.css atom-one-dark.css hybrid.css | 115 | 117 | agate.css vs2015.css atom-one-dark.css hybrid.css | |
ir-black.css sunburst.css tomorrow-night-bright.css | 116 | 118 | ir-black.css sunburst.css tomorrow-night-bright.css | |
qtcreator_dark.css | 117 | 119 | qtcreator_dark.css | |
Demo live : https://highlightjs.org/static/demo/ --> | 118 | 120 | Demo live : https://highlightjs.org/static/demo/ --> | |
<link rel="stylesheet" | 119 | 121 | <link rel="stylesheet" | |
href="[% resource('common/hljs/styles/sunburst.css') %]" > | 120 | 122 | href="[% resource('common/hljs/styles/sunburst.css') %]" > | |
121 | 123 | |||
<!-- hljs --> | 122 | 124 | <!-- hljs --> | |
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | 123 | 125 | <script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | |
124 | 126 | |||
<script src="[% resource('common/wizefunc.js') %]"></script> | 125 | 127 | <script src="[% resource('common/wizefunc.js') %]"></script> | |
126 | 128 | |||
<script src="[% resource('common-spec/notice.js') %]"></script> | 127 | 129 | <script src="[% resource('common-spec/notice.js') %]"></script> | |
128 | 130 | |||
</head> | 129 | 131 | </head> | |
<body onload="testLogo()"> | 130 | 132 | <body onload="testLogo()"> | |
<button onclick="topFunction()" id="upBtn" title="Go to top"></button> | 131 | 133 | <button onclick="topFunction()" id="upBtn" title="Go to top"></button> | |
<!-- Header --> | 132 | 134 | <!-- Header --> | |
<div class='header'> | 133 | 135 | <div class='header'> | |
<table class='navigation' style="float:left"> | 134 | 136 | <table class='navigation' style="float:left"> | |
<tr class='navigation'> | 135 | 137 | <tr class='navigation'> | |
<td class='navigation'> | 136 | 138 | <td class='navigation'> | |
<span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(0)">☰</span> | 137 | 139 | <span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(0)">☰</span> | |
</td> | 138 | 140 | </td> | |
<td class='navigation'> | 139 | 141 | <td class='navigation'> | |
[% IF navigation.prev %] | 140 | 142 | [% IF navigation.prev %] | |
<a href='[% uri(navigation.prev) %]'> | 141 | 143 | <a href='[% uri(navigation.prev) %]'> | |
<img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 142 | 144 | <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
</a> | 143 | 145 | </a> | |
[% ELSE %] | 144 | 146 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 145 | 147 | <img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
[% END %] | 146 | 148 | [% END %] | |
</td> | 147 | 149 | </td> | |
<td class='navigation'> | 148 | 150 | <td class='navigation'> | |
[% IF links.get("index") %] | 149 | 151 | [% IF links.get("index") %] | |
<a href='[% uri(links.get("index")) %]'> | 150 | 152 | <a href='[% uri(links.get("index")) %]'> | |
<img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 151 | 153 | <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
</a> | 152 | 154 | </a> | |
[% ELSE %] | 153 | 155 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 154 | 156 | <img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
[% END %] | 155 | 157 | [% END %] | |
</td> | 156 | 158 | </td> | |
<td class='navigation'> | 157 | 159 | <td class='navigation'> | |
[% IF navigation.next %] | 158 | 160 | [% IF navigation.next %] | |
<a href='[% uri(navigation.next) %]'> | 159 | 161 | <a href='[% uri(navigation.next) %]'> | |
<img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 160 | 162 | <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
</a> | 161 | 163 | </a> | |
[% ELSE %] | 162 | 164 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 163 | 165 | <img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
[% END %] | 164 | 166 | [% END %] | |
</td> | 165 | 167 | </td> | |
</tr> | 166 | 168 | </tr> | |
</table> | 167 | 169 | </table> | |
168 | 170 | |||
<span> | 169 | 171 | <span> | |
[% FOR page IN pages %] | 170 | 172 | [% FOR page IN pages %] | |
<a name='[% anchor(page) %]'></a> | 171 | 173 | <a name='[% anchor(page) %]'></a> | |
<h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | 172 | 174 | <h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | |
[% page.title %]</h1> | 173 | 175 | [% page.title %]</h1> | |
[% END %] | 174 | 176 | [% END %] | |
</span> | 175 | 177 | </span> | |
176 | 178 | |||
<table class='navigation' style="float:right;margin-right:10px;"> | 177 | 179 | <table class='navigation' style="float:right;margin-right:10px;"> | |
<tr class='navigation'> | 178 | 180 | <tr class='navigation'> | |
<td class='navigation'> | 179 | 181 | <td class='navigation'> | |
[% FOR page IN pages %] | 180 | 182 | [% FOR page IN pages %] | |
[% FOR link IN page.backlinks %] | 181 | 183 | [% FOR link IN page.backlinks %] | |
[% IF loop.first %]<a href="#backlinks"> | 182 | 184 | [% IF loop.first %]<a href="#backlinks"> | |
<img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | 183 | 185 | <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | |
</a>[% END %] | 184 | 186 | </a>[% END %] | |
[% END %] | 185 | 187 | [% END %] | |
[% END %] | 186 | 188 | [% END %] | |
</td> | 187 | 189 | </td> | |
<td class='navigation'> | 188 | 190 | <td class='navigation'> | |
[% FOR page IN pages %] | 189 | 191 | [% FOR page IN pages %] | |
[% FOR file IN page.attachments %] | 190 | 192 | [% FOR file IN page.attachments %] | |
[% IF loop.first %]<a href="#attach"> | 191 | 193 | [% IF loop.first %]<a href="#attach"> | |
<img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | 192 | 194 | <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | |
</a>[% END %] | 193 | 195 | </a>[% END %] | |
[% END %] | 194 | 196 | [% END %] | |
[% END %] | 195 | 197 | [% END %] | |
</td> | 196 | 198 | </td> | |
</tr> | 197 | 199 | </tr> | |
</table> | 198 | 200 | </table> | |
</div> | 199 | 201 | </div> | |
200 | 202 | |||
<div class="intercalaire"> | 201 | 203 | <div class="intercalaire"> | |
<hr /> | 202 | 204 | <hr /> | |
</div> | 203 | 205 | </div> | |
204 | 206 | |||
<div id="logoDivId" style="float:right"> | 205 | 207 | <div id="logoDivId" style="float:right"> | |
<img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | 206 | 208 | <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | |
</div> | 207 | 209 | </div> | |
208 | 210 | |||
<div id="mySidenav" class="menu menuClosed"> | 209 | 211 | <div id="mySidenav" class="menu menuClosed"> | |
[% index() %] | 210 | 212 | [% index() %] | |
</div> | 211 | 213 | </div> | |
212 | 214 | |||
[% options.empty_lines = "default" %] | 213 | 215 | [% options.empty_lines = "default" %] | |
214 | 216 | |||
<!-- Wiki content --> | 215 | 217 | <!-- Wiki content --> | |
216 | 218 | |||
<div id="main" class='pages'> | 217 | 219 | <div id="main" class='pages'> | |
<!--[% FOR page IN pages %]--> | 218 | 220 | <!--[% FOR page IN pages %]--> | |
<!-- | 219 | 221 | <!-- | |
<div class='heading'> | 220 | 222 | <div class='heading'> | |
<h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | 221 | 223 | <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | |
</div> | 222 | 224 | </div> | |
--> | 223 | 225 | --> | |
<div class='content'> | 224 | 226 | <div class='content'> | |
[% page.body %] | 225 | 227 | [% page.body %] | |
</div> | 226 | 228 | </div> | |
227 | 229 | |||
<br /> | 228 | 230 | <br /> | |
229 | 231 | |||
<div style="padding-bottom:10px;"> | 230 | 232 | <div style="padding-bottom:10px;"> | |
<hr /> | 231 | 233 | <hr /> | |
</div> | 232 | 234 | </div> | |
233 | 235 | |||
<div class='page-footer'> | 234 | 236 | <div class='page-footer'> | |
<!--[% FOR link IN page.backlinks %]--> | 235 | 237 | <!--[% FOR link IN page.backlinks %]--> | |
[% IF loop.first %] | 236 | 238 | [% IF loop.first %] | |
<a name="backlinks"></a> | 237 | 239 | <a name="backlinks"></a> |
templates/html/Wize_with_index_sod.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | 2 | 2 | <html> | |
<head> | 3 | 3 | <head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>[% title %]</title> | 5 | 5 | <title>[% title %]</title> | |
<meta name='Generator' content='[% generator.name %]'> | 6 | 6 | <meta name='Generator' content='[% generator.name %]'> | |
<link rel="shortcut icon" | 7 | 7 | <link rel="shortcut icon" | |
href="[% resource('common-spec/favicon.ico') %]" > | 8 | 8 | href="[% resource('common-spec/favicon.ico') %]" > | |
<link rel="stylesheet" | 9 | 9 | <link rel="stylesheet" | |
href="[% resource('common-spec/zim-variables.css') %]" > | 10 | 10 | href="[% resource('common-spec/zim-variables.css') %]" > | |
<link rel="stylesheet" | 11 | 11 | <link rel="stylesheet" | |
href="[% resource('common/zim-style.css') %]" > | 12 | 12 | href="[% resource('common/zim-style.css') %]" > | |
<link rel="stylesheet" | 13 | 13 | <link rel="stylesheet" | |
href="[% resource('common/zim-table-style.css') %]" > | 14 | 14 | href="[% resource('common/zim-table-style.css') %]" > | |
<link rel="stylesheet" | 15 | 15 | <link rel="stylesheet" | |
href="[% resource('common/zim-special.css') %]" > | 16 | 16 | href="[% resource('common/zim-special.css') %]" > | |
<link rel="stylesheet" | 17 | 17 | <link rel="stylesheet" | |
href="[% resource('common/zim-hljs.css') %]" > | 18 | 18 | href="[% resource('common/zim-hljs.css') %]" > | |
19 | <link rel="stylesheet" | |||
20 | href="[% resource('common-spec/zim-override.css') %]" > | |||
19 | 21 | |||
<style type='text/css'> | 20 | 22 | <style type='text/css'> | |
21 | 23 | |||
/* Comme on a le menu sur le côté */ | 22 | 24 | /* Comme on a le menu sur le côté */ | |
/* On augmente la taille de la page */ | 23 | 25 | /* On augmente la taille de la page */ | |
:root { | 24 | 26 | :root { | |
--main-page-width: 80em; | 25 | 27 | --main-page-width: 80em; | |
} | 26 | 28 | } | |
27 | 29 | |||
* { font-family: sans-serif } | 28 | 30 | * { font-family: sans-serif } | |
29 | 31 | |||
a:hover { text-decoration: underline; } | 30 | 32 | a:hover { text-decoration: underline; } | |
31 | 33 | |||
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | 32 | 34 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | |
img { | 33 | 35 | img { | |
display: block; | 34 | 36 | display: block; | |
margin-left: auto; | 35 | 37 | margin-left: auto; | |
margin-right: auto; | 36 | 38 | margin-right: auto; | |
} | 37 | 39 | } | |
38 | 40 | |||
/* Specifique au with index */ | 39 | 41 | /* Specifique au with index */ | |
span.insen { color: grey } | 40 | 42 | span.insen { color: grey } | |
41 | 43 | |||
.pages { | 42 | 44 | .pages { | |
/*max-width: 1000px;*/ | 43 | 45 | /*max-width: 1000px;*/ | |
/*padding-left: 320px;*/ | 44 | 46 | /*padding-left: 320px;*/ | |
margin-left: 300px; | 45 | 47 | margin-left: 300px; | |
width: inherit; | 46 | 48 | width: inherit; | |
transition: margin-left .3s; | 47 | 49 | transition: margin-left .3s; | |
background: white; | 48 | 50 | background: white; | |
padding-left: 10px; | 49 | 51 | padding-left: 10px; | |
padding-right: 10px; | 50 | 52 | padding-right: 10px; | |
padding-bottom: 20px; | 51 | 53 | padding-bottom: 20px; | |
padding-top: 10px; | 52 | 54 | padding-top: 10px; | |
} | 53 | 55 | } | |
54 | 56 | |||
.menu{ | 55 | 57 | .menu{ | |
float:left; | 56 | 58 | float:left; | |
width: 300px; | 57 | 59 | width: 300px; | |
color:var(--main-header-color); | 58 | 60 | color:var(--main-header-color); | |
overflow-x: hidden; | 59 | 61 | overflow-x: hidden; | |
/*position: absolute;*/ | 60 | 62 | /*position: absolute;*/ | |
transition:.3s; | 61 | 63 | transition:.3s; | |
background: var(--main-menu-background-color); | 62 | 64 | background: var(--main-menu-background-color); | |
border-style: solid; | 63 | 65 | border-style: solid; | |
border-width: 1px; | 64 | 66 | border-width: 1px; | |
margin-left:-20px; | 65 | 67 | margin-left:-20px; | |
} | 66 | 68 | } | |
67 | 69 | |||
.menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { | 68 | 70 | .menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { | |
color: var(--main-header-color); | 69 | 71 | color: var(--main-header-color); | |
} | 70 | 72 | } | |
71 | 73 | |||
.menuOpen { | 72 | 74 | .menuOpen { | |
/*display: block;*/ | 73 | 75 | /*display: block;*/ | |
} | 74 | 76 | } | |
75 | 77 | |||
.menuClosed { | 76 | 78 | .menuClosed { | |
border-style: unset; | 77 | 79 | border-style: unset; | |
} | 78 | 80 | } | |
79 | 81 | |||
.header{ | 80 | 82 | .header{ | |
max-width: var(--main-page-width); | 81 | 83 | max-width: var(--main-page-width); | |
position: fixed; | 82 | 84 | position: fixed; | |
width: 100%; | 83 | 85 | width: 100%; | |
top:0; | 84 | 86 | top:0; | |
background:white; | 85 | 87 | background:white; | |
z-index: 1; | 86 | 88 | z-index: 1; | |
} | 87 | 89 | } | |
88 | 90 | |||
hr{ | 89 | 91 | hr{ | |
clear:both; | 90 | 92 | clear:both; | |
border-style: solid; | 91 | 93 | border-style: solid; | |
border-width: 1px; | 92 | 94 | border-width: 1px; | |
border-color: var(--main-header-color); | 93 | 95 | border-color: var(--main-header-color); | |
} | 94 | 96 | } | |
95 | 97 | |||
body { | 96 | 98 | body { | |
max-width: var(--main-page-width); | 97 | 99 | max-width: var(--main-page-width); | |
display:block; | 98 | 100 | display:block; | |
margin-left:auto; | 99 | 101 | margin-left:auto; | |
margin-right:auto; | 100 | 102 | margin-right:auto; | |
background: var(--main-body-background-color); | 101 | 103 | background: var(--main-body-background-color); | |
background-image: url('[% resource("common-spec/fond.jpg") %]'); | 102 | 104 | background-image: url('[% resource("common-spec/fond.jpg") %]'); | |
background-position: var(--main-body-background-position); | 103 | 105 | background-position: var(--main-body-background-position); | |
background-repeat: var(--main-body-background-repeat); | 104 | 106 | background-repeat: var(--main-body-background-repeat); | |
} | 105 | 107 | } | |
106 | 108 | |||
.intercalaire { | 107 | 109 | .intercalaire { | |
background:white; | 108 | 110 | background:white; | |
margin-top: 48px; | 109 | 111 | margin-top: 48px; | |
padding: 10px; | 110 | 112 | padding: 10px; | |
} | 111 | 113 | } | |
112 | 114 | |||
.bold-footer { | 113 | 115 | .bold-footer { | |
color: var(--main-header-color); | 114 | 116 | color: var(--main-header-color); | |
} | 115 | 117 | } | |
116 | 118 | |||
.zemaster { | 117 | 119 | .zemaster { | |
background: white; | 118 | 120 | background: white; | |
} | 119 | 121 | } | |
120 | 122 | |||
121 | 123 | |||
</style> | 122 | 124 | </style> | |
123 | 125 | |||
<!-- Themes clair : | 124 | 126 | <!-- Themes clair : | |
atom-one-light.css, vs.css googlecode.css github.css | 125 | 127 | atom-one-light.css, vs.css googlecode.css github.css | |
qtcreator_light.css | 126 | 128 | qtcreator_light.css | |
Themes sombres : | 127 | 129 | Themes sombres : | |
agate.css vs2015.css atom-one-dark.css hybrid.css | 128 | 130 | agate.css vs2015.css atom-one-dark.css hybrid.css | |
ir-black.css sunburst.css tomorrow-night-bright.css | 129 | 131 | ir-black.css sunburst.css tomorrow-night-bright.css | |
qtcreator_dark.css | 130 | 132 | qtcreator_dark.css | |
Demo live : https://highlightjs.org/static/demo/ --> | 131 | 133 | Demo live : https://highlightjs.org/static/demo/ --> | |
<link rel="stylesheet" | 132 | 134 | <link rel="stylesheet" | |
href="[% resource('common/hljs/styles/sunburst.css') %]" > | 133 | 135 | href="[% resource('common/hljs/styles/sunburst.css') %]" > | |
134 | 136 | |||
<!-- hljs --> | 135 | 137 | <!-- hljs --> | |
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | 136 | 138 | <script src="[% resource('common/hljs/highlight.pack.js') %]"></script> | |
137 | 139 | |||
<script src="[% resource('common/wizefunc.js') %]"></script> | 138 | 140 | <script src="[% resource('common/wizefunc.js') %]"></script> | |
139 | 141 | |||
<script src="[% resource('common-spec/notice.js') %]"></script> | 140 | 142 | <script src="[% resource('common-spec/notice.js') %]"></script> | |
141 | 143 | |||
</head> | 142 | 144 | </head> | |
<body onload="testLogo()"> | 143 | 145 | <body onload="testLogo()"> | |
<button onclick="topFunction()" id="upBtn" title="Go to top"></button> | 144 | 146 | <button onclick="topFunction()" id="upBtn" title="Go to top"></button> | |
<!-- Header --> | 145 | 147 | <!-- Header --> | |
<div class='header'> | 146 | 148 | <div class='header'> | |
<table class='navigation' style="float:left"> | 147 | 149 | <table class='navigation' style="float:left"> | |
<tr class='navigation'> | 148 | 150 | <tr class='navigation'> | |
<td class='navigation'> | 149 | 151 | <td class='navigation'> | |
<span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(1)">☰</span> | 150 | 152 | <span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav(1)">☰</span> | |
</td> | 151 | 153 | </td> | |
<td class='navigation'> | 152 | 154 | <td class='navigation'> | |
[% IF navigation.prev %] | 153 | 155 | [% IF navigation.prev %] | |
<a href='[% uri(navigation.prev) %]'> | 154 | 156 | <a href='[% uri(navigation.prev) %]'> | |
<img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 155 | 157 | <img src="[% resource('common-spec/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
</a> | 156 | 158 | </a> | |
[% ELSE %] | 157 | 159 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | 158 | 160 | <img src="[% resource('common-spec/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> | |
[% END %] | 159 | 161 | [% END %] | |
</td> | 160 | 162 | </td> | |
<td class='navigation'> | 161 | 163 | <td class='navigation'> | |
[% IF links.get("index") %] | 162 | 164 | [% IF links.get("index") %] | |
<a href='[% uri(links.get("index")) %]'> | 163 | 165 | <a href='[% uri(links.get("index")) %]'> | |
<img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 164 | 166 | <img src="[% resource('common-spec/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
</a> | 165 | 167 | </a> | |
[% ELSE %] | 166 | 168 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | 167 | 169 | <img src="[% resource('common-spec/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> | |
[% END %] | 168 | 170 | [% END %] | |
</td> | 169 | 171 | </td> | |
<td class='navigation'> | 170 | 172 | <td class='navigation'> | |
[% IF navigation.next %] | 171 | 173 | [% IF navigation.next %] | |
<a href='[% uri(navigation.next) %]'> | 172 | 174 | <a href='[% uri(navigation.next) %]'> | |
<img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 173 | 175 | <img src="[% resource('common-spec/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
</a> | 174 | 176 | </a> | |
[% ELSE %] | 175 | 177 | [% ELSE %] | |
<img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | 176 | 178 | <img src="[% resource('common-spec/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> | |
[% END %] | 177 | 179 | [% END %] | |
</td> | 178 | 180 | </td> | |
</tr> | 179 | 181 | </tr> | |
</table> | 180 | 182 | </table> | |
181 | 183 | |||
<span> | 182 | 184 | <span> | |
[% FOR page IN pages %] | 183 | 185 | [% FOR page IN pages %] | |
<a name='[% anchor(page) %]'></a> | 184 | 186 | <a name='[% anchor(page) %]'></a> | |
<h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | 185 | 187 | <h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> | |
[% page.title %]</h1> | 186 | 188 | [% page.title %]</h1> | |
[% END %] | 187 | 189 | [% END %] | |
</span> | 188 | 190 | </span> | |
189 | 191 | |||
<table class='navigation' style="float:right;margin-right:10px;"> | 190 | 192 | <table class='navigation' style="float:right;margin-right:10px;"> | |
<tr class='navigation'> | 191 | 193 | <tr class='navigation'> | |
<td class='navigation'> | 192 | 194 | <td class='navigation'> | |
[% FOR page IN pages %] | 193 | 195 | [% FOR page IN pages %] | |
[% FOR link IN page.backlinks %] | 194 | 196 | [% FOR link IN page.backlinks %] | |
[% IF loop.first %]<a href="#backlinks"> | 195 | 197 | [% IF loop.first %]<a href="#backlinks"> | |
<img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | 196 | 198 | <img src='[% resource("common-spec/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> | |
</a>[% END %] | 197 | 199 | </a>[% END %] | |
[% END %] | 198 | 200 | [% END %] | |
[% END %] | 199 | 201 | [% END %] | |
</td> | 200 | 202 | </td> | |
<td class='navigation'> | 201 | 203 | <td class='navigation'> | |
[% FOR page IN pages %] | 202 | 204 | [% FOR page IN pages %] | |
[% FOR file IN page.attachments %] | 203 | 205 | [% FOR file IN page.attachments %] | |
[% IF loop.first %]<a href="#attach"> | 204 | 206 | [% IF loop.first %]<a href="#attach"> | |
<img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | 205 | 207 | <img src='[% resource("common-spec/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> | |
</a>[% END %] | 206 | 208 | </a>[% END %] | |
[% END %] | 207 | 209 | [% END %] | |
[% END %] | 208 | 210 | [% END %] | |
</td> | 209 | 211 | </td> | |
</tr> | 210 | 212 | </tr> | |
</table> | 211 | 213 | </table> | |
</div> | 212 | 214 | </div> | |
213 | 215 | |||
<div class="intercalaire"> | 214 | 216 | <div class="intercalaire"> | |
<hr /> | 215 | 217 | <hr /> | |
</div> | 216 | 218 | </div> | |
217 | 219 | |||
<div id="logoDivId" style="float:right"> | 218 | 220 | <div id="logoDivId" style="float:right"> | |
<img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | 219 | 221 | <img id="logoImgId" src='[% resource("common-spec/logo.png") %]' alt=' '> | |
</div> | 220 | 222 | </div> | |
221 | 223 | |||
<div class="zemaster"> | 222 | 224 | <div class="zemaster"> | |
223 | 225 | |||
<div id="mySidenav" class="menu menuOpen"> | 224 | 226 | <div id="mySidenav" class="menu menuOpen"> | |
[% index() %] | 225 | 227 | [% index() %] | |
</div> | 226 | 228 | </div> | |
227 | 229 | |||
[% options.empty_lines = "default" %] | 228 | 230 | [% options.empty_lines = "default" %] | |
229 | 231 | |||
<!-- Wiki content --> | 230 | 232 | <!-- Wiki content --> | |
231 | 233 | |||
<div id="main" class='pages'> | 232 | 234 | <div id="main" class='pages'> | |
<!--[% FOR page IN pages %]--> | 233 | 235 | <!--[% FOR page IN pages %]--> | |
<!-- | 234 | 236 | <!-- | |
<div class='heading'> | 235 | 237 | <div class='heading'> | |
<h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | 236 | 238 | <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> | |
</div> | 237 | 239 | </div> | |
--> | 238 | 240 | --> | |
<div class='content'> | 239 | 241 | <div class='content'> | |
[% page.body %] | 240 | 242 | [% page.body %] | |
</div> | 241 | 243 | </div> | |
242 | 244 | |||
<br /> | 243 | 245 | <br /> | |
244 | 246 | |||
<div style="padding-bottom:10px;"> | 245 | 247 | <div style="padding-bottom:10px;"> | |
<hr /> | 246 | 248 | <hr /> | |
</div> | 247 | 249 | </div> | |
248 | 250 |