summaryrefslogtreecommitdiffstats
path: root/install/static/index.xhtml
blob: 422538c9a7e80b8c59ebd0a8a14dba6a5d92043d (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>IPA: Identity Policy Audit</title>
    <link href="ipa.css"  rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.cookie.js"></script>

    <script type="text/javascript">
        /* the develop.js file that follows will set this to true.
           that file should only exist in the source file system
           and should not get deployed to the web server */
        var useSampleData = false;
    </script>

    <script type="text/javascript" src="ipa.js"></script>
    <script type="text/javascript" src="navigation.js"></script>
    <script type="text/javascript" src="sampledata/develop.js"></script>
    <script type="text/javascript" src="search.js"></script>
    <script type="text/javascript" src="details.js"></script>
    <script type="text/javascript" src="user.js"></script>
    <script type="text/javascript" src="usermeta.js"></script>
    <script type="text/javascript" src="group.js"></script>
    <script type="text/javascript" src="groupmeta.js"></script>
    <script type="text/javascript" src="host.js"></script>
    <script type="text/javascript" src="hostgroup.js"></script>
    <script type="text/javascript" src="netgroup.js"></script>

    <script type="text/javascript">

      $(document).ready(function(){
      if (useSampleData)
        ipa_init("sampledata/metadata.json", buildNavigation);
      else
        ipa_init(null, buildNavigation);
      });

    </script>
  </head>
  <body>
    <div class="header" >
      <span class="logo">
	<a href="#"><img src="ipalogo.png" /></a>
      </span>
      <span class="LoggedInAs" id="loggedinas">
	  Logged in as <strong>hardcoded@FREEIP.ORG</strong>
      </span>
    </div>

    <div id="navigation">
      <div id="main-nav" />
      <div id="sub-nav">Edit: </div>
    </div>

    <div id="content" border="1"  style="display:none" >
    </div>

    <div id="details" style="display:none" >
      <h1>Managing user:</h1>
      <div id="buttons">
	<a href="jslink" onclick="return (reset_on_click(this));">
          <img id="butreset" src="but-reset.png" alt="Reset" />
	</a>
	<a href="jslink" onclick="return (update_on_click(this));">
          <img id="butupdate" src="but-update.png" alt="Update" />
	</a>
      </div>

      <ul id="viewtype">
	<li id="viewcaption">View:</li>
	<li>
          <img src="but-selected.png" alt="" />
          Identity Details
	</li>
	<li>
          <img src="but-unselected.png" alt="" />
          <a href="memberof?pkey=${pkey}">Memberships</a>
	</li>
      </ul>
      <div id="detail-lists">
	<hr />
      </div>
      <div id="backtotop">
	<a href="#viewtype">Back to Top</a>
      </div>
    </div>

    <div id="search"  style="display:none">
      <div class="searchControls" >
	<span class="filter"  >
	  <input id="queryFilter" type="text"/>
	  <input id="query" type="submit" value="find" />
	  <input id="new" type="submit" value="new" />
	</span>
	<span class="filter" id="searchButtons" />
      </div>
      <table id="searchResultsTable"  class="SearchResults" >
	<thead></thead>
	<tfoot></tfoot>

	<tbody></tbody>
      </table>
    </div>

  </body>
</html>