summaryrefslogtreecommitdiffstats
path: root/install/ui/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/layouts')
-rw-r--r--install/ui/layouts/Makefile.am22
-rw-r--r--install/ui/layouts/default/Makefile.am30
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-accesstime.html49
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-general.html57
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-host.html78
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-service.html78
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-sourcehost.html78
-rwxr-xr-xinstall/ui/layouts/default/hbacrule-details-user.html78
-rwxr-xr-xinstall/ui/layouts/default/sudorule-details-general.html49
-rwxr-xr-xinstall/ui/layouts/default/sudorule-group-dialog.html110
-rwxr-xr-xinstall/ui/layouts/default/sudorule-host-dialog.html110
-rwxr-xr-xinstall/ui/layouts/default/sudorule-hostgroup-dialog.html110
-rwxr-xr-xinstall/ui/layouts/default/sudorule-user-dialog.html110
13 files changed, 959 insertions, 0 deletions
diff --git a/install/ui/layouts/Makefile.am b/install/ui/layouts/Makefile.am
new file mode 100644
index 000000000..711c236f0
--- /dev/null
+++ b/install/ui/layouts/Makefile.am
@@ -0,0 +1,22 @@
+AUTOMAKE_OPTIONS = 1.7
+
+NULL =
+
+SUBDIRS = \
+ default \
+ $(NULL)
+
+appdir = $(IPA_DATA_DIR)/ui/layouts
+app_DATA = \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(app_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+ $(NULL)
+
+distclean:
diff --git a/install/ui/layouts/default/Makefile.am b/install/ui/layouts/default/Makefile.am
new file mode 100644
index 000000000..82a58c7f6
--- /dev/null
+++ b/install/ui/layouts/default/Makefile.am
@@ -0,0 +1,30 @@
+AUTOMAKE_OPTIONS = 1.7
+
+NULL =
+
+SUBDIRS = \
+ $(NULL)
+
+appdir = $(IPA_DATA_DIR)/ui/layouts/default
+app_DATA = \
+ hbacrule-details-accesstime.html \
+ hbacrule-details-general.html \
+ hbacrule-details-host.html \
+ hbacrule-details-service.html \
+ hbacrule-details-sourcehost.html \
+ hbacrule-details-user.html \
+ sudorule-details-general.html \
+ sudorule-group-dialog.html \
+ sudorule-host-dialog.html \
+ sudorule-hostgroup-dialog.html \
+ sudorule-user-dialog.html \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(app_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+ $(NULL)
diff --git a/install/ui/layouts/default/hbacrule-details-accesstime.html b/install/ui/layouts/default/hbacrule-details-accesstime.html
new file mode 100755
index 000000000..8d5e258b3
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-accesstime.html
@@ -0,0 +1,49 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>When</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ <span name="accesstime">
+ <span name="text">Rule applies when access is being requested at:</span>
+ <input type="radio" name="accesstime" value="all"/>Any Time
+ <input type="radio" name="accesstime" value=""/>Specified Times
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ <br/>
+
+ <span name="table">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Access Time</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Access Times"/>
+ <input type="button" name="add" value="Add Access Times"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="time"/>
+ </td>
+ <td>
+ <span name="accesstime">time</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+ </span>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/install/ui/layouts/default/hbacrule-details-general.html b/install/ui/layouts/default/hbacrule-details-general.html
new file mode 100755
index 000000000..978369090
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-general.html
@@ -0,0 +1,57 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>General</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ <table style="width: 100%; border: 0 solid black;">
+ <tr>
+ <td style="width: 100px; text-align: right;">
+ Name:
+ </td>
+ <td>
+ <span name="cn">
+ <input type="text" name="cn" size="30"/>
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ <td style="text-align: right;">
+ Rule type:
+ <span name="accessruletype">
+ <input type="radio" name="accessruletype" value="allow"/>Allow
+ <input type="radio" name="accessruletype" value="deny"/>Deny
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align: right; vertical-align: top;">
+ Description:
+ </td>
+ <td colspan="2">
+ <span name="description">
+ <textarea name="description" rows="5" style="width: 100%;" cols="40"></textarea>
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align: right; vertical-align: top;">
+ Rule status:
+ </td>
+ <td colspan="2">
+ <span name="ipaenabledflag">
+ <input type="radio" name="ipaenabledflag" value="TRUE"/>Active
+ <input type="radio" name="ipaenabledflag" value="FALSE"/>Inactive
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ </table>
+</div>
+</body>
+</html>
diff --git a/install/ui/layouts/default/hbacrule-details-host.html b/install/ui/layouts/default/hbacrule-details-host.html
new file mode 100755
index 000000000..1ba386dab
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-host.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Accessing</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ Rule applies when access is requested to:
+ <span name="hostcategory">
+ <input type="radio" name="hostcategory" value="all"/>Any Host
+ <input type="radio" name="hostcategory" value=""/>Specified Hosts and Groups
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ <br/>
+
+ <span name="memberhost_host">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Host</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Hosts"/>
+ <input type="button" name="add" value="Add Hosts"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="host"/>
+ </td>
+ <td>
+ <span name="memberhost_host">host</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+
+ <span name="memberhost_hostgroup">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Host Group</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Host Groups"/>
+ <input type="button" name="add" value="Add Host Groups"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="hostgroups"/>
+ </td>
+ <td>
+ <span name="memberhost_hostgroup">hostgroups</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/install/ui/layouts/default/hbacrule-details-service.html b/install/ui/layouts/default/hbacrule-details-service.html
new file mode 100755
index 000000000..77e8420d3
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-service.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Via Service</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ Rule applies when access is requested via:
+ <span name="servicecategory">
+ <input type="radio" name="servicecategory" value="all"/>Any Service
+ <input type="radio" name="servicecategory" value=""/>Specified Services and Groups
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ <br/>
+
+ <span name="memberservice_hbacsvc">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Service</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Services"/>
+ <input type="button" name="add" value="Add Services"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="service"/>
+ </td>
+ <td>
+ <span name="memberservice_hbacsvc">service</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+
+ <span name="memberservice_hbacsvcgroup">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Service Group</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Service Groups"/>
+ <input type="button" name="add" value="Add Service Groups"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="services"/>
+ </td>
+ <td>
+ <span name="memberservice_hbacsvcgroup">services</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/install/ui/layouts/default/hbacrule-details-sourcehost.html b/install/ui/layouts/default/hbacrule-details-sourcehost.html
new file mode 100755
index 000000000..aae1ef380
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-sourcehost.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>From</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ Rule applies when access is being initiated from:
+ <span name="sourcehostcategory">
+ <input type="radio" name="sourcehostcategory" value="all"/>Any Host
+ <input type="radio" name="sourcehostcategory" value=""/>Specified Hosts and Groups
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ <br/>
+
+ <span name="sourcehost_host">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Host</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Hosts"/>
+ <input type="button" name="add" value="Add Hosts"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="host"/>
+ </td>
+ <td>
+ <span name="sourcehost_host">host</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+
+ <span name="sourcehost_hostgroup">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">Host Group</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Host Groups"/>
+ <input type="button" name="add" value="Add Host Groups"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="hosts"/>
+ </td>
+ <td>
+ <span name="sourcehost_hostgroup">hosts</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/install/ui/layouts/default/hbacrule-details-user.html b/install/ui/layouts/default/hbacrule-details-user.html
new file mode 100755
index 000000000..1b58848fe
--- /dev/null
+++ b/install/ui/layouts/default/hbacrule-details-user.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Who</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ Rule applies when access is requested by:
+ <span name="usercategory">
+ <input type="radio" name="usercategory" value="all"/>Anyone
+ <input type="radio" name="usercategory" value=""/>Specified Users and Groups
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ <br/>
+
+ <span name="memberuser_user">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">User</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove Users"/>
+ <input type="button" name="add" value="Add Users"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="user"/>
+ </td>
+ <td>
+ <span name="memberuser_user">user</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+
+ <span name="memberuser_group">
+ <table class="search-table">
+ <thead>
+ <tr>
+ <th style="width: 25px;">
+ <input type="checkbox" name="select"/>
+ </th>
+ <th>
+ <span style="float: left;">User Group</span>
+ <span name="buttons" style="float: right;">
+ <input type="button" name="remove" value="Remove User Groups"/>
+ <input type="button" name="add" value="Add User Groups"/>
+ </span>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <input type="checkbox" name="select" value="users"/>
+ </td>
+ <td>
+ <span name="memberuser_group">users</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </span>
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/install/ui/layouts/default/sudorule-details-general.html b/install/ui/layouts/default/sudorule-details-general.html
new file mode 100755
index 000000000..728ecf11e
--- /dev/null
+++ b/install/ui/layouts/default/sudorule-details-general.html
@@ -0,0 +1,49 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>General</title>
+
+ <link rel="stylesheet" type="text/css" href="jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="ipa.css" />
+</head>
+<body>
+<div id="contents">
+ <table style="width: 100%; border: 0 solid black;">
+ <tr>
+ <td style="width: 100px; text-align: right;">
+ Name:
+ </td>
+ <td>
+ <span name="cn">
+ <input type="text" name="cn" size="30"/>
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align: right; vertical-align: top;">
+ Description:
+ </td>
+ <td>
+ <span name="description">
+ <textarea name="description" rows="5" style="width: 100%;" cols="40"></textarea>
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ <tr>
+ <td style="text-align: right; vertical-align: top;">
+ Rule status:
+ </td>
+ <td>
+ <span name="ipaenabledflag">
+ <input type="radio" name="ipaenabledflag" value="TRUE"/>Active
+ <input type="radio" name="ipaenabledflag" value="FALSE"/>Inactive
+ <span name="undo" class="ui-state-highlight ui-corner-all" style="display: none;">undo</span>
+ </span>
+ </td>
+ </tr>
+ </table>
+</div>
+</body>
+</html>
diff --git a/install/ui/layouts/default/sudorule-group-dialog.html b/install/ui/layouts/default/sudorule-group-dialog.html
new file mode 100755
index 000000000..d576f1a1f
--- /dev/null
+++ b/install/ui/layouts/default/sudorule-group-dialog.html
@@ -0,0 +1,110 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Adder Dialog</title>
+
+ <link rel="stylesheet" type="text/css" href="../../jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="../../ipa.css" />
+</head>
+<body>
+<div id="contents">
+
+ <div class="adder-dialog-filter">
+ <input type="text" name="filter" style="width: 244px">
+ <input type="button" name="find" value="Find">
+ </div>
+
+ <div class="adder-dialog-results">
+
+ <div name="available" class="adder-dialog-internal">
+
+ <div class="ui-widget-header">
+ Available
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Groups
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 106px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="cn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="buttons" class="adder-dialog-buttons">
+ <p><input type="button" name="remove" value="<<"></p>
+ <p><input type="button" name="add" value=">>"></p>
+ </div>
+
+ <div name="selected" class="adder-dialog-selected">
+
+ <div class="ui-widget-header">
+ Prospective
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Groups
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 151px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="cn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="external" class="adder-dialog-external">
+
+ <div class="ui-widget-header">
+ External
+ </div>
+
+ <input type="text" name="external" style="width: 244px">
+ </div>
+
+ </div>
+</div>
+</body>
+</html>
diff --git a/install/ui/layouts/default/sudorule-host-dialog.html b/install/ui/layouts/default/sudorule-host-dialog.html
new file mode 100755
index 000000000..5eec41868
--- /dev/null
+++ b/install/ui/layouts/default/sudorule-host-dialog.html
@@ -0,0 +1,110 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Adder Dialog</title>
+
+ <link rel="stylesheet" type="text/css" href="../../jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="../../ipa.css" />
+</head>
+<body>
+<div id="contents">
+
+ <div class="adder-dialog-filter">
+ <input type="text" name="filter" style="width: 244px">
+ <input type="button" name="find" value="Find">
+ </div>
+
+ <div class="adder-dialog-results">
+
+ <div name="available" class="adder-dialog-internal">
+
+ <div class="ui-widget-header">
+ Available
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Hosts
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 106px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="fqdn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="buttons" class="adder-dialog-buttons">
+ <p><input type="button" name="remove" value="<<"></p>
+ <p><input type="button" name="add" value=">>"></p>
+ </div>
+
+ <div name="selected" class="adder-dialog-selected">
+
+ <div class="ui-widget-header">
+ Prospective
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Hosts
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 151px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="fqdn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="external" class="adder-dialog-external">
+
+ <div class="ui-widget-header">
+ External
+ </div>
+
+ <input type="text" name="external" style="width: 244px">
+ </div>
+
+ </div>
+</div>
+</body>
+</html>
diff --git a/install/ui/layouts/default/sudorule-hostgroup-dialog.html b/install/ui/layouts/default/sudorule-hostgroup-dialog.html
new file mode 100755
index 000000000..57d72f387
--- /dev/null
+++ b/install/ui/layouts/default/sudorule-hostgroup-dialog.html
@@ -0,0 +1,110 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Adder Dialog</title>
+
+ <link rel="stylesheet" type="text/css" href="../../jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="../../ipa.css" />
+</head>
+<body>
+<div id="contents">
+
+ <div class="adder-dialog-filter">
+ <input type="text" name="filter" style="width: 244px">
+ <input type="button" name="find" value="Find">
+ </div>
+
+ <div class="adder-dialog-results">
+
+ <div name="available" class="adder-dialog-internal">
+
+ <div class="ui-widget-header">
+ Available
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Host Groups
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 106px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="cn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="buttons" class="adder-dialog-buttons">
+ <p><input type="button" name="remove" value="<<"></p>
+ <p><input type="button" name="add" value=">>"></p>
+ </div>
+
+ <div name="selected" class="adder-dialog-selected">
+
+ <div class="ui-widget-header">
+ Prospective
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Host Groups
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 151px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="cn"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="external" class="adder-dialog-external">
+
+ <div class="ui-widget-header">
+ External
+ </div>
+
+ <input type="text" name="external" style="width: 244px">
+ </div>
+
+ </div>
+</div>
+</body>
+</html>
diff --git a/install/ui/layouts/default/sudorule-user-dialog.html b/install/ui/layouts/default/sudorule-user-dialog.html
new file mode 100755
index 000000000..78687cead
--- /dev/null
+++ b/install/ui/layouts/default/sudorule-user-dialog.html
@@ -0,0 +1,110 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Adder Dialog</title>
+
+ <link rel="stylesheet" type="text/css" href="../../jquery-ui.css" />
+ <link rel="stylesheet" type="text/css" href="../../ipa.css" />
+</head>
+<body>
+<div id="contents">
+
+ <div class="adder-dialog-filter">
+ <input type="text" name="filter" style="width: 244px">
+ <input type="button" name="find" value="Find">
+ </div>
+
+ <div class="adder-dialog-results">
+
+ <div name="available" class="adder-dialog-internal">
+
+ <div class="ui-widget-header">
+ Available
+ </div>
+
+ <table class="search-table scrollable">
+ <thead style="display: block;">
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Users
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 106px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="uid"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="buttons" class="adder-dialog-buttons">
+ <p><input type="button" name="remove" value="<<"></p>
+ <p><input type="button" name="add" value=">>"></p>
+ </div>
+
+ <div name="selected" class="adder-dialog-selected">
+
+ <div class="ui-widget-header">
+ Prospective
+ </div>
+
+ <table class="search-table scrollable">
+ <thead>
+ <tr>
+ <th style="width: 22px;">
+ <input type="checkbox" name="select">
+ </th>
+ <th style="width: 216px;">
+ Users
+ </th>
+ </tr>
+ </thead>
+ <tbody style="height: 151px;">
+ <tr>
+ <td style="width: 22px;">
+ <input type="checkbox" name="select">
+ </td>
+ <td style="width: 200px;">
+ <span name="uid"></span>
+ </td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <span name="summary"></span>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </div>
+
+ <div name="external" class="adder-dialog-external">
+
+ <div class="ui-widget-header">
+ External
+ </div>
+
+ <input type="text" name="external" style="width: 244px">
+ </div>
+
+ </div>
+</div>
+</body>
+</html>