summaryrefslogtreecommitdiffstats
path: root/webui_templates/master.tmpl
blob: 54f74696bfb12e0e6697a8364ee45e9e92be1284 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
#attr $title = "Cobbler Web Interface"
    <title>$title</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

    <link rel="stylesheet" type="text/css" media="all" href="/cobbler/webui/style.css" />
    <link rel="stylesheet" type="text/css" media="all" href="/cobbler/webui/cobblerweb.css" />
</head>

<body>

<div id="wrap">
    <h1 id="masthead">
        <a href="$base_url/index">
            <img alt="Cobbler Logo"
                 src="/cobbler/webui/logo-cobbler.png"/>
        </a>
    </h1>
</div>

<div id="main">

<div id="sidebar">
    <ul id="nav">
        <li><a href="$base_url/settings_view" class="menu">Settings</a></li>
        <li><hr/></li>
        <li>LIST</li>
        <li><a href="$base_url/distro_list" class="menu">Distros</a></li>
        <li><a href="$base_url/profile_list" class="menu">Profiles</a></li>
        <li><a href="$base_url/system_list" class="menu">Systems</a></li>
        <li><a href="$base_url/ksfile_list" class="menu">Kickstarts</a></li>
        <li><a href="$base_url/repo_list" class="menu">Repos</a></li>
        <li><hr/></li>
        <li>ADD</li>
        <li><a href="$base_url/distro_edit" class="menu">Distro</a></li>
        <li><a href="$base_url/profile_edit" class="menu">Profile</a></li>
        <li><a href="$base_url/system_edit" class="menu">System</a></li>
        <li><a href="$base_url/repo_edit" class="menu">Repo</a></li>
        <li><hr/></li>
         #if $logged_in != 'configured'
            #if $logged_in
                <li><a href="$base_url/logout_submit" class="menu">Log Out</a></li>
            #else
                <li><a href="$base_url/login" class="menu">Log In</a></li>
            #end if
            <li><hr/></li>
        #end if
       <li>&lt;Sync&gt;</li>
    </ul>
</div>

<div id="content">
#block body

    <h1 style="color: red;">Template Failure</h1>

#end block body
</div><!-- content -->
</div><!-- main -->

</body>
</html>