Started implementing the "Add password" feature

This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2010-12-21 17:59:24 +01:00
parent 06f71cb3c9
commit aca3feb94b
2 changed files with 41 additions and 0 deletions

View File

@ -61,3 +61,11 @@ a {
cursor: pointer; cursor: pointer;
} }
span.button {
text-decoration: underline;
cursor: pointer;
}
#addpassword {
}

View File

@ -2,6 +2,39 @@
<h2>Search</h2> <h2>Search</h2>
<div id="error"></div> <div id="error"></div>
<input type="text" id="query" name="query" /><input type="button" id="clearsearch" value="" class="submit" /> <input type="text" id="query" name="query" /><input type="button" id="clearsearch" value="" class="submit" />
<div id="addpassword">
<h2 id="passeditor_title">Add new password</h2>
<table>
<tr class="required">
<td>Short description</td>
<td><input type="text" name="short" /></td>
</tr>
<tr>
<td>Long description</td>
<td><textarea name="long"></textarea></td>
</tr>
<tr>
<td>Username</td>
<td><input type="text" name="username" /></td>
</tr>
<tr class="required">
<td>Password (twice)</td>
<td>
<input type="password" name="password1" value="" /><br />
<input type="password" name="password2" value="" />
</td>
</tr>
<tr>
<td>Additional information</td>
<td><textarea name="additional"></textarea></td>
</tr>
<tr>
<td>Available in groups</td>
<td><select name="pwgroups[]"></select></td>
</tr>
</table>
<input type="button" id="save_password" value="Save" class="submit" />
</div>
<div id="results"></div> <div id="results"></div>
<div id="info"></div> <div id="info"></div>
<div id="passwordgroups"> <div id="passwordgroups">