diff options
author | 2010-07-07 15:27:10 +0300 | |
---|---|---|
committer | 2010-07-07 16:00:50 +0300 | |
commit | a68d54411512d8cf3969c2a40c4270a80ce6076d (patch) | |
tree | b3d912e67ffbe4699f8f2ede0715050568dfc201 /grumpy/templates/layout.html | |
parent | List Flask and Flask-SQLAlchemy as dependencies, update installation docs (diff) | |
download | gsoc2010-grumpy-a68d54411512d8cf3969c2a40c4270a80ce6076d.tar.gz gsoc2010-grumpy-a68d54411512d8cf3969c2a40c4270a80ce6076d.tar.bz2 gsoc2010-grumpy-a68d54411512d8cf3969c2a40c4270a80ce6076d.zip |
Implemented preliminary web frontend
Diffstat (limited to 'grumpy/templates/layout.html')
-rw-r--r-- | grumpy/templates/layout.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/grumpy/templates/layout.html b/grumpy/templates/layout.html new file mode 100644 index 0000000..abd3001 --- /dev/null +++ b/grumpy/templates/layout.html @@ -0,0 +1,21 @@ +<!doctype html> +<head> +<title>{% block title %}Welcome{% endblock %} | Grumpy</title> +</head> +<div class=page> +{% with flashes = get_flashed_messages() %} + {% if flashes %} + <ul class=flashes> + {% for message in flashes %} + <li>{{ message | e}} + {% endfor %} + </ul> + {% endif %} +{% endwith %} +<div class=body> +{% block body %}{% endblock %} +</div> +<div class=foot> +Project Grumpy +</div> +</div> |