add quota functionality

This commit is contained in:
2015-07-10 19:07:54 +03:00
parent 47a47d6331
commit 00db2a200a
2 changed files with 42 additions and 1 deletions

View File

@@ -14,6 +14,10 @@
<h4>You have following options:</h4>
<div id="gallery">
<!--
GENERAL SECTION
-->
<p><strong>General</strong></p>
<!-- VIEWDATA - View datasheet of whole account -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> View the data sheet</b>
@@ -26,6 +30,22 @@
</form>
</div> <!-- /hide -->
<!-- QUOTA - Show free and used disk space an whole account -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Show used disk space</b>
<div class="hide">
<p>Shows used and free disk space on your webhost. This sums up all
used space by emails, websites and databases.</p>
<form action="submit.php" method="post">
<button type="submit" name="action" value="quota">Show usage</button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /hide -->
<!--
EMAIL SECTION
-->
<p><strong>Email accounts</strong></p>
<!-- ADDUSER - Add a new email account -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Add a new email</b>