Blame view

templates/html/Wize_Print_Template.tpl 2.88 KB
2623019d5   William Daniau   Amélioration de w...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  <html>
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  	<title>[% title %]</title>
  	<meta name='Generator' content='[% generator.name %]'>
      <!-- ATTENTION Le template Print ne supporte pas les ressources,
  	     Il faut mettre des chemins absolus sur les fichiers :( -->
      <link rel="stylesheet"
        href="file:///%%HOME%%/.local/share/zim/templates/html/print-common/zim-variables.css" >	     
      <link rel="stylesheet"
        href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-style.css" >
      <link rel="stylesheet"
        href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-table-style.css" >
      <link rel="stylesheet"
        href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-special.css" >
      <link rel="stylesheet"
ac41b5248   William Daniau   Utilisation de fi...
18
19
        href="file:///%%HOME%%/.local/share/zim/templates/html/common/zim-hljs.css" >    
      <link rel="stylesheet"
ee7faa1aa   William Daniau   Correction dans t...
20
        href="file:///%%HOME%%/.local/share/zim/templates/html/print-common/zim-print-override.css" >
ac41b5248   William Daniau   Utilisation de fi...
21
            
2623019d5   William Daniau   Amélioration de w...
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
      <style type='text/css'>
  
          *          { font-family: serif }
          
          /* Centre les images mais elles sont coupées aux sauts de page à l'impression */
          /*img {            
              display: block;
              margin-left: auto;
              margin-right: auto;
          }*/               
  
      </style>
  
      <!-- Themes clair :
  	atom-one-light.css, vs.css
  	     Themes sombres :
      agate.css, vs2015.css, atom-one-dark.css 
      Demo live : https://highlightjs.org/static/demo/ -->
  	<link rel="stylesheet"
        href="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/styles/atom-one-light-wb.css" >
        
      <!-- hljs -->
      <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script>
      
ae1da5d24   William Daniau   On permet l'utili...
46
47
      <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/wizefunc.js"></script>
      
2623019d5   William Daniau   Amélioration de w...
48
      <script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script>
f50b33c8f   William Daniau   Ajout d'une fonct...
49
50
51
52
53
54
55
56
57
      <script>
      function testLogo() {
          logo=document.getElementById("logoImgId");
          logodiv=document.getElementById("logoDivId");
          if (logo.naturalHeight == 0) {
              logodiv.setAttribute("style","display:none;");
          }
      }
      </script>
2623019d5   William Daniau   Amélioration de w...
58
  </head>
f50b33c8f   William Daniau   Ajout d'une fonct...
59
  <body onload="testLogo()">
2623019d5   William Daniau   Amélioration de w...
60
61
62
63
  
  [% options.empty_lines = "default" %]
  
  <!-- Wiki content -->
f50b33c8f   William Daniau   Ajout d'une fonct...
64
65
  <div id="logoDivId" style="float:right">
  <img id="logoImgId" src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/logo.png" alt=' '>
2623019d5   William Daniau   Amélioration de w...
66
67
68
69
70
71
72
73
74
75
76
77
78
  </div>
  
  
  [% FOR page IN pages %]
  	[% page.content %]
  [% END %]
  
  <!-- End wiki content -->
  
  <div id="foot-notice" class="notice"></div>
  
  <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/go-hljs.js"></script>
  <script>printNotice()</script>
ae1da5d24   William Daniau   On permet l'utili...
79
80
81
82
  <script>
  tagToInfo();
  tagToStyle();
  </script>
2623019d5   William Daniau   Amélioration de w...
83
84
85
86
  
  </body>
  
  </html>