install/config/tools/handbook_creator/templates/pdf_header.html.erb in cosmos-3.5.0 vs install/config/tools/handbook_creator/templates/pdf_header.html.erb in cosmos-3.5.1
- old
+ new
@@ -1,41 +1,41 @@
-<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 style="border:0; margin: 0;" onload="subst()">
-
-<!--
- * [page] Replaced by the number of the pages currently being printed
- * [frompage] Replaced by the number of the first page to be printed
- * [topage] Replaced by the number of the last page to be printed
- * [webpage] Replaced by the URL of the page being printed
- * [section] Replaced by the name of the current section
- * [subsection] Replaced by the name of the current subsection
- * [date] Replaced by the current date in system local format
- * [time] Replaced by the current time in system local format
- * [title] Replaced by the title of the of the current page object
- * [doctitle] Replaced by the title of the output document
--->
-
-<div style="border-bottom: 1px solid black; width: 100%">
- <div id="left" style="float:left;text-align:left;">
- <img width=50 src="file:///<%= File.join(System.paths['HANDBOOKS'], 'assets', 'img', 'ball_logo.jpg') %>"></img>
- </div>
- <div id="right" style="float:right;text-align:right;">
- <div>Document No.: XXXXXXX</div>
- <div>Revision: TBD</div>
- <div>Date: TBD</div>
- </div>
- <div id="center" style="width:500px;margin:0px auto;text-align:center;">
- Copies are Uncontrolled
- </div>
- <div style="clear:both;"></div>
-</div>
-</body></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 style="border:0; margin: 0;" onload="subst()">
+
+<!--
+ * [page] Replaced by the number of the pages currently being printed
+ * [frompage] Replaced by the number of the first page to be printed
+ * [topage] Replaced by the number of the last page to be printed
+ * [webpage] Replaced by the URL of the page being printed
+ * [section] Replaced by the name of the current section
+ * [subsection] Replaced by the name of the current subsection
+ * [date] Replaced by the current date in system local format
+ * [time] Replaced by the current time in system local format
+ * [title] Replaced by the title of the of the current page object
+ * [doctitle] Replaced by the title of the output document
+-->
+
+<div style="border-bottom: 1px solid black; width: 100%">
+ <div id="left" style="float:left;text-align:left;">
+ <img width=50 src="file:///<%= File.join(System.paths['HANDBOOKS'], 'assets', 'img', 'ball_logo.jpg') %>"></img>
+ </div>
+ <div id="right" style="float:right;text-align:right;">
+ <div>Document No.: XXXXXXX</div>
+ <div>Revision: TBD</div>
+ <div>Date: TBD</div>
+ </div>
+ <div id="center" style="width:500px;margin:0px auto;text-align:center;">
+ Copies are Uncontrolled
+ </div>
+ <div style="clear:both;"></div>
+</div>
+</body></html>