diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-11-01 16:15:32 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-11-01 16:15:32 -0400 |
commit | 6a0ca23577813a1534298f1af4dfa03c2bfcfc1a (patch) | |
tree | 2c37caaec93820ab435cca1ca3a91dbe6affe380 /ipa-server/ipa-gui/ipagui/templates/delegateform.kid | |
parent | 77a105688c889e8e52d62349b0c2aade09132813 (diff) | |
download | freeipa-6a0ca23577813a1534298f1af4dfa03c2bfcfc1a.tar.gz freeipa-6a0ca23577813a1534298f1af4dfa03c2bfcfc1a.tar.xz freeipa-6a0ca23577813a1534298f1af4dfa03c2bfcfc1a.zip |
Update the UI look and feel
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates/delegateform.kid')
-rw-r--r-- | ipa-server/ipa-gui/ipagui/templates/delegateform.kid | 42 |
1 files changed, 10 insertions, 32 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/delegateform.kid b/ipa-server/ipa-gui/ipagui/templates/delegateform.kid index 9a6a6b0f9..62cc710f0 100644 --- a/ipa-server/ipa-gui/ipagui/templates/delegateform.kid +++ b/ipa-server/ipa-gui/ipagui/templates/delegateform.kid @@ -59,33 +59,23 @@ <form action="${action}" name="${name}" method="${method}" class="tableform"> - <table class="formtable" cellpadding="2" cellspacing="0" border="0"> - <tr> - <th> <input type="submit" class="submitbutton" name="submit" value="${actionname} Delegation"/> - <br/><br/> - </th> - <td> <input type="submit" class="submitbutton" name="submit" value="Cancel ${actionname}"/> - <br/><br/> - </td> - <td py:if='actionname == "Update"'> - + <span py:if='actionname == "Update"'> <input type="button" class="deletebutton" value="Delete Delegation" onclick="return confirmDelete();" /> - <br/><br/> - </td> - </tr> - </table> + </span> <div py:for="field in hidden_fields" py:replace="field.display(value_for(field), **params_for(field))" /> +<h2>Delegation Details</h2> + <table class="formtable" cellpadding="2" cellspacing="0" border="0"> <tr> <th valign="top"> @@ -114,13 +104,11 @@ py:content="tg.errors.get('source_group_dn')" /> </div> <div id="source_searcharea" style="display:none"> - <div> <input id="source_criteria" type="text" onkeypress="return enterDoSearch(event, 'source');" /> - <input type="button" value="Find" + <input class="searchbutton" type="button" value="Find" onclick="return doSearch('source');" /> - </div> <div id="source_searchresults"> </div> </div> @@ -156,7 +144,7 @@ <div> <input id="dest_criteria" type="text" onkeypress="return enterDoSearch(event, 'dest');" /> - <input type="button" value="Find" + <input class="searchbutton" type="button" value="Find" onclick="return doSearch('dest');" /> </div> @@ -167,28 +155,18 @@ </tr> </table> - <table class="formtable" cellpadding="2" cellspacing="0" border="0"> - <tr> - <th> - <br/> +<hr /> + <input type="submit" class="submitbutton" name="submit" value="${actionname} Delegation"/> - </th> - <td> - <br/> <input type="submit" class="submitbutton" name="submit" value="Cancel ${actionname}"/> - </td> - <td py:if='actionname == "Update"'> - <br/> - + <span py:if='actionname == "Update"'> <input type="button" class="deletebutton" value="Delete Delegation" onclick="return confirmDelete();" /> - </td> - </tr> - </table> + </span> <script py:if="not value.get('source_group_dn')" type="text/javascript"> |