Commit ee7faa1aad9d5ae5514b0317e1b0a47aaa09ce61
1 parent
ea7c4b88dc
Exists in
master
Correction dans te template print
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
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" > | |
| <link rel="stylesheet" | 19 | 19 | <link rel="stylesheet" | |
| href="file:///%%HOME%%/.local/share/zim/templates/html/common-spec/zim-print-override.css" > | 20 | 20 | href="file:///%%HOME%%/.local/share/zim/templates/html/print-common/zim-print-override.css" > | |
| 21 | 21 | |||
| <style type='text/css'> | 22 | 22 | <style type='text/css'> | |
| 23 | 23 | |||
| * { font-family: serif } | 24 | 24 | * { font-family: serif } | |
| 25 | 25 | |||
| /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | 26 | 26 | /* Centre les images mais elles sont coupées aux sauts de page à l'impression */ | |
| /*img { | 27 | 27 | /*img { | |
| display: block; | 28 | 28 | display: block; | |
| margin-left: auto; | 29 | 29 | margin-left: auto; | |
| margin-right: auto; | 30 | 30 | margin-right: auto; | |
| }*/ | 31 | 31 | }*/ | |
| 32 | 32 | |||
| </style> | 33 | 33 | </style> | |
| 34 | 34 | |||
| <!-- Themes clair : | 35 | 35 | <!-- Themes clair : | |
| atom-one-light.css, vs.css | 36 | 36 | atom-one-light.css, vs.css | |
| Themes sombres : | 37 | 37 | Themes sombres : | |
| agate.css, vs2015.css, atom-one-dark.css | 38 | 38 | agate.css, vs2015.css, atom-one-dark.css | |
| Demo live : https://highlightjs.org/static/demo/ --> | 39 | 39 | Demo live : https://highlightjs.org/static/demo/ --> | |
| <link rel="stylesheet" | 40 | 40 | <link rel="stylesheet" | |
| href="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" > | 41 | 41 | href="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" > | |
| 42 | 42 | |||
| <!-- hljs --> | 43 | 43 | <!-- hljs --> | |
| <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script> | 44 | 44 | <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script> | |
| 45 | 45 | |||
| <script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script> | 46 | 46 | <script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script> | |
| 47 | 47 | |||
| <script> | 48 | 48 | <script> | |
| function testLogo() { | 49 | 49 | function testLogo() { | |
| logo=document.getElementById("logoImgId"); | 50 | 50 | logo=document.getElementById("logoImgId"); | |
| logodiv=document.getElementById("logoDivId"); | 51 | 51 | logodiv=document.getElementById("logoDivId"); | |
| if (logo.naturalHeight == 0) { | 52 | 52 | if (logo.naturalHeight == 0) { | |
| logodiv.setAttribute("style","display:none;"); | 53 | 53 | logodiv.setAttribute("style","display:none;"); | |
| } | 54 | 54 | } | |
| } | 55 | 55 | } | |
| </script> | 56 | 56 | </script> | |
| </head> | 57 | 57 | </head> | |
| <body onload="testLogo()"> | 58 | 58 | <body onload="testLogo()"> | |
| 59 | 59 | |||
| [% options.empty_lines = "default" %] | 60 | 60 | [% options.empty_lines = "default" %] | |
| 61 | 61 | |||
| <!-- Wiki content --> | 62 | 62 | <!-- Wiki content --> | |
| 63 | 63 | |||
| <div id="logoDivId" style="float:right"> | 64 | 64 | <div id="logoDivId" style="float:right"> | |
| <img id="logoImgId" src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/logo.png" alt=' '> | 65 | 65 | <img id="logoImgId" src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/logo.png" alt=' '> |