test new show/hide button

This commit is contained in:
2015-07-09 13:00:42 +03:00
parent 14932f6244
commit a640c4d5ff
2 changed files with 20 additions and 37 deletions

View File

@@ -23,31 +23,24 @@
<hr />
<hr />
<div id="outer">
<div class="holder">
<h2 id="adduser">Add an Email account</h2>
<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">
<button type="button" id="show" class="show">Show more &#187;</button>
<button type="button" id="hide" class="hide">&#171; Show less</button>
<br />
<form action="submit.php" method="post">
<label>Username:</label>
<input name="user" title="User" />
<label>Password:</label>
<input name="pass" title="Password" type="password" />
<br />
<button type="submit" name="action" value="adduser">Add new account</button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /more -->
<hr />
</div> <!-- /holder -->
</div> <!-- outer -->
<div id="gallery">
<b class="switch"><span class="turn_on">Add</span><span class="turn_off">Add</span> an account</b>
<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="hide">
<form action="submit.php" method="post">
<label>Username:</label>
<input name="user" title="User" />
<label>Password:</label>
<input name="pass" title="Password" type="password" />
<br />
<button type="submit" name="action" value="adduser">Add new account</button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /hide -->
<b class="switch"><span class="turn_on">Change</span><span class="turn_off">Change</span> password</b>
<div class="hide">
<form action="submit.php" method="post">
@@ -61,7 +54,8 @@
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /hide -->
</div> <!-- gallery -->
</div> <!-- /gallery -->