db_layout.html 1013 Bytes
Newer Older
1
2
3
4
<div id="db_header">
    
    <div id="db_menu">
        <a class="button" onclick="db.call('patient/index');">patients</a>
5
        {{if auth.has_membership("admin"):}}
Mathieu Giraud's avatar
Mathieu Giraud committed
6
        - - -
7
        <a class="button" onclick="db.call('config/index');">configs</a>
8
9
        <a class="button" onclick="db.call('group/index');">groups</a>
        <a class="button" onclick="db.call('user/index');">users</a>
Marc Duez's avatar
Marc Duez committed
10
        <a class="button" onclick="db.call('admin/index');">admin</a>
Marc Duez's avatar
Marc Duez committed
11
        - - -
12
        {{pass}}
13
14
15
    </div>
    
    <div id="db_auth">
16
            {{if auth.user:}}
17
	    {{=auth.user.first_name}}
18
            <a class="button" onclick="db.request('default/user/logout');">(logout)</a>
19
            {{pass}}
20
21
22
23
24
25
26
27
    </div>
    
</div>


<div>
    {{include}}
</div>
Marc Duez's avatar
Marc Duez committed
28
29
30
31
32
33
34
35
36
37
38


<div class="db_footer">
    <div class="db_block_left">
        <span class="button" onclick="db.back();"> << back</span>
        <span class="button" onclick="db.reload();">reload</span>
    </div>
    <div class="db_block_right">

    </div>
</div>