mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
We now catch the hashchange event and use that to drive most of the site. To trigger page transitions, modify location.hash. Params start with # not ?. Removed user-group.inc. converted tabs to spaces trivial imlementation of add and details for netgroup and hostgroup lots of bug fixes based on routing problems and the refactorings.
146 lines
4.6 KiB
HTML
146 lines
4.6 KiB
HTML
<!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="add.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>
|
|
</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 id="filter" 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>
|
|
|
|
<div id="associations" style="display:none">
|
|
<h1>Enroll in Groups</h1>
|
|
<ul id="viewtype">
|
|
<li id="viewcaption">View:</li>
|
|
</ul>
|
|
<form>
|
|
<div style="border-width:1px">
|
|
<div >
|
|
<input type="text"/>
|
|
<input id="find" type="button" value="Find Groups"/>
|
|
<span style="float:right">
|
|
<input id="cancelEnrollGroups" type="button" value="Cancel"/>
|
|
<input id="enrollGroups" type="button" value="Enroll"/>
|
|
</span>
|
|
</div>
|
|
<div id="results" style="border: 2px solid rgb(0, 0, 0); position:relative; height:200px;" >
|
|
<div style="float:left;">
|
|
<div>Groups</div>
|
|
<select id="grouplist" width="150px" size="10" multiple="true" >
|
|
</select>
|
|
</div>
|
|
<div style="float:left;">
|
|
<p><input id="removeFromList" type="button" value="<<"/> </p>
|
|
<p><input id="addToList" type="button" value=">>"/></p>
|
|
</div>
|
|
<div style="float:left;">
|
|
<div>Prospective Enrollments</div>
|
|
<select id="enrollments" width="150px" size="10" multiple="true" >
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div>Message Area</div>
|
|
<hr/>
|
|
<div>
|
|
<span style="float:left">
|
|
<p>*Enter Group Names and Press Groups</p>
|
|
<p>*More stuff</p>
|
|
<p>*More stuff</p>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|