summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/templates/master.kid
blob: 2d3a35f2238af00012a275cea18e6f51deb63d37 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python import sitetemplate ?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">

<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title py:replace="''">Your title goes here</title>
    <meta py:replace="item[:]"/>
    <style type="text/css" media="screen">
    @import "${tg.url('/static/css/style.css')}";
    </style>
    <script type="text/javascript" charset="utf-8" src="${tg.url('/static/javascript/prototype.js')}"></script>
    <script type="text/javascript" charset="utf-8" src="${tg.url('/static/javascript/scriptaculous.js?load=effects')}"></script>
</head>

<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">

    <div id="header">
      <div id="logo">
        <a href="${tg.url('/')}"><img 
        src="${tg.url('/static/images/logo.png')}"
        border="0" alt="homepage"
        /></a>
      </div>
      <div id="headerinfo">
        <div id="login">
    <div py:if="tg.config('identity.on') and not defined('logging_in')" id="pageLogin">
        <span py:if="tg.identity.anonymous">
            <a href="${tg.url('/login')}">Login</a>
        </span>
        <span py:if="not tg.identity.anonymous">
            Logged in as: ${tg.identity.user.display_name}
        </span>
    </div>

        </div>
        <div id="topsearch">
          <form action="${tg.url('/topsearch')}" method="post">
            <select name="searchtype">
                <option>Users</option>
                <option>Groups</option>
            </select>
            <input class="searchtext" id="topsearchbox" type="text"
              name="searchvalue"
              value="Type search terms here."
              onfocus="clearsearch()" />
            <input type="submit" value="Search"/>
          </form>
          <script type="text/javascript">
            function clearsearch() {
              topsearchbox = document.getElementById('topsearchbox');
              topsearchbox.onfocus = null;
              topsearchbox.value = "";
            }
          </script>
        </div>
      </div>
    </div>

    <div id="page">
      <div id="nav"><!-- 
      This used to have links.  Keeping around in case we move them back...
      --></div>

      <div id="sidebar">
        <h2>Tasks</h2>
        <p>
        <a href="${tg.url('/usernew')}">Add Person</a><br/>
        <a href="${tg.url('/userlist')}">Find People</a><br/>
        </p>
        <p>
        <a href="${tg.url('/groupindex')}">Add Group</a><br/>
        <a href="${tg.url('/groupindex')}">Find Groups</a><br/>
        </p>
        <p>
        <a href="${tg.url('/')}">Manage Policy</a><br/>
        <a href="${tg.url('/')}">Self Service</a><br/>
        </p>
      </div>

      <div py:replace="[item.text]+item[:]"></div>


      <div id="footer">
        <a href="http://www.freeipa.com/" target="_blank">Powered by FreeIPA</a>
      </div>
    </div>

</body>

</html>