Commit 458d2d4b1337fcaa6f37ed251a0bc987fab4d97e

Authored by William Daniau
1 parent fbb8c93dc4
Exists in master

Ajout de 2 anchor manquant dans Default

Showing 1 changed file with 2 additions and 0 deletions Inline Diff

templates/html/Default.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="stylesheet" 7 7 <link rel="stylesheet"
href="[% resource('common/zim-variables.css') %]" > 8 8 href="[% resource('common/zim-variables.css') %]" >
<link rel="stylesheet" 9 9 <link rel="stylesheet"
href="[% resource('common/zim-style.css') %]" > 10 10 href="[% resource('common/zim-style.css') %]" >
<link rel="stylesheet" 11 11 <link rel="stylesheet"
href="[% resource('common/zim-table-style.css') %]" > 12 12 href="[% resource('common/zim-table-style.css') %]" >
<link rel="stylesheet" 13 13 <link rel="stylesheet"
href="[% resource('common/zim-special.css') %]" > 14 14 href="[% resource('common/zim-special.css') %]" >
<link rel="stylesheet" 15 15 <link rel="stylesheet"
href="[% resource('common/zim-hljs.css') %]" > 16 16 href="[% resource('common/zim-hljs.css') %]" >
17 17
<style type='text/css'> 18 18 <style type='text/css'>
* { font-family: sans-serif } 19 19 * { font-family: sans-serif }
20 20
a:hover { text-decoration: underline; } 21 21 a:hover { text-decoration: underline; }
22 22
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */ 23 23 /* Centre les images mais elles sont coupées aux sauts de page à l'impression */
img { 24 24 img {
display: block; 25 25 display: block;
margin-left: auto; 26 26 margin-left: auto;
margin-right: auto; 27 27 margin-right: auto;
} 28 28 }
29 29
.pages { 30 30 .pages {
/*max-width: 1000px;*/ 31 31 /*max-width: 1000px;*/
/*padding-left: 320px;*/ 32 32 /*padding-left: 320px;*/
width: inherit; 33 33 width: inherit;
transition: margin-left .3s; 34 34 transition: margin-left .3s;
background: white; 35 35 background: white;
padding-left: 10px; 36 36 padding-left: 10px;
padding-right: 10px; 37 37 padding-right: 10px;
padding-bottom: 20px; 38 38 padding-bottom: 20px;
padding-top: 10px; 39 39 padding-top: 10px;
} 40 40 }
41 41
.header{ 42 42 .header{
max-width: var(--main-page-width); 43 43 max-width: var(--main-page-width);
position: fixed; 44 44 position: fixed;
width: 100%; 45 45 width: 100%;
top:0; 46 46 top:0;
background:white; 47 47 background:white;
z-index: 1; 48 48 z-index: 1;
} 49 49 }
50 50
hr{ 51 51 hr{
clear:both; 52 52 clear:both;
border-style: solid; 53 53 border-style: solid;
border-width: 1px; 54 54 border-width: 1px;
border-color: var(--main-header-color); 55 55 border-color: var(--main-header-color);
} 56 56 }
57 57
body { 58 58 body {
max-width: var(--main-page-width); 59 59 max-width: var(--main-page-width);
display:block; 60 60 display:block;
margin-left:auto; 61 61 margin-left:auto;
margin-right:auto; 62 62 margin-right:auto;
background: var(--main-body-background-color); 63 63 background: var(--main-body-background-color);
} 64 64 }
65 65
.intercalaire { 66 66 .intercalaire {
background:white; 67 67 background:white;
margin-top: 48px; 68 68 margin-top: 48px;
padding: 10px; 69 69 padding: 10px;
} 70 70 }
71 71
.bold-footer { 72 72 .bold-footer {
color: var(--main-header-color); 73 73 color: var(--main-header-color);
} 74 74 }
75 75
</style> 76 76 </style>
77 77
<!-- Themes clair : 78 78 <!-- Themes clair :
atom-one-light.css, vs.css googlecode.css github.css 79 79 atom-one-light.css, vs.css googlecode.css github.css
qtcreator_light.css 80 80 qtcreator_light.css
Themes sombres : 81 81 Themes sombres :
agate.css vs2015.css atom-one-dark.css hybrid.css 82 82 agate.css vs2015.css atom-one-dark.css hybrid.css
ir-black.css sunburst.css tomorrow-night-bright.css 83 83 ir-black.css sunburst.css tomorrow-night-bright.css
qtcreator_dark.css 84 84 qtcreator_dark.css
Demo live : https://highlightjs.org/static/demo/ --> 85 85 Demo live : https://highlightjs.org/static/demo/ -->
<link rel="stylesheet" 86 86 <link rel="stylesheet"
href="[% resource('common/hljs/styles/sunburst.css') %]" > 87 87 href="[% resource('common/hljs/styles/sunburst.css') %]" >
88 88
<!-- hljs --> 89 89 <!-- hljs -->
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script> 90 90 <script src="[% resource('common/hljs/highlight.pack.js') %]"></script>
91 91
</head> 92 92 </head>
<body> 93 93 <body>
94 94
[% options.empty_lines = "default" %] 95 95 [% options.empty_lines = "default" %]
96 96
<div class='header'> 97 97 <div class='header'>
<table class='navigation' style="float:left"> 98 98 <table class='navigation' style="float:left">
<tr class='navigation'> 99 99 <tr class='navigation'>
<td class='navigation'> 100 100 <td class='navigation'>
[% IF navigation.prev %] 101 101 [% IF navigation.prev %]
<a href='[% uri(navigation.prev) %]'> 102 102 <a href='[% uri(navigation.prev) %]'>
<img src="[% resource('common/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> 103 103 <img src="[% resource('common/arrow-left.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
</a> 104 104 </a>
[% ELSE %] 105 105 [% ELSE %]
<!-- 106 106 <!--
<img src="[% resource('common/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]"> 107 107 <img src="[% resource('common/arrow-left-inact.png') %]" alt="[% gettext('Prev') %]" title="[% gettext('Prev') %]">
--> 108 108 -->
[% END %] 109 109 [% END %]
</td> 110 110 </td>
<td class='navigation'> 111 111 <td class='navigation'>
[% IF links.get("index") %] 112 112 [% IF links.get("index") %]
<a href='[% uri(links.get("index")) %]'> 113 113 <a href='[% uri(links.get("index")) %]'>
<img src="[% resource('common/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> 114 114 <img src="[% resource('common/arrow-up.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
</a> 115 115 </a>
[% ELSE %] 116 116 [% ELSE %]
<!-- 117 117 <!--
<img src="[% resource('common/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]"> 118 118 <img src="[% resource('common/arrow-up-inact.png') %]" alt="[% gettext('Index') %]" title="[% gettext('Index') %]">
--> 119 119 -->
[% END %] 120 120 [% END %]
</td> 121 121 </td>
<td class='navigation'> 122 122 <td class='navigation'>
[% IF navigation.next %] 123 123 [% IF navigation.next %]
<a href='[% uri(navigation.next) %]'> 124 124 <a href='[% uri(navigation.next) %]'>
<img src="[% resource('common/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> 125 125 <img src="[% resource('common/arrow-right.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
</a> 126 126 </a>
[% ELSE %] 127 127 [% ELSE %]
<!-- 128 128 <!--
<img src="[% resource('common/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]"> 129 129 <img src="[% resource('common/arrow-right-inact.png') %]" alt="[% gettext('Next') %]" title="[% gettext('Next') %]">
--> 130 130 -->
[% END %] 131 131 [% END %]
</td> 132 132 </td>
</tr> 133 133 </tr>
</table> 134 134 </table>
135 135
<span> 136 136 <span>
[% FOR page IN pages %] 137 137 [% FOR page IN pages %]
<a name='[% anchor(page) %]'></a> 138 138 <a name='[% anchor(page) %]'></a>
<h1 style="display:inline-block;margin-left:20px;margin-top:5px;"> 139 139 <h1 style="display:inline-block;margin-left:20px;margin-top:5px;">
[% page.title %]</h1> 140 140 [% page.title %]</h1>
[% END %] 141 141 [% END %]
</span> 142 142 </span>
143 143
<table class='navigation' style="float:right;margin-right:10px;"> 144 144 <table class='navigation' style="float:right;margin-right:10px;">
<tr class='navigation'> 145 145 <tr class='navigation'>
<td class='navigation'> 146 146 <td class='navigation'>
[% FOR page IN pages %] 147 147 [% FOR page IN pages %]
[% FOR link IN page.backlinks %] 148 148 [% FOR link IN page.backlinks %]
[% IF loop.first %]<a href="#backlinks"> 149 149 [% IF loop.first %]<a href="#backlinks">
<img src='[% resource("common/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'> 150 150 <img src='[% resource("common/backlink.png") %]' alt='[% gettext("Backlinks:") %]' title='[% gettext("Backlinks:") %]'>
</a>[% END %] 151 151 </a>[% END %]
[% END %] 152 152 [% END %]
[% END %] 153 153 [% END %]
</td> 154 154 </td>
<td class='navigation'> 155 155 <td class='navigation'>
[% FOR page IN pages %] 156 156 [% FOR page IN pages %]
[% FOR file IN page.attachments %] 157 157 [% FOR file IN page.attachments %]
[% IF loop.first %]<a href="#attach"> 158 158 [% IF loop.first %]<a href="#attach">
<img src='[% resource("common/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'> 159 159 <img src='[% resource("common/attachment.png") %]' alt='[% gettext("Attachments:") %]' title='[% gettext("Attachments:") %]'>
</a>[% END %] 160 160 </a>[% END %]
[% END %] 161 161 [% END %]
[% END %] 162 162 [% END %]
</td> 163 163 </td>
</tr> 164 164 </tr>
</table> 165 165 </table>
</div> 166 166 </div>
167 167
<div class="intercalaire"> 168 168 <div class="intercalaire">
<hr /> 169 169 <hr />
</div> 170 170 </div>
171 171
<!-- Wiki content --> 172 172 <!-- Wiki content -->
173 173
<div class='pages'> 174 174 <div class='pages'>
<!--[% FOR page IN pages %]--> 175 175 <!--[% FOR page IN pages %]-->
<!-- 176 176 <!--
<div class='heading'> 177 177 <div class='heading'>
<h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1> 178 178 <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1>
</div> 179 179 </div>
--> 180 180 -->
181 181
<div class='content'> 182 182 <div class='content'>
[% page.body %] 183 183 [% page.body %]
</div> 184 184 </div>
185 185
<br /> 186 186 <br />
187 187
<div class='page-footer'> 188 188 <div class='page-footer'>
<!--[% FOR link IN page.backlinks %]--> 189 189 <!--[% FOR link IN page.backlinks %]-->