added web interface code
added basic templates
This commit is contained in:
parent
f611eac8ad
commit
0cfc0ebb44
4 changed files with 326 additions and 0 deletions
44
templates/layout.html
Normal file
44
templates/layout.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:py="http://genshi.edgewall.org/" py:strip="">
|
||||
|
||||
<py:match path="head" once="true">
|
||||
<head py:attrs="select('@*')">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>${title}</title>
|
||||
<link rel="stylesheet" href="${css_url}" type="text/css" />
|
||||
<link rel="shortcut icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
|
||||
<link rel="icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
|
||||
</head>
|
||||
</py:match>
|
||||
|
||||
<py:match path="body" once="true">
|
||||
<body py:attrs="select('@*')">
|
||||
|
||||
<div id="header">
|
||||
<table border="0">
|
||||
<tr><td>
|
||||
<a href="/index.html"><img src="/logo.png" alt="sl-logo" style="border:none"/></a>
|
||||
</td>
|
||||
<td><h1><a href="/index.html">systemausfall.org</a> </h1></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="content">${select('*|text()')}</div>
|
||||
|
||||
<div id="footer">
|
||||
<table width="100%">
|
||||
<tr><td style="width:70%"><div class="text">
|
||||
"A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." -- Antoine de Saint-Exupéry
|
||||
</div></td>
|
||||
<td style="width:10%"><div class="link">
|
||||
<a href="/packungsbeilage.html">impressum</a>
|
||||
</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</py:match>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue