summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: 1e2580fac9b699aff284993374a2ba9e0ac9c348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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>