diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-02-17 09:39:46 -0800 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-02-17 09:39:46 -0800 |
| commit | d6655d4957b9e1654d1bfe262d093120def254ee (patch) | |
| tree | effe7dcb8f771f2c026fff9d067fb74c4ca84a56 /templates/base.html | |
| download | famille-django-master.tar.gz | |
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..1e2580f --- /dev/null +++ b/templates/base.html @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>{% block title %}Site de la famille{% endblock title %}</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" media="screen" type="text/css" title="Design" href="/static/style.css" /> + <link rel="alternate" type="application/rss+xml" title="Les actualités" href="rss.xml" /> + <link rel="icon" type="image/png" href="/views/favicon.png" /> + <script src="/library/jquery.js" type="text/javascript"></script> + <script type="text/javascript"> + $.fn.wait = function(time, type) { + time = time || 1000; + type = type || "fx"; + return this.queue(type, function() { + var self = this; + setTimeout(function() { + $(self).dequeue(); + }, time); + }); + }; + </script> +</head> +<body> +<div class="container"> +<div class="sheet"> +<div class="top"> + <p><strong><?=$_SESSION['username']?></strong> (<a href="/user/edit">Mon compte</a> | <a href="/disconnect.php">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> +</body> +</html> |
