test new show/hide button

This commit is contained in:
2015-07-09 12:50:05 +03:00
parent 82647eea3e
commit ea07206446
3 changed files with 71 additions and 27 deletions

View File

@@ -29,10 +29,6 @@
<p>You can add a new Email account your primary and all other domains.<br />
Please do not add your domain, just everything in front of the @-symbol.</p>
<div class="more">
<!--
<i class="show">Show &#187;</i>
<i class="hide">&#171; Hide</i>
-->
<button type="button" id="show" class="show">Show more &#187;</button>
<button type="button" id="hide" class="hide">&#171; Show less</button>
<br />
@@ -51,19 +47,27 @@
</div> <!-- /holder -->
</div> <!-- outer -->
<h2 id="changepw">Change password of an Email account</h2>
<form action="submit.php" method="post">
<label>Username:</label>
<input name="user" title="User" />
<label>New Password:</label>
<input name="pass" title="Password" type="password" />
<br />
<button type="submit" name="action" value="changepw">Change password</button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
<div id="gallery">
<h2 id="changepw">Change password of an Email account</h2>
<b class="switch"><span class="turn_on">Show</span><span class="turn_off">Hide</span> input fields...</b>
<div class="hide">
<form action="submit.php" method="post">
<label>Username:</label>
<input name="user" title="User" />
<label>New Password:</label>
<input name="pass" title="Password" type="password" />
<br />
<button type="submit" name="action" value="changepw">Change password</button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
</div>
<hr />
</div>
<h2 id="listusers">List all Email accounts</h2>
<form action="submit.php" method="post">
<button type="submit" name="action" value="listusers">List accounts</button>