diff options
Diffstat (limited to 'tdeprint/slave/templates')
31 files changed, 948 insertions, 0 deletions
diff --git a/tdeprint/slave/templates/CMakeLists.txt b/tdeprint/slave/templates/CMakeLists.txt new file mode 100644 index 000000000..f2344a0df --- /dev/null +++ b/tdeprint/slave/templates/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + class.template printer.template pseudo.template + jobs.template driver.template bar-bottom-left.png + bar-top-middle.png box-bottom-middle.png + box-top-middle.png bar-bottom-middle.png + bar-top-right.png box-bottom-right.png + box-top-right.png bar-bottom-right.png + bottom-left.png box-centre-tdeprint.png + top-left.png bar-middle-left.png bottom-middle.png + box-middle-left.png top-middle.png bar-middle-right.png + bottom-right.png box-middle-right.png top-right-tdeprint.png + bar-top-left.png box-bottom-left.png box-top-left.png + htmlstyles.css + DESTINATION ${DATA_INSTALL_DIR}/tdeprint/template ) diff --git a/tdeprint/slave/templates/Makefile.am b/tdeprint/slave/templates/Makefile.am new file mode 100644 index 000000000..3f23f9d2d --- /dev/null +++ b/tdeprint/slave/templates/Makefile.am @@ -0,0 +1,31 @@ +template_DATA = class.template \ + printer.template \ + pseudo.template \ + jobs.template \ + driver.template \ + bar-bottom-left.png \ + bar-top-middle.png \ + box-bottom-middle.png \ + box-top-middle.png \ + bar-bottom-middle.png \ + bar-top-right.png \ + box-bottom-right.png \ + box-top-right.png \ + bar-bottom-right.png \ + bottom-left.png \ + box-centre-tdeprint.png \ + top-left.png \ + bar-middle-left.png \ + bottom-middle.png \ + box-middle-left.png \ + top-middle.png \ + bar-middle-right.png \ + bottom-right.png \ + box-middle-right.png \ + top-right-tdeprint.png \ + bar-top-left.png \ + box-bottom-left.png \ + box-top-left.png \ + htmlstyles.css + +templatedir = $(kde_datadir)/tdeprint/template diff --git a/tdeprint/slave/templates/bar-bottom-left.png b/tdeprint/slave/templates/bar-bottom-left.png Binary files differnew file mode 100644 index 000000000..30a323592 --- /dev/null +++ b/tdeprint/slave/templates/bar-bottom-left.png diff --git a/tdeprint/slave/templates/bar-bottom-middle.png b/tdeprint/slave/templates/bar-bottom-middle.png Binary files differnew file mode 100644 index 000000000..b2ebbbed5 --- /dev/null +++ b/tdeprint/slave/templates/bar-bottom-middle.png diff --git a/tdeprint/slave/templates/bar-bottom-right.png b/tdeprint/slave/templates/bar-bottom-right.png Binary files differnew file mode 100644 index 000000000..e664e1511 --- /dev/null +++ b/tdeprint/slave/templates/bar-bottom-right.png diff --git a/tdeprint/slave/templates/bar-middle-left.png b/tdeprint/slave/templates/bar-middle-left.png Binary files differnew file mode 100644 index 000000000..72fda9ec2 --- /dev/null +++ b/tdeprint/slave/templates/bar-middle-left.png diff --git a/tdeprint/slave/templates/bar-middle-right.png b/tdeprint/slave/templates/bar-middle-right.png Binary files differnew file mode 100644 index 000000000..eb8d3201c --- /dev/null +++ b/tdeprint/slave/templates/bar-middle-right.png diff --git a/tdeprint/slave/templates/bar-top-left.png b/tdeprint/slave/templates/bar-top-left.png Binary files differnew file mode 100644 index 000000000..b05fd216c --- /dev/null +++ b/tdeprint/slave/templates/bar-top-left.png diff --git a/tdeprint/slave/templates/bar-top-middle.png b/tdeprint/slave/templates/bar-top-middle.png Binary files differnew file mode 100644 index 000000000..387f81017 --- /dev/null +++ b/tdeprint/slave/templates/bar-top-middle.png diff --git a/tdeprint/slave/templates/bar-top-right.png b/tdeprint/slave/templates/bar-top-right.png Binary files differnew file mode 100644 index 000000000..a552ff91d --- /dev/null +++ b/tdeprint/slave/templates/bar-top-right.png diff --git a/tdeprint/slave/templates/bottom-left.png b/tdeprint/slave/templates/bottom-left.png Binary files differnew file mode 100644 index 000000000..78c9fece3 --- /dev/null +++ b/tdeprint/slave/templates/bottom-left.png diff --git a/tdeprint/slave/templates/bottom-middle.png b/tdeprint/slave/templates/bottom-middle.png Binary files differnew file mode 100644 index 000000000..41e52dd8a --- /dev/null +++ b/tdeprint/slave/templates/bottom-middle.png diff --git a/tdeprint/slave/templates/bottom-right.png b/tdeprint/slave/templates/bottom-right.png Binary files differnew file mode 100644 index 000000000..ef81b04a8 --- /dev/null +++ b/tdeprint/slave/templates/bottom-right.png diff --git a/tdeprint/slave/templates/box-bottom-left.png b/tdeprint/slave/templates/box-bottom-left.png Binary files differnew file mode 100644 index 000000000..650fa5743 --- /dev/null +++ b/tdeprint/slave/templates/box-bottom-left.png diff --git a/tdeprint/slave/templates/box-bottom-middle.png b/tdeprint/slave/templates/box-bottom-middle.png Binary files differnew file mode 100644 index 000000000..2bcd3ea03 --- /dev/null +++ b/tdeprint/slave/templates/box-bottom-middle.png diff --git a/tdeprint/slave/templates/box-bottom-right.png b/tdeprint/slave/templates/box-bottom-right.png Binary files differnew file mode 100644 index 000000000..975aaeed7 --- /dev/null +++ b/tdeprint/slave/templates/box-bottom-right.png diff --git a/tdeprint/slave/templates/box-centre-tdeprint.png b/tdeprint/slave/templates/box-centre-tdeprint.png Binary files differnew file mode 100644 index 000000000..97da1910e --- /dev/null +++ b/tdeprint/slave/templates/box-centre-tdeprint.png diff --git a/tdeprint/slave/templates/box-middle-left.png b/tdeprint/slave/templates/box-middle-left.png Binary files differnew file mode 100644 index 000000000..62a720178 --- /dev/null +++ b/tdeprint/slave/templates/box-middle-left.png diff --git a/tdeprint/slave/templates/box-middle-right.png b/tdeprint/slave/templates/box-middle-right.png Binary files differnew file mode 100644 index 000000000..aa94c0c90 --- /dev/null +++ b/tdeprint/slave/templates/box-middle-right.png diff --git a/tdeprint/slave/templates/box-top-left.png b/tdeprint/slave/templates/box-top-left.png Binary files differnew file mode 100644 index 000000000..34aba9195 --- /dev/null +++ b/tdeprint/slave/templates/box-top-left.png diff --git a/tdeprint/slave/templates/box-top-middle.png b/tdeprint/slave/templates/box-top-middle.png Binary files differnew file mode 100644 index 000000000..7ee2a0738 --- /dev/null +++ b/tdeprint/slave/templates/box-top-middle.png diff --git a/tdeprint/slave/templates/box-top-right.png b/tdeprint/slave/templates/box-top-right.png Binary files differnew file mode 100644 index 000000000..26d16d313 --- /dev/null +++ b/tdeprint/slave/templates/box-top-right.png diff --git a/tdeprint/slave/templates/class.template b/tdeprint/slave/templates/class.template new file mode 100644 index 000000000..b6a79a1fd --- /dev/null +++ b/tdeprint/slave/templates/class.template @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <title>%1</title> +<style type="text/css"> +/*<![CDATA[*/ +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;}; +/*]]>*/ +</style> +<link rel="stylesheet" href="htmlstyles.css" type="text/css" /> +</head> + +<body> + <div style= + "background-image: url(top-middle.png); width: 100%; height: 131px;"> + <div style="position: absolute; right: 0px;"> + <img src="top-right-tdeprint.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style= + "position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Konqueror --> + </div> + + <div style= + "position: absolute; top: 70px; right: 100px; text-align: right; font-size: large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Conquer your Desktop --> + </div> + </div><!-- the bar --> + + <div style= + "width: 100%; background-image: url(bar-middle-right.png); background-repeat: repeat-y; background-position: right; background-color: #57a1d8;"> + <div style= + "width: 100%; height: 19px; background-image: url(bar-top-middle.png);"> + <div style="width: 22px; height: 19px; float: left;"> + <img src="bar-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 19px; float: right;"> + <img src="bar-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(bar-middle-left.png); background-repeat: repeat-y; text-align: center; color: white;" + class="bar_text"> + %1 <!-- Menu --> + </div> + + <div style= + "width: 100%; height: 25px; background-image: url(bar-bottom-middle.png);"> + <div style="width: 22px; height: 25px; float: left;"> + <img src="bar-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 25px; float: right;"> + <img src="bar-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div><!-- the main text box --> + + <div align="center"> + <div style= + "width: 90%; background-image: url(box-middle-right.png); background-repeat: repeat-y; background-position: right;"> + <div style= + "width: 100%; height: 35px; background-image: url(box-top-middle.png);"> + <div style="width: 20px; height: 35px; float: left;"> + <img src="box-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 20px; height: 35px; float: right;"> + <img src="box-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(box-middle-left.png); background-repeat: repeat-y; text-align: center"> + <div style= + "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;"> + <h2 style="margin-top: 0px;"><img src="%1" width="32" height="32"/> %1<!--Title--></h2> + + <table border="1" cellspacing="0" cellpadding="1" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 + <!-- Printer Name --> </td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="40%">%1 </td> + + <td width="58%">%1 <!--Type--></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- State--></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- Location --></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- Description --></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- URI --></td> + </tr> + + </table> + </td> + </tr> + </table> + + </p> + + <p> + + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 + <!-- Members --></td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="100%">%1</td> + + </tr> + + </table> + </td> + </tr> + </table> + + </div> + </div> + + <div style= + "width: 100%; height: 22px; background-image: url(box-bottom-middle.png);"> + <div style="width: 25px; height: 22px; float: left;"> + <img src="box-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 25px; height: 22px; float: right;"> + <img src="box-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div> + </div> + + <div style= + "background-image: url(bottom-middle.png); width: 100%; height: 100px;"> + <div style="position: absolute; right: 0px;"> + <img src="bottom-right.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="bottom-left.png" style="margin: 0px" alt="" /> + </div> + </div> +</body> +</html> diff --git a/tdeprint/slave/templates/driver.template b/tdeprint/slave/templates/driver.template new file mode 100644 index 000000000..8ba428e74 --- /dev/null +++ b/tdeprint/slave/templates/driver.template @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <title>%1</title> +<style type="text/css"> +/*<![CDATA[*/ +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;}; +/*]]>*/ +</style> +<link rel="stylesheet" href="htmlstyles.css" type="text/css" /> +</head> + +<body> + <div style= + "background-image: url(top-middle.png); width: 100%; height: 131px;"> + <div style="position: absolute; right: 0px;"> + <img src="top-right-tdeprint.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style= + "position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Konqueror --> + </div> + + <div style= + "position: absolute; top: 70px; right: 100px; text-align: right; font-size: large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Conquer your Desktop --> + </div> + </div><!-- the bar --> + + <div style= + "width: 100%; background-image: url(bar-middle-right.png); background-repeat: repeat-y; background-position: right; background-color: #57a1d8;"> + <div style= + "width: 100%; height: 19px; background-image: url(bar-top-middle.png);"> + <div style="width: 22px; height: 19px; float: left;"> + <img src="bar-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 19px; float: right;"> + <img src="bar-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(bar-middle-left.png); background-repeat: repeat-y; text-align: center; color: white;" + class="bar_text"> + %1 <!-- Menu --> + </div> + + <div style= + "width: 100%; height: 25px; background-image: url(bar-bottom-middle.png);"> + <div style="width: 22px; height: 25px; float: left;"> + <img src="bar-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 25px; float: right;"> + <img src="bar-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div><!-- the main text box --> + + <div align="center"> + <div style= + "width: 90%; background-image: url(box-middle-right.png); background-repeat: repeat-y; background-position: right;"> + <div style= + "width: 100%; height: 35px; background-image: url(box-top-middle.png);"> + <div style="width: 20px; height: 35px; float: left;"> + <img src="box-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 20px; height: 35px; float: right;"> + <img src="box-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(box-middle-left.png); background-repeat: repeat-y; text-align: center"> + <div style= + "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;"> + <h2 style="margin-top: 0px;"><img src="%1" width="32" height="32"/> %1<!--Title--></h2> + + <table border="1" cellspacing="0" cellpadding="1" width="100%"> + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + + %1 + + </table> + </td> + </tr> + </table> + + </div> + </div> + + <div style= + "width: 100%; height: 22px; background-image: url(box-bottom-middle.png);"> + <div style="width: 25px; height: 22px; float: left;"> + <img src="box-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 25px; height: 22px; float: right;"> + <img src="box-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div> + </div> + + <div style= + "background-image: url(bottom-middle.png); width: 100%; height: 100px;"> + <div style="position: absolute; right: 0px;"> + <img src="bottom-right.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="bottom-left.png" style="margin: 0px" alt="" /> + </div> + </div> +</body> +</html> diff --git a/tdeprint/slave/templates/htmlstyles.css b/tdeprint/slave/templates/htmlstyles.css new file mode 100644 index 000000000..650ed76db --- /dev/null +++ b/tdeprint/slave/templates/htmlstyles.css @@ -0,0 +1,38 @@ +td.main { background-color: #505050;} +td.logo { background-color: #DDDDDD;} +td.lines { background-color: #DDDDDD; + background-image: url(lines.png);} +td.trans { background-repeat: no-repeat;} +td.end { background-image: url(lines2.png); + background-repeat: x-repeat;} +td.shadow1 { background-image: url(shadow1.png); + background-repeat: x-repeat;} +tr.top { font-family: sans-serif; + color: #ffffff; + background-color: #505050} +tr.contentyellow { font-family: sans-serif; + color: #000000; + background-color: #fff4c9} +tr.contentwhite { font-family: sans-serif; + color: #000000; + background-color: #FFFFFF} +tr.menurow {background-color: #505050; + color: #000000; + vertical-align: middle;} +td.deco {color: #ffffff; + background-color: #505050; + font-family: sans-serif; + font-size: small;} +td.menuactive {color: #ffcc00; + background-color: #777777; + font-family: sans-serif; + font-size: small;} +td.menu {color: #ffffff; + background-color: #505050; + font-family: sans-serif;} +a.menu {color: #eeeeee; + font-family: sans-serif; + font-size: small;} +a.menu:hover {color: #ffffff; + text-decoration: none;} + diff --git a/tdeprint/slave/templates/jobs.template b/tdeprint/slave/templates/jobs.template new file mode 100644 index 000000000..684899aba --- /dev/null +++ b/tdeprint/slave/templates/jobs.template @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <title>%1</title> +<style type="text/css"> +/*<![CDATA[*/ +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;}; +/*]]>*/ +</style> +<link rel="stylesheet" href="htmlstyles.css" type="text/css" /> +</head> + +<body> + <div style= + "background-image: url(top-middle.png); width: 100%; height: 131px;"> + <div style="position: absolute; right: 0px;"> + <img src="top-right-tdeprint.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style= + "position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Konqueror --> + </div> + + <div style= + "position: absolute; top: 70px; right: 100px; text-align: right; font-size: large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Conquer your Desktop --> + </div> + </div><!-- the bar --> + + <div style= + "width: 100%; background-image: url(bar-middle-right.png); background-repeat: repeat-y; background-position: right; background-color: #57a1d8;"> + <div style= + "width: 100%; height: 19px; background-image: url(bar-top-middle.png);"> + <div style="width: 22px; height: 19px; float: left;"> + <img src="bar-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 19px; float: right;"> + <img src="bar-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(bar-middle-left.png); background-repeat: repeat-y; text-align: center; color: white;" + class="bar_text"> + %1 <!-- Menu --> + </div> + + <div style= + "width: 100%; height: 25px; background-image: url(bar-bottom-middle.png);"> + <div style="width: 22px; height: 25px; float: left;"> + <img src="bar-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 25px; float: right;"> + <img src="bar-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div><!-- the main text box --> + + <div align="center"> + <div style= + "width: 90%; background-image: url(box-middle-right.png); background-repeat: repeat-y; background-position: right;"> + <div style= + "width: 100%; height: 35px; background-image: url(box-top-middle.png);"> + <div style="width: 20px; height: 35px; float: left;"> + <img src="box-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 20px; height: 35px; float: right;"> + <img src="box-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(box-middle-left.png); background-repeat: repeat-y; text-align: center"> + <div style= + "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;"> + <h2 style="margin-top: 0px;"><img src="%1" width="32" height="32"/> %1<!--Title--></h2> + + <table border="1" cellspacing="0" cellpadding="1" width="100%"> + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="top"> + <td width="10%">%1</td> + <td width="15%">%1</td> + <td width="20%">%1</td> + <td width="40%">%1</td> + <td width="15%">%1</td> + </tr> + + %1 + + </table> + </td> + </tr> + </table> + + </div> + </div> + + <div style= + "width: 100%; height: 22px; background-image: url(box-bottom-middle.png);"> + <div style="width: 25px; height: 22px; float: left;"> + <img src="box-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 25px; height: 22px; float: right;"> + <img src="box-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div> + </div> + + <div style= + "background-image: url(bottom-middle.png); width: 100%; height: 100px;"> + <div style="position: absolute; right: 0px;"> + <img src="bottom-right.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="bottom-left.png" style="margin: 0px" alt="" /> + </div> + </div> +</body> +</html> diff --git a/tdeprint/slave/templates/printer.template b/tdeprint/slave/templates/printer.template new file mode 100644 index 000000000..3bdfa8665 --- /dev/null +++ b/tdeprint/slave/templates/printer.template @@ -0,0 +1,205 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <title>%1</title> +<style type="text/css"> +/*<![CDATA[*/ +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;}; +/*]]>*/ +</style> +<link rel="stylesheet" href="htmlstyles.css" type="text/css" /> +</head> + +<body> + <div style= + "background-image: url(top-middle.png); width: 100%; height: 131px;"> + <div style="position: absolute; right: 0px;"> + <img src="top-right-tdeprint.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style= + "position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Konqueror --> + </div> + + <div style= + "position: absolute; top: 70px; right: 100px; text-align: right; font-size: large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Conquer your Desktop --> + </div> + </div><!-- the bar --> + + <div style= + "width: 100%; background-image: url(bar-middle-right.png); background-repeat: repeat-y; background-position: right; background-color: #57a1d8;"> + <div style= + "width: 100%; height: 19px; background-image: url(bar-top-middle.png);"> + <div style="width: 22px; height: 19px; float: left;"> + <img src="bar-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 19px; float: right;"> + <img src="bar-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(bar-middle-left.png); background-repeat: repeat-y; text-align: center; color: white;" + class="bar_text"> + %1 <!-- Menu --> + </div> + + <div style= + "width: 100%; height: 25px; background-image: url(bar-bottom-middle.png);"> + <div style="width: 22px; height: 25px; float: left;"> + <img src="bar-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 25px; float: right;"> + <img src="bar-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div><!-- the main text box --> + + <div align="center"> + <div style= + "width: 90%; background-image: url(box-middle-right.png); background-repeat: repeat-y; background-position: right;"> + <div style= + "width: 100%; height: 35px; background-image: url(box-top-middle.png);"> + <div style="width: 20px; height: 35px; float: left;"> + <img src="box-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 20px; height: 35px; float: right;"> + <img src="box-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(box-middle-left.png); background-repeat: repeat-y; text-align: center"> + <div style= + "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;"> + <h2 style="margin-top: 0px;"><img src="%1" width="32" height="32"/> %1<!--Title--></h2> + + <table border="1" cellspacing="0" cellpadding="1" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 + <!-- Printer Name --> </td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="41%">%1 </td> + + <td width="59%">%1 <!--Type--></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- State--></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- Location --></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- Description --></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- URI --></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- Interface --></td> + </tr> + </table> + </td> + </tr> + </table> + + </p> + + <p> + + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 <!-- Driver --></td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="41%">%1 </td> + + <td width="59%">%1 + <!--Manufacturer--></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- Model--></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- Driver Informaton --></td> + </tr> + </table> + </td> + </tr> + </table> + + </div> + </div> + + <div style= + "width: 100%; height: 22px; background-image: url(box-bottom-middle.png);"> + <div style="width: 25px; height: 22px; float: left;"> + <img src="box-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 25px; height: 22px; float: right;"> + <img src="box-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div> + </div> + + <div style= + "background-image: url(bottom-middle.png); width: 100%; height: 100px;"> + <div style="position: absolute; right: 0px;"> + <img src="bottom-right.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="bottom-left.png" style="margin: 0px" alt="" /> + </div> + </div> +</body> +</html> diff --git a/tdeprint/slave/templates/pseudo.template b/tdeprint/slave/templates/pseudo.template new file mode 100644 index 000000000..a5acc24d1 --- /dev/null +++ b/tdeprint/slave/templates/pseudo.template @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <title>%1</title> +<style type="text/css"> +/*<![CDATA[*/ +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;}; +/*]]>*/ +</style> +<link rel="stylesheet" href="htmlstyles.css" type="text/css" /> +</head> + +<body> + <div style= + "background-image: url(top-middle.png); width: 100%; height: 131px;"> + <div style="position: absolute; right: 0px;"> + <img src="top-right-tdeprint.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style= + "position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Konqueror --> + </div> + + <div style= + "position: absolute; top: 70px; right: 100px; text-align: right; font-size: large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444"> + %1 <!-- Conquer your Desktop --> + </div> + </div><!-- the bar --> + + <div style= + "width: 100%; background-image: url(bar-middle-right.png); background-repeat: repeat-y; background-position: right; background-color: #57a1d8;"> + <div style= + "width: 100%; height: 19px; background-image: url(bar-top-middle.png);"> + <div style="width: 22px; height: 19px; float: left;"> + <img src="bar-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 19px; float: right;"> + <img src="bar-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(bar-middle-left.png); background-repeat: repeat-y; text-align: center; color: white;" + class="bar_text"> + %1 <!-- Menu --> + </div> + + <div style= + "width: 100%; height: 25px; background-image: url(bar-bottom-middle.png);"> + <div style="width: 22px; height: 25px; float: left;"> + <img src="bar-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 22px; height: 25px; float: right;"> + <img src="bar-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div><!-- the main text box --> + + <div align="center"> + <div style= + "width: 90%; background-image: url(box-middle-right.png); background-repeat: repeat-y; background-position: right;"> + <div style= + "width: 100%; height: 35px; background-image: url(box-top-middle.png);"> + <div style="width: 20px; height: 35px; float: left;"> + <img src="box-top-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 20px; height: 35px; float: right;"> + <img src="box-top-right.png" style="margin: 0px" alt="" /> + </div> + </div> + + <div style= + "width: 100%; background-image: url(box-middle-left.png); background-repeat: repeat-y; text-align: center"> + <div style= + "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;"> + <h2 style="margin-top: 0px;"><img src="%1" width="32" height="32"/> %1<!--Title--></h2> + + <table border="1" cellspacing="0" cellpadding="1" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 + <!-- Printer Name --> </td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="41%">%1 </td> + + <td width="59%">%1 <!--Type--></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- State--></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- Location --></td> + </tr> + + </table> + </td> + </tr> + </table> + + </p> + + <p> + + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="top" align="left" valign="middle"> + <td> %1 <!-- Command Properties --></td> + </tr> + + <tr> + <td> + <table border="1" cellspacing="0" cellpadding="2" width="100%"> + <tr class="contentyellow"> + <td width="40%">%1 </td> + + <td width="58%">%1 + <!--Command--></td> + </tr> + + <tr class="contentwhite"> + <td>%1 </td> + + <td>%1 <!-- Use Output File --></td> + </tr> + + <tr class="contentyellow"> + <td>%1 </td> + + <td>%1 <!-- Default Extension --></td> + </tr> + </table> + </td> + </tr> + </table> + + </div> + </div> + + <div style= + "width: 100%; height: 22px; background-image: url(box-bottom-middle.png);"> + <div style="width: 25px; height: 22px; float: left;"> + <img src="box-bottom-left.png" style="margin: 0px" alt="" /> + </div> + + <div style="width: 25px; height: 22px; float: right;"> + <img src="box-bottom-right.png" style="margin: 0px" alt="" /> + </div> + </div> + </div> + </div> + + <div style= + "background-image: url(bottom-middle.png); width: 100%; height: 100px;"> + <div style="position: absolute; right: 0px;"> + <img src="bottom-right.png" style="margin: 0px" alt="" /> + </div> + + <div style="position: absolute; left: 0px;"> + <img src="bottom-left.png" style="margin: 0px" alt="" /> + </div> + </div> +</body> +</html> diff --git a/tdeprint/slave/templates/top-left.png b/tdeprint/slave/templates/top-left.png Binary files differnew file mode 100644 index 000000000..d7551c0d5 --- /dev/null +++ b/tdeprint/slave/templates/top-left.png diff --git a/tdeprint/slave/templates/top-middle.png b/tdeprint/slave/templates/top-middle.png Binary files differnew file mode 100644 index 000000000..bb3fe7428 --- /dev/null +++ b/tdeprint/slave/templates/top-middle.png diff --git a/tdeprint/slave/templates/top-right-tdeprint.png b/tdeprint/slave/templates/top-right-tdeprint.png Binary files differnew file mode 100644 index 000000000..56717342c --- /dev/null +++ b/tdeprint/slave/templates/top-right-tdeprint.png |