rework server to use flask, new items

This commit is contained in:
Pavol Rusnak 2011-06-12 23:10:22 +02:00
parent 99893f58a0
commit bd828a71e8
8 changed files with 84 additions and 35 deletions

View file

@ -0,0 +1,15 @@
<html>
<head>
<title>BrmBar: {% block title %}{% endblock %}</title>
<link rel="icon" type="image/png" href="/static/favicon.png">
</head>
<body>
<h1><img src="/static/favicon.png" valign="middle" /> BrmBar: {{ self.title() }}</h1>
<div id="menu">
<a href="/">home</a> | <a href="/stats/">stats</a> | <a href="/log/">log</a> | <a href="/admin/">admin</a>
</div>
<div id="content">
{% block content %}{% endblock %}
</div>
</body>
</html>