summaryrefslogtreecommitdiff
path: root/public_html/skins/default/templates/main.html
blob: 829c4077a8602c009673f3e5f80103047913f04d (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>
<html>
<head>
    <meta charset="utf-8" />
    <title>{$pagetitle}</title>
    <link rel="stylesheet" href="{$skin_path}style.css" />
    <link rel="shortcut icon" type="image/png" href="{$skin_path}images/favicon.png" />
    <script src="js/jquery.min.js"></script>
    <script src="js/kolab_admin.js"></script>
    <script src="{$skin_path}ui.js"></script>
</head>
<body>
    <div id="logo" onclick="document.location='.'"></div>
    <div id="topmenu">
        <span class="login">{$user.fullname}</span>
        <span id="domain-selector" class="domain">
        {if count($engine->get_env('domains')) > 1}
            <form id="domain-selector-form" method="post" style="display: inline">
                <input data-type="select" name="domain" type="hidden" value="{$user.domain}" />
            </form>
        {else}
            {$user.domain}
        {/if}
        </span>
        <span class="logout link" title="{$engine->translate('logout')}" onclick="kadm.main_logout()">{$engine->translate('logout')}</span>
    </div>
    <div id="navigation">{$main_menu}</div>
    <div id="task_navigation">{$task_menu}</div>
    <div id="content">
        <h1>{$engine->translate('welcome')}</h1>
        <div id="main">
            {foreach $tasks as $link => $label}
            <div class="{preg_replace('/\..*$/', '', $link)}" onclick="kadm.command('{$link}', '', this)">
                <span class="image"></span>
                <span class="label">{$engine->translate($label)}</span>
            </div>
            {/foreach}
        </div>
    </div>
    <div id="footer">
        {include file="footer.html"}
    </div>
{$script}
</body>
</html>