From: <unl...@us...> - 2002-08-14 03:49:21
|
Update of /cvsroot/meshdb/www/deal/templates In directory usw-pr-cvs1:/tmp/cvs-serv14497/templates Added Files: index_page.tpl overall_footer.tpl overall_header.tpl stylesheet.css Log Message: OK. This is the new code for the deal system, basically this is the framework of how the system will work, with db abstraction, templating and files broken up to handle each respective bit. The current code does not do anything, it simple prints a header, foo, and footer, but when it does that it is connecting to the DB, loading the templating system. What has to happen now is the functions/system from index-conv.php (the old index) to be re-imploemented in the new framework. --- NEW FILE: index_page.tpl --- {MESSAGE} <br /><br /> {MESSAGE2} --- NEW FILE: overall_footer.tpl --- <hr> <p class="minor"> Technical enquiries about this web site should be directed to <a href="mailto:david.leonard+meshweb@itee.uq.edu.au">David Leonard</a>. <br> Web site kindly hosted by the <a href="/">Dept of Information Technology & Electrical Engineering, UQ</a>. <br> <a href="logo/">Logo</a> designed by Matt Gleeson. </p> </body> </html> --- NEW FILE: overall_header.tpl --- <html> <head> <link rel="stylesheet" href="templates/stylesheet.css" type="text/css"> <title>Retail prices database</title> </head> <body> <img align=center src="../img/mesh-small.gif" width=107 height=68 alt="Brisbane Mesh"> <h1>Retail prices database</h1> --- NEW FILE: stylesheet.css --- h1 { font-family: Helvetica; } h2 { font-family: Helvetica; } body { background: white; } table { border-style: hidden } td.figure { text-align: center; } td.caption { font-size: smaller; font-family: Helvetica; text-align: center; } td.desc { font-style: italic; font-family: Helvetica; font-size: smaller; text-align: center; } th { text-align: left; } th.major { font-weight: bold; font-family: Helvetica; background: yellow; } th.minor { font-weight: bold; font-family: Helvetica; font-size: smaller; background: silver; } table.figure { border: solid; float: right; caption-side: bottom; } table.figure caption { font-size: smaller; font-style: italic; } td[status="full"] { foreground: green; } td[status="test"] { foreground: lime; } td[status="build"] { foreground: maroon; } td[status="gather"] { foreground: brown; } td[status="waiting"] { foreground: black; } td[status="interest"] { foreground: gray; } span.tbd { font-style: italic; font-size: smaller; color: gray; } table.aside { width: 50%; float: right; } table.aside td { background: rgb(95%, 95%, 95%); } table.aside p { font-size: smaller; } strong.matched { background: yellow; } p.minor { font-size: smaller; color: gray; } td.minqty { text-align: right; } td.unitprice { text-align: right; font-weight: bold; } td.expires { text-align: center; } td.delete { text-align: center; } td.delete a { color: red; } td.note { font-style: italic; font-family: Helvetica; font-size: smaller; text-align: center; } |