aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-08-07 12:37:06 +0300
committerPriit Laes <plaes@plaes.org>2010-08-07 12:43:35 +0300
commit6b5aaf1cde07f95f2c5d19e9159e208722b46af5 (patch)
tree4e7fabe432602014ee8d66b86054c8acf1a66ea5 /grumpy/templates/layout.html
parentGah.. we cannot really "protect" dashboard view ;) (diff)
downloadgsoc2010-grumpy-6b5aaf1cde07f95f2c5d19e9159e208722b46af5.tar.gz
gsoc2010-grumpy-6b5aaf1cde07f95f2c5d19e9159e208722b46af5.tar.bz2
gsoc2010-grumpy-6b5aaf1cde07f95f2c5d19e9159e208722b46af5.zip
Added some basic style
Diffstat (limited to 'grumpy/templates/layout.html')
-rw-r--r--grumpy/templates/layout.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/grumpy/templates/layout.html b/grumpy/templates/layout.html
index 2395577..e4870c8 100644
--- a/grumpy/templates/layout.html
+++ b/grumpy/templates/layout.html
@@ -3,14 +3,16 @@
<!doctype html>
<head>
<title>{% block title %}Welcome{% endblock %} | Grumpy</title>
+{{ importer.load_css('style') }}
{% block script %}
{% endblock %}
</head>
-{{ userinfo.show_box(g) }}
-<div class=menu>
+<div id=page>
+{{ userinfo.show_usernav(g) }}
+<h1><a href="{{ url_for('dashboard') }}">Gentoo Grumpy</a></h1>
+<div id=menu>
<ul>
{% if not g.user %}
- <li><a href="{{ url_for('login') }}">Login</a></li>
{% endif %}
<li><a href="{{ url_for('index') }}">Browse Portage</a></li>
</ul>
@@ -28,7 +30,8 @@
<div class=body>
{% block body %}{% endblock %}
</div>
-<div class=foot>
-Project Grumpy
+ <div class=foot>
+ Project Grumpy
+ </div>
</div>
</div>