Blame view

templates/html/Print.html 9.51 KB
a65220bcc   William Daniau   Jeu de templates zim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <!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 %]'>
  	<style type='text/css'>
  	    *          { font-family: serif }
  		a          { text-decoration: none;
                       color: blue;}
          a:link     { text-decoration: none;
                       color: blue;}
  		a:hover    { text-decoration: none;
                       color: blue;}
  		a:active   { text-decoration: none;
                       color: blue;}
  		a:visited  { text-decoration: none;
                       color: blue;}
  		strike     { color: grey                }
  		u          { text-decoration: underline;
  					 background-color: white   }
  		tt         { color: darkmagenta;
                       font-family: monospace;
                       font-size: large}
  		pre        { color: darkmagenta;
  					 margin-left: 20px;
20be481ed   William Daniau   Changement des ma...
27
28
29
  					 margin-right: 5px;
  					 margin-bottom: 5px;
  					 margin-top: 5px;
a65220bcc   William Daniau   Jeu de templates zim
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
  					 font-family: monospace; 
  					 font-size: large}
          code       { font-size: large; font-family: monospace; color: saddlebrown}
  		h1         { text-decoration: underline;
  					 color: #4e9a06; margin-bottom: 0; margin-top: 1em; }
  		h2         { color: #4e9a06; margin-bottom: 0; margin-left: 20px; margin-top: 1em;}
  		h3         { color: #4e9a06; margin-bottom: 0; margin-left: 40px;  margin-top: 1em; font-style: italic; }
  		h4         { color: #4e9a06; margin-bottom: 0; margin-left: 60px; margin-top: 1em;}
  		h5         { color: #4e9a06; margin-bottom: 0; margin-left: 80px; margin-top: 1em;}
  		p          { margin-top: 0              }
  		
          table {            
              border-collapse: collapse;
              width: 100%;
          }
  
          td,th  {
              border: 1px solid #ddd;
              padding: 4px;
          }
                  
  
          tr:nth-child(even){background-color: #f2f2f2;}
  
          tr:hover {background-color: #ddd;}
  
          th {
              padding-top: 6px;
              padding-bottom: 6px;            
              /*background-color: #4CAF50;*/
              /*background-color: #3a853c;*/
              /*background-color: #85733a;*/
              /*background-color: #3a7685;*/
              /*background-color: #295e2a;*/
              /*color: white;*/  
              
              /*background-color: #d1e1c1;*/
              background-color: #bbb;
              color: black;
                
          }
          
          /* Centre les images mais elles sont coupées aux sauts de page à l'impression */
          /*img {            
              display: block;
              margin-left: auto;
              margin-right: auto;
          }*/               
  
  		
  		span.zim-tag {
  			color: #ce5c00;
  		}
  		div.zim-object {
  			border-style:solid;
  			border-width:1px;
  		}
  		.checked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8sMEGsKGkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAEBUlEQVRIx62V22tdRRTGf7Nn73P2ybntnNOe3NqkPTGgLTVUUZF6QatSLOKTPgqCIqLgQ0H/A1sQQbBYCBb1QfAxiC8tSO1FqHkwJVKtjdTGNraUmObsc9nXmfGh7cGYpM1D5nHWzPetteZb3wg2eB2YqYm4zSadsMtoboiNBH/3TE0awx6j+MRoxoTg/IYRvP19TQrJS0bzhdHGSyKFkLTtjSKwMjyiEz43ynhtP6bdjBCWyFobAf7eT7VhNF/q1FRbjYjmUohlCVPwnB+6FUxMTJipqSmUUhhjEGKd3bMT4ks/Y6oLBK2Yth8hHYtCJXOix7Nf7xLMzc0xOzvLzp078TyPNE3viW3QJPXzhNWbxFFKHCmMhoLn/FHodd48vGfhapdAacXQlkFK5dL6wIUm6fuTZPuvqDQh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KNpCamkI/fZr8pUuIZBIcpyaBunahPp1mub+fDyMjGKUSChCsq6Nh717q9u2jbnSU0uAgRrFIwTThyhUCqRS+hgZKLS1fJvDm87SNjZGcnsYUAjcQ8vsJ9/Xh7u1FDgRQN20iks3iDA+zZFmYhQLqzZtsj8WY3L0baY2Sf55ICCKpFHUzM2SEQAJCHg+hY8fQDh5EDgRWDoRC1J88SePRo2geD0XAcBy8b98Sv3ePYDZbbf2rFQjLIphMsmDbaEBQVQkePox26BCSz7e6i4bDrDt+nGYhmBscpFAskheC4Js3bPR4qHphFYEnlcI7P4/jdqNpGu8TCe4oCsXr1z//F2ga3+/cSfTJE0qmSVYIsKzaOZDcbjKyzFIiwfvt21kMBLA07YsetzWNd+3tLLW0sH5igvT8PH9Go/z44kX+E4LGjg7GDYOcy4XlOEgLC//5P/5LCFzxOPLmzWyIx+m6fduu7v0NVGqyTSycKksAAAAASUVORK5CYII=)}
  		.unchecked-box {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAANOgAADMQBiN+4gQAAAAd0SU1FB9gKGQ8qAt8h3m8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA60lEQVRIx+2VsQqDMBRF70sCLg5OLoKgjk7+lJ/hh+STXBwcnRz8ArMEkrxOFktbaC3tULzTg5e8k5vADXDq70VbobXmvu/hvQczg4heHrJfXxQFuq67blZbMc8zpmlCXddIkgTOuZcBUko45zCOI6y1Nz2xFSEEZFmGOI7fGg4A3nsQEZqmuXOu9jallACAtm3fvmutNaIoAjM/dkBECCF89KCbk4eAb+kEnIAT8EsAM0OIz3hSyrssUvss8t5fg+uIrLXPs0gIgWVZYIyBUurQyYdheO4gz3NUVQVjDNZ1PfSjpWmKsixvehfB9GBZ3NndrgAAAABJRU5ErkJggg==)}
  		.migrated-box {list-style-image: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BEIKUUAohMaSHSLyBSMoPTINQ6CX5+fn2AEVFRZSUlBCPx4nFYhl3L4RESjF/GEgX3pSj+Xw+/H7/b3U/AEOZFnp7O5+5AAAAAElFTkSuQmCC)}
  		ul {list-style-image: none}
  		/* ul rule needed to reset style for sub-bullets */
228a863ab   William Daniau   Forçage de monosp...
93
94
95
96
97
  		
  		/* Pour forcer la police dans la coloration syntaxique */
  		.hljs { font-family: monospace; }
  		span[class^='hljs'], span[class*=' hljs'] { font-family: monospace; }
  		
a65220bcc   William Daniau   Jeu de templates zim
98
  	</style>
41bb6f128   William Daniau   Ajout de la color...
99
100
101
102
103
104
105
106
107
108
  
  	<!-- ATTENTION Le template Print ne supporte pas les ressources,
  	     Il faut mettre des chemins absolus sur les fichiers :( -->
      <!-- 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/daniau/.local/share/zim/templates/html/Print_via_export/styles/atom-one-light.css" >
228a863ab   William Daniau   Forçage de monosp...
109
        
41bb6f128   William Daniau   Ajout de la color...
110
111
      <!-- hljs -->
      <script src="file:////home/daniau/.local/share/zim/templates/html/Print_via_export/highlight.pack.js"></script>   
a65220bcc   William Daniau   Jeu de templates zim
112
113
114
115
116
117
118
119
120
121
122
123
  </head>
  <body>
  
  [% options.empty_lines = "default" %]
  
  <!-- Wiki content -->
  
  [% FOR page IN pages %]
  	[% page.content %]
  [% END %]
  
  <!-- End wiki content -->
41bb6f128   William Daniau   Ajout de la color...
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
  <script>
      /* on remplace octave par plaintext ou nohighlight ou matlab */
      var elements = document.getElementsByTagName("code");
      for (var i=0; i<elements.length; i++) {
          var el = elements[i]; 
          var cl = el.getAttribute("class");
          if (cl == "octave") {
              el.setAttribute( "class","matlab");
          }        
      }
      
      /* Si on utilise la fonction suivante, c'est execute avant le bout de code ci-dessus */
      /*hljs.initHighlightingOnLoad();*/
      document.querySelectorAll('pre code').forEach((block) => {
      hljs.highlightBlock(block);
    });
  </script>
a65220bcc   William Daniau   Jeu de templates zim
141
142
143
  </body>
  
  </html>