Commit a65220bcc86ab731348e5872cdb422b4a7046ff7

Authored by William Daniau
0 parents
Exists in master

Jeu de templates zim

Showing 7 changed files with 630 additions and 0 deletions Side-by-side Diff

templates/html/Default.html
... ... @@ -0,0 +1,164 @@
  1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2 +<html>
  3 +<head>
  4 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5 + <title>[% title %]</title>
  6 + <meta name='Generator' content='[% generator.name %]'>
  7 + <style type='text/css'>
  8 + * { font-family: sans-serif }
  9 + a { text-decoration: none;
  10 + color: blue;}
  11 + a:link { text-decoration: none;
  12 + color: blue;}
  13 + a:hover { text-decoration: underline;
  14 + color: blue;}
  15 + a:active { text-decoration: none;
  16 + color: blue;}
  17 + a:visited { text-decoration: none;
  18 + color: blue;}
  19 + strike { color: grey }
  20 + u { text-decoration: underline;
  21 + background-color: white }
  22 + tt { color: darkmagenta;
  23 + font-family: monospace;
  24 + font-size: large}
  25 + pre { color: darkmagenta;
  26 + margin-left: 20px;
  27 + font-family: monospace;
  28 + font-size: large}
  29 + code { font-size: large; font-family: monospace; color: saddlebrown}
  30 + h1 { text-decoration: underline;
  31 + color: #4e9a06; margin-bottom: 0; margin-top: 1em; }
  32 + h2 { color: #4e9a06; margin-bottom: 0; margin-left: 20px; margin-top: 1em;}
  33 + h3 { color: #4e9a06; margin-bottom: 0; margin-left: 40px; margin-top: 1em; font-style: italic; }
  34 + h4 { color: #4e9a06; margin-bottom: 0; margin-left: 60px; margin-top: 1em;}
  35 + h5 { color: #4e9a06; margin-bottom: 0; margin-left: 80px; margin-top: 1em;}
  36 + p { margin-top: 0 }
  37 +
  38 + table {
  39 + border-collapse: collapse;
  40 + width: 100%;
  41 + }
  42 +
  43 + td,th {
  44 + border: 1px solid #ddd;
  45 + padding: 4px;
  46 + }
  47 +
  48 +
  49 + tr:nth-child(even){background-color: #f2f2f2;}
  50 +
  51 + tr:hover {background-color: #ddd;}
  52 +
  53 + th {
  54 + padding-top: 6px;
  55 + padding-bottom: 6px;
  56 + /*background-color: #4CAF50;*/
  57 + /*background-color: #3a853c;*/
  58 + /*background-color: #85733a;*/
  59 + /*background-color: #3a7685;*/
  60 + /*background-color: #295e2a;*/
  61 + /*color: white;*/
  62 +
  63 + /*background-color: #d1e1c1;*/
  64 + background-color: #bbb;
  65 + color: black;
  66 +
  67 + }
  68 +
  69 + /* Centre les images mais elles sont coupรฉes aux sauts de page ร  l'impression */
  70 + img {
  71 + display: block;
  72 + margin-left: auto;
  73 + margin-right: auto;
  74 + }
  75 +
  76 +
  77 +
  78 + span.zim-tag {
  79 + color: #ce5c00;
  80 + }
  81 + div.zim-object {
  82 + border-style:solid;
  83 + border-width:1px;
  84 + }
  85 + .checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxMTJipqSmUUhhjEGKd3bMT4ks/Y6oLBK2Yth8hHYtCJXOix7Nf7xLMzc0xOzvLzp078TyPNE3viW3QJPXzhNWbxFFKHCmMhoLn/FHodd48vGfhapdAacXQlkFK5dL6wIUm6fuTZPuvqDQ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CSgKNpCamkI/fZr8pUuIZBIcpyaBunahPp1mub+fDyMjGKUSChCsq6Nh717q9u2jbnSU0uAgRrFIwTThyhUCqRS+hgZKLS1fJvDm87SNjZGcnsYUAjcQ8vsJ9/Xh7u1FDgRQN20iks3iDA+zZFmYhQLqzZtsj8WY3L0baY2Sf55ICCKpFHUzM2SEQAJCHg+hY8fQDh5EDgRWDoRC1J88SePRo2geD0XAcBy8b98Sv3ePYDZbbf2rFQjLIphMsmDbaEBQVQkePox26BCSz7e6i4bDrDt+nGYhmBscpFAskheC4Js3bPR4qHphFYEnlcI7P4/jdqNpGu8TCe4oCsXr1z//F2ga3+/cSfTJE0qmSVYIsKzaOZDcbjKyzFIiwfvt21kMBLA07YsetzWNd+3tLLW0sH5igvT8PH9Go/z44kX+E4LGjg7GDYOcy4XlOEgLC//5P/5LCFzxOPLmzWyIx+m6fduu7v0NVGqyTSycKksAAAAASUVORK5CYII=)}
  87 + .unchecked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8qAt8h3m8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA60lEQVRIx+2VsQqDMBRF70sCLg5OLoKgjk7+lJ/hh+STXBwcnRz8ArMEkrxOFktbaC3tULzTg5e8k5vADXDq70VbobXmvu/hvQczg4heHrJfXxQFuq67blZbMc8zpmlCXddIkgTOuZcBUko45zCOI6y1Nz2xFSEEZFmGOI7fGg4A3nsQEZqmuXOu9jallACAtm3fvmutNaIoAjM/dkBECCF89KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  88 + .migrated-box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ICLqu2/qBEIKUUAohMaSHSLyBSMoPTINQ6CX5+fn2AEVFRZSUlBCPx4nFYhl3L4RESjF/GEgX3pSj+Xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  89 + ul {list-style-image: none}
  90 + /* ul rule needed to reset style for sub-bullets */
  91 + </style>
  92 +</head>
  93 +<body>
  94 +
  95 +[% options.empty_lines = "default" %]
  96 +
  97 +<!-- Header -->
  98 +<div class='header'>
  99 +[% IF navigation.prev %]
  100 + [ <a href='[% uri(navigation.prev) %]'>[% gettext("Prev") %]</a> ]
  101 +[% ELSE %]
  102 + [ <span class='insen'>[% gettext("Prev") %]</span> ]
  103 +[% END %]
  104 +
  105 +[% IF links.get("index") %]
  106 + [ <a href='[% uri(links.get("index")) %]'>[% gettext("Index") %]</a> ]
  107 +[% ELSE %]
  108 + [ <span class='insen'>[% gettext("Index") %]</span> ]
  109 +[% END %]
  110 +
  111 +[% IF navigation.next %]
  112 + [ <a href='[% uri(navigation.next) %]'>[% gettext("Next") %]</a> ]
  113 +[% ELSE %]
  114 + [ <span class='insen'>[% gettext("Next") %]</span> ]
  115 +[% END %]
  116 +</div>
  117 +
  118 +<hr />
  119 +
  120 +<!-- Wiki content -->
  121 +
  122 +<div class='pages'>
  123 +<!--[% FOR page IN pages %]-->
  124 + <div class='heading'>
  125 + <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1>
  126 + </div>
  127 +
  128 + <div class='content'>
  129 + [% page.body %]
  130 + </div>
  131 +
  132 + <br />
  133 +
  134 + <div class='page-footer'>
  135 + <!--[% FOR link IN page.backlinks %]-->
  136 + [% IF loop.first %]<b>[% gettext("Backlinks:") %]</b>[% END %]
  137 +
  138 + <a href='[% uri(link) %]'>[% link.name %]</a>
  139 +
  140 + [% IF loop.last %]<br /><br />[% END %]
  141 + <!--[% END %]-->
  142 +
  143 + <!--[% FOR file IN page.attachments %]-->
  144 + [% IF loop.first %]
  145 + <b>[% gettext("Attachments:") %]</b>
  146 + <table>
  147 + [% END %]
  148 +
  149 + <tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td>&nbsp;</td><td>[% file.size %]</td></tr>
  150 +
  151 + [% IF loop.last %]
  152 + </table>
  153 + [% END %]
  154 + <!--[% END %]-->
  155 + </div>
  156 +
  157 + [% IF not loop.last %]<hr />[% END %]
  158 +
  159 +<!--[% END %]-->
  160 +</div>
  161 +
  162 +</body>
  163 +
  164 +</html>
templates/html/Default_with_index.html
... ... @@ -0,0 +1,178 @@
  1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2 +<html>
  3 +<head>
  4 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5 + <title>[% title %]</title>
  6 + <meta name='Generator' content='[% generator.name %]'>
  7 + <style type='text/css'>
  8 + * { font-family: sans-serif }
  9 + a { text-decoration: none;
  10 + color: blue;}
  11 + a:link { text-decoration: none;
  12 + color: blue;}
  13 + a:hover { text-decoration: underline;
  14 + color: blue;}
  15 + a:active { text-decoration: none;
  16 + color: blue;}
  17 + a:visited { text-decoration: none;
  18 + color: blue;}
  19 + strike { color: grey }
  20 + u { text-decoration: underline;
  21 + background-color: white }
  22 + tt { color: darkmagenta;
  23 + font-family: monospace;
  24 + font-size: large}
  25 + pre { color: darkmagenta;
  26 + margin-left: 20px;
  27 + font-family: monospace;
  28 + font-size: large}
  29 + code { font-size: large; font-family: monospace; color: saddlebrown}
  30 + h1 { text-decoration: underline;
  31 + color: #4e9a06; margin-bottom: 0; margin-top: 1em; }
  32 + h2 { color: #4e9a06; margin-bottom: 0; margin-left: 20px; margin-top: 1em;}
  33 + h3 { color: #4e9a06; margin-bottom: 0; margin-left: 40px; margin-top: 1em; font-style: italic; }
  34 + h4 { color: #4e9a06; margin-bottom: 0; margin-left: 60px; margin-top: 1em;}
  35 + h5 { color: #4e9a06; margin-bottom: 0; margin-left: 80px; margin-top: 1em;}
  36 + p { margin-top: 0 }
  37 +
  38 + table {
  39 + border-collapse: collapse;
  40 + width: 100%;
  41 + }
  42 +
  43 + td,th {
  44 + border: 1px solid #ddd;
  45 + padding: 4px;
  46 + }
  47 +
  48 +
  49 + tr:nth-child(even){background-color: #f2f2f2;}
  50 +
  51 + tr:hover {background-color: #ddd;}
  52 +
  53 + th {
  54 + padding-top: 6px;
  55 + padding-bottom: 6px;
  56 + /*background-color: #4CAF50;*/
  57 + /*background-color: #3a853c;*/
  58 + /*background-color: #85733a;*/
  59 + /*background-color: #3a7685;*/
  60 + /*background-color: #295e2a;*/
  61 + /*color: white;*/
  62 +
  63 + /*background-color: #d1e1c1;*/
  64 + background-color: #bbb;
  65 + color: black;
  66 +
  67 + }
  68 +
  69 + /* Centre les images mais elles sont coupรฉes aux sauts de page ร  l'impression */
  70 + img {
  71 + display: block;
  72 + margin-left: auto;
  73 + margin-right: auto;
  74 + }
  75 +
  76 +
  77 + span.zim-tag {
  78 + color: #ce5c00;
  79 + }
  80 + div.zim-object {
  81 + border-style:solid;
  82 + border-width:1px;
  83 + }
  84 + .checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxM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KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  87 + .migrated-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB+AKHREFA8vJSnkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAC1klEQVRIx+2VT0hUURTGf/e958w4Tc3TYowMw1GyEgwr1MqsFmbZIrIWQZsWJUjbdoHQpl3Qps0swnCRECQFYkR/TC1iKkqmfzAKTo2Vf8hoRsfR995tkRMT87RRWkUHHhy495zvnvvu933wP/75EKkkEAjIYDCIaZpIKRFCZN0kfX9xcTGtra2/irVUEolECIfDlJeXo+s6hmFkDaCqKoZhEAqFSCaTv60pqcSyLAoLC/F4PEtqDmCaJkIIKisrMybX0sdUVRWA5ubmPzdNjjI1cpXkZC/O1fV03PXgdDqRUtpPIITAsqxsDz0Z/3CZQv8uqo4N4C8/Tp2/DdM0MiZQlvk41OTkI/LW1SGtCVb5drD3eCc71wcA+VcAHA5vDd8+3UGakxiJV7i9pdQevU5T1R35pJ3MV5QW1pf+0kWBheJ2SWua8EQXZXsu4fVVYEz1sEKvof5EuxjoPvzpcRvrdp9C2gGMx6cpOHBmbImMesds7BZubwMVDTfXDnQ3vQfK7AC8wLfExMX5whyQc3q2OEnjGm5vE76SQxsfBLr77a7CNf+n0r/l6sSMtsBSnurckiIILCobAtVZhpF4gZF4jubaymj4Ch/fd380LE7bAnjc0NPxk2yqpmEuwGxF0ag+0k5uTpzZeBeaazvj0We8fXojainsb2xh2BZgbe0gSIllzSIUh63wfQ6dZ/O2fbjcKlOj58jJ3cVENESw5yErc9nf2MLQ4jwQAkV1Lqiq37/cZ9WaahJjF9AcmxiPDhLs7ePe23oOnmUwg2hSShQle96tKDjA2HAniusgo9FxnvY9Jxw7RWzGYy92QghM00x5g53qp9sHmtB58/o2umOI2NwGolMnMYUHIb7aAyiKwsjICLqu2/qBEIKUUAohMaSHSLyBSMoPTINQ6CX5+fn2AEVFRZSUlBCPx4nFYhl3L4RESjF/GEgX3pSj+Xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  88 + ul {list-style-image: none}
  89 + /* ul rule needed to reset style for sub-bullets */
  90 +
  91 + span.insen { color: grey }
  92 +
  93 + .pages {
  94 + max-width: 1000px;
  95 + padding-left: 320px;
  96 + }
  97 + .menu{
  98 + float:left; width: 300px;
  99 + }
  100 + hr{clear:both;}
  101 + </style>
  102 +</head>
  103 +<body>
  104 +
  105 +<!-- Header -->
  106 +<div class='header'>
  107 +[% IF navigation.prev %]
  108 + [ <a href='[% uri(navigation.prev) %]'>[% gettext("Prev") %]</a> ]
  109 +[% ELSE %]
  110 + [ <span class='insen'>[% gettext("Prev") %]</span> ]
  111 +[% END %]
  112 +
  113 +[% IF links.get("index") %]
  114 + [ <a href='[% uri(links.get("index")) %]'>[% gettext("Index") %]</a> ]
  115 +[% ELSE %]
  116 + [ <span class='insen'>[% gettext("Index") %]</span> ]
  117 +[% END %]
  118 +
  119 +[% IF navigation.next %]
  120 + [ <a href='[% uri(navigation.next) %]'>[% gettext("Next") %]</a> ]
  121 +[% ELSE %]
  122 + [ <span class='insen'>[% gettext("Next") %]</span> ]
  123 +[% END %]
  124 +</div>
  125 +
  126 +<hr />
  127 +
  128 +<div class="menu">
  129 +[% index() %]
  130 +</div>
  131 +
  132 +[% options.empty_lines = "default" %]
  133 +
  134 +<!-- Wiki content -->
  135 +
  136 +<div class='pages'>
  137 +<!--[% FOR page IN pages %]-->
  138 + <div class='heading'>
  139 + <h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1>
  140 + </div>
  141 +
  142 + <div class='content'>
  143 + [% page.body %]
  144 + </div>
  145 +
  146 + <br />
  147 +
  148 + <div class='page-footer'>
  149 + <!--[% FOR link IN page.backlinks %]-->
  150 + [% IF loop.first %]<b>[% gettext("Backlinks:") %]</b>[% END %]
  151 +
  152 + <a href='[% uri(link) %]'>[% link.name %]</a>
  153 +
  154 + [% IF loop.last %]<br /><br />[% END %]
  155 + <!--[% END %]-->
  156 +
  157 + <!--[% FOR file IN page.attachments %]-->
  158 + [% IF loop.first %]
  159 + <b>[% gettext("Attachments:") %]</b>
  160 + <table>
  161 + [% END %]
  162 +
  163 + <tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td>&nbsp;</td><td>[% file.size %]</td></tr>
  164 +
  165 + [% IF loop.last %]
  166 + </table>
  167 + [% END %]
  168 + <!--[% END %]-->
  169 + </div>
  170 +
  171 + [% IF not loop.last %]<hr />[% END %]
  172 +
  173 +<!--[% END %]-->
  174 +</div>
  175 +
  176 +</body>
  177 +
  178 +</html>
templates/html/Presentation.html
... ... @@ -0,0 +1,138 @@
  1 +<html>
  2 + <head>
  3 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4 + <title>[% title %]</title>
  5 + <meta name='Generator' content='[% generator.name %]'>
  6 + <style type='text/css'>
  7 + <style type='text/css'>
  8 + body { background-color: #fff;
  9 + color: #000;
  10 + font-size: large }
  11 + a { text-decoration: none }
  12 + a:hover { text-decoration: underline }
  13 + a:active { text-decoration: underline }
  14 + strike { color: grey }
  15 + u { text-decoration: none;
  16 + background-color: yellow }
  17 + tt { color: #2e3436; }
  18 + pre { background-color: lightyellow }
  19 + h1 { text-decoration: underline;
  20 + color: #4e9a06; margin-bottom: 0 }
  21 + h2 { color: #4e9a06; margin-bottom: 0 }
  22 + h3 { color: #4e9a06; margin-bottom: 0 }
  23 + h4 { color: #4e9a06; margin-bottom: 0 }
  24 + h5 { color: #4e9a06; margin-bottom: 0 }
  25 + p { margin-top: 0 }
  26 + span.zim-tag {
  27 + color: #ce5c00;
  28 + }
  29 + div.zim-object {
  30 + border-style:solid;
  31 + border-width:1px;
  32 + }
  33 + .checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxMTJipqSmUUhhjEGKd3bMT4ks/Y6oLBK2Yth8hHYtCJXOix7Nf7xLMzc0xOzvLzp078TyPNE3viW3QJPXzhNWbxFFKHCmMhoLn/FHodd48vGfhapdAacXQlkFK5dL6wIUm6fuTZPuvqDQhaMUYYyiVyuQr6rXDexYuAdi3tSv1ZJNs/R/CaszzT+1na88uXFnCEnJVgivBNN8uTJKmHQI/ptOOcXNZzMz9mOqFs90OHpipWcYwlo5P4ebnuOkrvr5wgrH+h3im7y36MzuwRXYZeKha/OhP0EkadFoxQSdGSotedR/+XwMc2XvKdNUFOFqZx6LKZWIiwjgkikNmLp/hm8sH+K1zjFTHXfBYdTi+eJArzXM0GxFxoBDCopLvo/fqEwi1XPkWkGqjFo2TgB1jOYZUKZTS/D1/ncmLh7jon0IbRWoiTi59ymzzJEEQE3cStNZsGxqlfPE57MBbOR8fP3hDGalOO9fq2DlBvmZw8xa2IxACGn6TydlD/O6f5OzSV/zif0cYhLQaEXG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kMBLA07YsetzWNd+3tLLW0sH5igvT8PH9Go/z44kX+E4LGjg7GDYOcy4XlOEgLC//5P/5LCFzxOPLmzWyIx+m6fduu7v0NVGqyTSycKksAAAAASUVORK5CYII=)}
  35 + .unchecked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8qAt8h3m8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA60lEQVRIx+2VsQqDMBRF70sCLg5OLoKgjk7+lJ/hh+STXBwcnRz8ArMEkrxOFktbaC3tULzTg5e8k5vADXDq70VbobXmvu/hvQczg4heHrJfXxQFuq67blZbMc8zpmlCXddIkgTOuZcBUko45zCOI6y1Nz2xFSEEZFmGOI7fGg4A3nsQEZqmuXOu9jallACAtm3fvmutNaIoAjM/dkBECCF89KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  36 + .migrated-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB+AKHREFA8vJSnkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAC1klEQVRIx+2VT0hUURTGf/e958w4Tc3TYowMw1GyEgwr1MqsFmbZIrIWQZsWJUjbdoHQpl3Qps0swnCRECQFYkR/TC1iKkqmfzAKTo2Vf8hoRsfR995tkRMT87RRWkUHHhy495zvnvvu933wP/75EKkkEAjIYDCIaZpIKRFCZN0kfX9xcTGtra2/irVUEolECIfDlJeXo+s6hmFkDaCqKoZhEAqFSCaTv60pqcSyLAoLC/F4PEtqDmCaJkIIKisrMybX0sdUVRWA5ubmPzdNjjI1cpXkZC/O1fV03PXgdDqRUtpPIITAsqxsDz0Z/3CZQv8uqo4N4C8/Tp2/DdM0MiZQlvk41OTkI/LW1SGtCVb5drD3eCc71wcA+VcAHA5vDd8+3UGakxiJV7i9pdQevU5T1R35pJ3MV5QW1pf+0kWBheJ2SWua8EQXZXsu4fVVYEz1sEKvof5EuxjoPvzpcRvrdp9C2gGMx6cpOHBmbImMesds7BZubwMVDTfXDnQ3vQfK7AC8wLfExMX5whyQc3q2OEnjGm5vE76SQxsfBLr77a7CNf+n0r/l6sSMtsBSnurckiIILCobAtVZhpF4gZF4jubaymj4Ch/fd380LE7bAnjc0NPxk2yqpmEuwGxF0ag+0k5uTpzZeBeaazvj0We8fXojainsb2xh2BZgbe0gSIllzSIUh63wfQ6dZ/O2fbjcKlOj58jJ3cVENESw5yErc9nf2MLQ4jwQAkV1Lqiq37/cZ9WaahJjF9AcmxiPDhLs7ePe23oOnmUwg2hSShQle96tKDjA2HAniusgo9FxnvY9Jxw7RWzGYy92QghM00x5g53qp9sHmtB58/o2umOI2NwGolMnMYUHIb7aAyiKwsjICLqu2/qBEIKUUAohMaSHSLyBSMoPTINQ6CX5+fn2AEVFRZSUlBCPx4nFYhl3L4RESjF/GEgX3pSj+Xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  37 + ul {list-style-image: none}
  38 + /* ul rule needed to reset style for sub-bullets */
  39 +
  40 + .bar { background-color: #E0E0FF;
  41 + margin: 0 }
  42 + .nav { color: grey;
  43 + font-size: small }
  44 + </style>
  45 + <script type='text/javascript'>
  46 + <!--
  47 +// Slideshow script - adapted from old kwiki package
  48 +
  49 +function nextSlide() {
  50 + window.location="[% uri(navigation.next) %]"
  51 +}
  52 +
  53 +function prevSlide() {
  54 + window.location="[% uri(navigation.prev) %]"
  55 +}
  56 +
  57 +
  58 +function handleKey(e) {
  59 + var key;
  60 + if (e == null) { // IE
  61 + key = event.keyCode
  62 + }
  63 + else { // Mozilla
  64 + if (e.altKey || e.ctrlKey) {
  65 + return true
  66 + }
  67 + key = e.which
  68 + }
  69 +
  70 + switch(key) {
  71 + case 8: prevSlide(); break // Backspace
  72 + case 13: nextSlide(); break // Enter
  73 + case 32: nextSlide(); break // Space
  74 + default:
  75 + }
  76 +
  77 + return false
  78 +}
  79 +
  80 +document.onkeypress = handleKey
  81 +// document.onclick = nextSlide
  82 +// document.ondblclick = prevSlide
  83 +
  84 +// End slideshow script
  85 + // -->
  86 + </script>
  87 + </head>
  88 +
  89 +[% options.empty_lines = "default" %]
  90 +
  91 + <body>
  92 +
  93 + <table width="100%" height="100%" border="0" cellpadding="5" cellspacing="0">
  94 + <tr>
  95 + <td colspan="3" align="center" valign="middle" class="bar">
  96 + <h3 class='bar'>[% title %]</h3>
  97 + </td>
  98 + </tr>
  99 + <tr>
  100 + <td width="5%">&nbsp;</td>
  101 + <td width="90%" height="90%" align="center" valign="top">
  102 +
  103 + <table><tr><td align='left'>
  104 +<!-- Wiki content -->
  105 +
  106 +[% FOR page IN pages %]
  107 +[% page.body %]
  108 +[% END %]
  109 +
  110 +<!-- End wiki content -->
  111 +
  112 + </tr></td></table>
  113 +
  114 + </td>
  115 + <td width="5%">&nbsp;</td>
  116 + </tr>
  117 + <tr>
  118 + <td colspan="3" align="center" valign="middle">
  119 + [% IF navigation.prev -%]
  120 + <a href='[% uri(navigation.prev) %]' class="nav">&lt;</a>
  121 + [%- ELSE -%]
  122 + <span class="nav">&lt;</span>
  123 + [%- END %]
  124 +
  125 + <a href='[% uri(links.get("index")) %]' class="nav">+</a>
  126 +
  127 + [% IF navigation.next -%]
  128 + <a href='[% uri(navigation.next) %]' class="nav">&gt;</a>
  129 + [%- ELSE -%]
  130 + <span class="nav">&gt;</span>
  131 + [%- END %]
  132 + </td>
  133 + </tr>
  134 + </table>
  135 +
  136 + </body>
  137 +
  138 +</html>
templates/html/Print.html
... ... @@ -0,0 +1,107 @@
  1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2 +<html>
  3 +<head>
  4 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5 + <title>[% title %]</title>
  6 + <meta name='Generator' content='[% generator.name %]'>
  7 + <style type='text/css'>
  8 + * { font-family: serif }
  9 + a { text-decoration: none;
  10 + color: blue;}
  11 + a:link { text-decoration: none;
  12 + color: blue;}
  13 + a:hover { text-decoration: none;
  14 + color: blue;}
  15 + a:active { text-decoration: none;
  16 + color: blue;}
  17 + a:visited { text-decoration: none;
  18 + color: blue;}
  19 + strike { color: grey }
  20 + u { text-decoration: underline;
  21 + background-color: white }
  22 + tt { color: darkmagenta;
  23 + font-family: monospace;
  24 + font-size: large}
  25 + pre { color: darkmagenta;
  26 + margin-left: 20px;
  27 + font-family: monospace;
  28 + font-size: large}
  29 + code { font-size: large; font-family: monospace; color: saddlebrown}
  30 + h1 { text-decoration: underline;
  31 + color: #4e9a06; margin-bottom: 0; margin-top: 1em; }
  32 + h2 { color: #4e9a06; margin-bottom: 0; margin-left: 20px; margin-top: 1em;}
  33 + h3 { color: #4e9a06; margin-bottom: 0; margin-left: 40px; margin-top: 1em; font-style: italic; }
  34 + h4 { color: #4e9a06; margin-bottom: 0; margin-left: 60px; margin-top: 1em;}
  35 + h5 { color: #4e9a06; margin-bottom: 0; margin-left: 80px; margin-top: 1em;}
  36 + p { margin-top: 0 }
  37 +
  38 + table {
  39 + border-collapse: collapse;
  40 + width: 100%;
  41 + }
  42 +
  43 + td,th {
  44 + border: 1px solid #ddd;
  45 + padding: 4px;
  46 + }
  47 +
  48 +
  49 + tr:nth-child(even){background-color: #f2f2f2;}
  50 +
  51 + tr:hover {background-color: #ddd;}
  52 +
  53 + th {
  54 + padding-top: 6px;
  55 + padding-bottom: 6px;
  56 + /*background-color: #4CAF50;*/
  57 + /*background-color: #3a853c;*/
  58 + /*background-color: #85733a;*/
  59 + /*background-color: #3a7685;*/
  60 + /*background-color: #295e2a;*/
  61 + /*color: white;*/
  62 +
  63 + /*background-color: #d1e1c1;*/
  64 + background-color: #bbb;
  65 + color: black;
  66 +
  67 + }
  68 +
  69 + /* Centre les images mais elles sont coupรฉes aux sauts de page ร  l'impression */
  70 + /*img {
  71 + display: block;
  72 + margin-left: auto;
  73 + margin-right: auto;
  74 + }*/
  75 +
  76 +
  77 + span.zim-tag {
  78 + color: #ce5c00;
  79 + }
  80 + div.zim-object {
  81 + border-style:solid;
  82 + border-width:1px;
  83 + }
  84 + .checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxMTJipqSmUUhhjEGKd3bMT4ks/Y6oLBK2Yth8hHYtCJXOix7Nf7xLMzc0xOzvLzp078TyPNE3viW3QJPXzhNWbxFFKHCmMhoLn/FHodd48vGfhapdAacXQlkFK5dL6wIUm6fuTZPuvqDQhaMUYYyiVyuQr6rXDexYuAdi3tSv1ZJNs/R/CaszzT+1na88uXFnCEnJVgivBNN8uTJKmHQI/ptOOcXN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CqRS+hgZKLS1fJvDm87SNjZGcnsYUAjcQ8vsJ9/Xh7u1FDgRQN20iks3iDA+zZFmYhQLqzZtsj8WY3L0baY2Sf55ICCKpFHUzM2SEQAJCHg+hY8fQDh5EDgRWDoRC1J88SePRo2geD0XAcBy8b98Sv3ePYDZbbf2rFQjLIphMsmDbaEBQVQkePox26BCSz7e6i4bDrDt+nGYhmBscpFAskheC4Js3bPR4qHphFYEnlcI7P4/jdqNpGu8TCe4oCsXr1z//F2ga3+/cSfTJE0qmSVYIsKzaOZDcbjKyzFIiwfvt21kMBLA07YsetzWNd+3tLLW0sH5igvT8PH9Go/z44kX+E4LGjg7GDYOcy4XlOEgLC//5P/5LCFzxOPLmzWyIx+m6fduu7v0NVGqyTSycKksAAAAASUVORK5CYII=)}
  86 + .unchecked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8qAt8h3m8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA60lEQVRIx+2VsQqDMBRF70sCLg5OLoKgjk7+lJ/hh+STXBwcnRz8ArMEkrxOFktbaC3tULzTg5e8k5vADXDq70VbobXmvu/hvQczg4heHrJfXxQFuq67blZbMc8zpmlCXddIkgTOuZcBUko45zCOI6y1Nz2xFSEEZFmGOI7fGg4A3nsQEZqmuXOu9jallACAtm3fvmutNaIoAjM/dkBECCF89KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  87 + .migrated-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhB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xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  88 + ul {list-style-image: none}
  89 + /* ul rule needed to reset style for sub-bullets */
  90 + </style>
  91 +
  92 +</head>
  93 +<body>
  94 +
  95 +[% options.empty_lines = "default" %]
  96 +
  97 +<!-- Wiki content -->
  98 +
  99 +[% FOR page IN pages %]
  100 + [% page.content %]
  101 +[% END %]
  102 +
  103 +<!-- End wiki content -->
  104 +
  105 +</body>
  106 +
  107 +</html>
templates/plugins/equationeditor.tex
... ... @@ -0,0 +1,16 @@
  1 +\documentclass[12pt]{article}
  2 +\pagestyle{empty}
  3 +
  4 +\usepackage{amssymb}
  5 +\usepackage{amsmath}
  6 +\usepackage[usenames]{color}
  7 +
  8 +\begin{document}
  9 +
  10 +% No empty lines allowed in math block !
  11 +\begin{align*}
  12 +[% equation -%]
  13 +\end{align*}
  14 +
  15 +\end{document}
  16 +
templates/wiki/Default.txt
... ... @@ -0,0 +1,3 @@
  1 +======= [% page.basename %] =======
  2 +[% gettext("Created") %] [% strftime("%A %d %B %Y") %]
  3 +
templates/wiki/Journal.txt
... ... @@ -0,0 +1,24 @@
  1 +[% IF calendar_plugin.page_type == 'day' -%]
  2 +======= [% strftime("%A %d %b %Y", calendar_plugin.date) %] =======
  3 +
  4 +[%- ELSIF calendar_plugin.page_type == 'week' -%]
  5 +======= [% strfcal("Week %W %Y", calendar_plugin.date) %] =======
  6 +[% strftime("%d %B", calendar_plugin.date) %] to [% strftime("%d %B", calendar_plugin.end_date) %]
  7 +
  8 +[% FOREACH day IN calendar_plugin.days() %]
  9 +=== [% strftime("%A %d %B", day) %] ===
  10 +
  11 +[% END %]
  12 +
  13 +
  14 +[%- ELSIF calendar_plugin.page_type == 'month' -%]
  15 +======= [% strftime("%B %Y", calendar_plugin.date) %] =======
  16 +
  17 +[%- ELSIF calendar_plugin.page_type == 'year' -%]
  18 +======= Year [% strftime("%Y", calendar_plugin.date) %] =======
  19 +
  20 +[%- ELSE -%]
  21 +======= [% page.basename %] =======
  22 +[% gettext("Created") %] [% strftime("%A %d %B %Y") %]
  23 +
  24 +[%- END %]