diff options
author | Adam Young <ayoung@redhat.com> | 2010-08-06 10:01:44 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-08-06 11:55:38 -0400 |
commit | 125bd09faf21411fafda01e76989b4856bbd267c (patch) | |
tree | b9e2ad70165154f95463f6a69dc5d62de5821f87 /install/static/user-add.inc | |
parent | a63fd83e890ed4f2ec3f0cd0f96f0a329698796a (diff) | |
download | freeipa.git-125bd09faf21411fafda01e76989b4856bbd267c.tar.gz freeipa.git-125bd09faf21411fafda01e76989b4856bbd267c.tar.xz freeipa.git-125bd09faf21411fafda01e76989b4856bbd267c.zip |
The Javascript code for the new web UI
Now with whitespace cleanup.
Diffstat (limited to 'install/static/user-add.inc')
-rw-r--r-- | install/static/user-add.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/install/static/user-add.inc b/install/static/user-add.inc new file mode 100644 index 00000000..208b133a --- /dev/null +++ b/install/static/user-add.inc @@ -0,0 +1,25 @@ +<script type="text/javascript"> + $(document).ready(function(){ + $("#addEdit").click(addEditUser); + $("#addAnother").click(addAnotherUser); + + /*this is a placeholder. We will need to I18N */ + $("#content h1").text( "Add a User."); + }); +</script> +<div id="buttons"> + <span>Add and :</span> + <input id="addEdit" type='button' value="Edit" /> + <span>|</span> + <input id="addAnother" type='button' value="Add Another" /> +</div> + +<h1></h1> +<dl class="entryattrs"> + <dt title="login">login</dt> + <dd><input id='login' type='text' value=''/></dd> + <dt title ="firstname">First Name</dt> + <dd><input id='firstname' type='text' value=''/></dd> + <dt title="lastname">Last Name</dt> + <dd><input id='lastname' type='text' value=''/></dd> +</dl> |