diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-08 23:47:20 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-08 23:47:20 -0500 |
| commit | f57da10d8c51b2a71e7d85705439c4082aa6c507 (patch) | |
| tree | 68ca34e5ac87079c5a02aa4e3e7305188403b23b /templates | |
| parent | 57d26a3c5241083be4167483728cbf1188f07d49 (diff) | |
| download | famille-flask-f57da10d8c51b2a71e7d85705439c4082aa6c507.tar.gz | |
add the kadoscope
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layout.html | 44 | ||||
| -rw-r--r-- | templates/user/edit.html | 7 |
2 files changed, 31 insertions, 20 deletions
diff --git a/templates/layout.html b/templates/layout.html index dc9be11..709daef 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -3,8 +3,9 @@ <head> <title>{% block title %}Site de la famille{% endblock %}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <link rel="stylesheet" media="screen" type="text/css" href="{{ url_for('static', filename = 'style.css') }}" /> - <!-- <link rel="alternate" type="application/rss+xml" title="Les actualités" href="rss.xml" /> --> + <link rel="stylesheet" media="screen" type="text/css" + href="{{ url_for('static', filename = 'style.css') }}" /> + <link rel="alternate" type="application/rss+xml" title="Les actualités" href='rss.xml' /> </head> <body> {% block body %} @@ -12,23 +13,28 @@ <div class="sheet"> <div class="top"> <p><strong>{{session['user_name']}}</strong> - (<a href="/user/edit">Mon compte</a> | <a href="/logout">Se déconnecter</a>)</p> - </div> - <div class="main_menu"> - <table> - <tr> - <td><a href="/">Accueil</a></td> - <td><a href="/article/">Articles</a></td> - <td><a href="/user/">Famille</a></td> - <td><a href="/system/">Système</a></td> - </tr> - </table> - </div> - <div class="main"> - {% block content %}{% endblock %} + (<a href="/user/edit">Mon compte</a> | + <a href="/logout">Se déconnecter</a>)</p> + </div> + <div class="main_menu"> + <table> + <tr> + <td><a href="/">Accueil</a></td> + <td><a href="/article/">Articles</a></td> + <td><a href="/user/">Famille</a></td> + <td><a href="/system/">Système</a></td> + </tr> + </table> + </div> + <div class="main"> + {% block content %}{% endblock %} + </div> </div> </div> - </div> - {% endblock body %} -</body> + {% endblock body %} + <script type="text/javascript" + src="{{ url_for('static', filename='jquery.js')}}"></script> + <script type="text/javascript" + src="{{ url_for('static', filename='famille.js')}}"></script> + </body> </html> diff --git a/templates/user/edit.html b/templates/user/edit.html index e9d151a..b85f7b2 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -1,6 +1,11 @@ {% extends 'layout.html' %} {% block content %} +<h2>Kadoscope</h2> +<p>Cliquer sur le cadeau ci-dessous pour découvrir le nom de l'heureux élu qui recevra un cadeau de votre part.</p> +<p class="kadoscope">{{user.kado}}</p> +<p id="kadobutton"></p> +<h2>Paramètres du Compte</h2> <form method="post" action="{{url_for('edit_user')}}" class="userform"> <fieldset> <legend>Paramètres</legend> @@ -51,7 +56,7 @@ </p> </fieldset> <p class="submit"><input type="submit" id="submit" value="Enregistrer"/></p> -</form> +</form> {% endblock %} |
