Commit 19a12f72d8950df8e6e3b8c30e8d6fafc7e4622a

Authored by William Daniau
1 parent 82560defb3
Exists in master

Utilisation d'un lien pour la config de print

Showing 2 changed files with 4 additions and 3 deletions Inline Diff

templates/html/Wize_Print.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 %]'>
<!-- 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/daniau/.local/share/zim/templates/html/common-wize/zim-variables.css" > 10 10 href="file:////home/daniau/.local/share/zim/templates/html/print-common/zim-variables.css" >
<link rel="stylesheet" 11 11 <link rel="stylesheet"
href="file:////home/daniau/.local/share/zim/templates/html/common/zim-style.css" > 12 12 href="file:////home/daniau/.local/share/zim/templates/html/common/zim-style.css" >
<link rel="stylesheet" 13 13 <link rel="stylesheet"
href="file:////home/daniau/.local/share/zim/templates/html/common/zim-table-style.css" > 14 14 href="file:////home/daniau/.local/share/zim/templates/html/common/zim-table-style.css" >
<link rel="stylesheet" 15 15 <link rel="stylesheet"
href="file:////home/daniau/.local/share/zim/templates/html/common/zim-special.css" > 16 16 href="file:////home/daniau/.local/share/zim/templates/html/common/zim-special.css" >
<link rel="stylesheet" 17 17 <link rel="stylesheet"
href="file:////home/daniau/.local/share/zim/templates/html/common/zim-hljs.css" > 18 18 href="file:////home/daniau/.local/share/zim/templates/html/common/zim-hljs.css" >
<style type='text/css'> 19 19 <style type='text/css'>
20 20
* { font-family: serif } 21 21 * { font-family: serif }
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
</style> 30 30 </style>
31 31
<!-- Themes clair : 32 32 <!-- Themes clair :
atom-one-light.css, vs.css 33 33 atom-one-light.css, vs.css
Themes sombres : 34 34 Themes sombres :
agate.css, vs2015.css, atom-one-dark.css 35 35 agate.css, vs2015.css, atom-one-dark.css
Demo live : https://highlightjs.org/static/demo/ --> 36 36 Demo live : https://highlightjs.org/static/demo/ -->
<link rel="stylesheet" 37 37 <link rel="stylesheet"
href="file:////home/daniau/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" > 38 38 href="file:////home/daniau/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" >
39 39
<!-- hljs --> 40 40 <!-- hljs -->
<script src="file:////home/daniau/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script> 41 41 <script src="file:////home/daniau/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script>
42 42
<script src="file:////home/daniau/.local/share/zim/templates/html/common-wize/notice.js"></script> 43 43 <script src="file:////home/daniau/.local/share/zim/templates/html/print-common/notice.js"></script>
44 44
</head> 45 45 </head>
<body> 46 46 <body>
47 47
[% options.empty_lines = "default" %] 48 48 [% options.empty_lines = "default" %]
49 49
<!-- Wiki content --> 50 50 <!-- Wiki content -->
51 51
<div style="float:right"> 52 52 <div style="float:right">
<img src="file:////home/daniau/.local/share/zim/templates/html/common-wize/logo.png" alt=' '> 53 53 <img src="file:////home/daniau/.local/share/zim/templates/html/print-common/logo.png" alt=' '>
</div> 54 54 </div>
55 55
56 56
templates/html/print-common
File was created 1 common-wize