create_pdf
This commit is contained in:
28
app/views/documents/header.html
Normal file
28
app/views/documents/header.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!doctype html>
|
||||
<html><head><script>
|
||||
function subst() {
|
||||
var vars={};
|
||||
var x=document.location.search.substring(1).split('&');
|
||||
for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
|
||||
var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
|
||||
for (var i in x) {
|
||||
var y = document.getElementsByClassName(x[i]);
|
||||
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
|
||||
}
|
||||
}
|
||||
</script></head>
|
||||
<body onload="subst()" style="height:100%;overflow:hidden; margin:0; padding:0; padding-top:1em;padding-bottom:1em">
|
||||
<table style="width:100%; ">
|
||||
<tr>
|
||||
<td style="width:50px">
|
||||
</td>
|
||||
<td style="text-align:center">
|
||||
<span class="title1"></span>
|
||||
<span class="page"></span>
|
||||
</td>
|
||||
<td style="width:50px">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user