141 lines
5.9 KiB
PHP
141 lines
5.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en-EN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>UAAP | Uberspace Account Administration Panel</title>
|
|
<link rel='stylesheet' href='/static/style.css' type='text/css' media='all' />
|
|
<script src="/static/click_toggle.js" type="text/javascript"></script>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
|
|
<h1>Account Administration Panel</h1>
|
|
|
|
<h4>You have following options:</h4>
|
|
|
|
<div id="gallery">
|
|
<p><strong>General</strong></p>
|
|
<!-- VIEWDATA - View datasheet of whole account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> View the data sheet</b>
|
|
<div class="hide">
|
|
<p>View the data sheet with all usernames and passwords. <warn>Please keep this document secure!</warn></p>
|
|
<form action="submit.php" method="post">
|
|
<button type="submit" name="action" value="viewdata">View data sheet</button>
|
|
<!-- Hidden confirmation box -->
|
|
<input type="hidden" name="sure" value="yes" />
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
<p><strong>Email accounts</strong></p>
|
|
<!-- ADDUSER - Add a new email account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Add a new email</b>
|
|
<div class="hide">
|
|
<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>
|
|
<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 -->
|
|
|
|
<!-- CHANGEPW - Change password of an email account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Change email password</b>
|
|
<div class="hide">
|
|
<p>Enables you to change the email password of a single account.</p>
|
|
<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> <!-- /hide -->
|
|
|
|
<!-- LISTUSERS - List all email accounts -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> List all email accounts</b>
|
|
<div class="hide">
|
|
<p>Shows all available email accounts on your webhost.
|
|
You will be able to see the username and if it has a mailbox or is just a redirection.</p>
|
|
<form action="submit.php" method="post">
|
|
<button type="submit" name="action" value="listusers">List accounts</button>
|
|
<!-- Hidden confirmation box -->
|
|
<input type="hidden" name="sure" value="yes" />
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
<!-- SIZEALL - Show total sizes of all email accounts -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Show total account sizes</b>
|
|
<div class="hide">
|
|
<p>Shows total size of every active email account on your webhost.</p>
|
|
<form action="submit.php" method="post">
|
|
<button type="submit" name="action" value="sizeall">Show size</button>
|
|
<!-- Hidden confirmation box -->
|
|
<input type="hidden" name="sure" value="yes" />
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
<!-- SIZEUSER - Show size of every folder of a single email account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Show detailed account size</b>
|
|
<div class="hide">
|
|
<p>Shows size of every single folder in a single email account.
|
|
Very useful to detect folders which use up all your space.</p>
|
|
<form action="submit.php" method="post">
|
|
<label>Username:</label>
|
|
<input name="user" title="User" />
|
|
<br />
|
|
<button type="submit" name="action" value="sizeuser">Show size</button>
|
|
<!-- Hidden confirmation box -->
|
|
<input type="hidden" name="sure" value="yes" />
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
<!-- USERDETAIL - Detailed info about a single email account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Show detailed account info</b>
|
|
<div class="hide">
|
|
<p>Show various information about a single email account.</p>
|
|
<form action="submit.php" method="post">
|
|
<label>Username:</label>
|
|
<input name="user" title="User" />
|
|
<br />
|
|
<button type="submit" name="action" value="userdetail">Get details</button>
|
|
<!-- Hidden confirmation box -->
|
|
<input type="hidden" name="sure" value="yes" />
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
<!-- DELUSER - Delete an email account -->
|
|
<b class="switch"><span class="turn_on">»</span><span class="turn_off">«</span> Delete an email account</b>
|
|
<div class="hide">
|
|
<p>Deletes an email account and all its emails.<br />
|
|
<warn>THIS OPERATION CANNOT BE UNDONE! ALL EMAILS OF THIS ACCOUNT WILL BE REMOVED!</warn></p>
|
|
<form action="submit.php" method="post">
|
|
<label>Username:</label>
|
|
<input name="user" title="User" />
|
|
<br />
|
|
<label for="sure">
|
|
<input type="checkbox" name="sure" value="yes" id="sure">Yes, I'm really sure that I want to delete this account
|
|
</label>
|
|
<button type="submit" name="action" value="deluser">Delete account</button>
|
|
</form>
|
|
</div> <!-- /hide -->
|
|
|
|
</div> <!-- /gallery -->
|
|
|
|
</div> <!-- /wrapper -->
|
|
<div class="footer">
|
|
<p>This web application has been created by <a href="http://mehl.mx">Max Mehl</a><br />
|
|
The program can be obtained on <a href="http://src.mehl.mx/uberspace-webadmin.git">Git</a> under a GPLv3+ license.</p>
|
|
</div> <!-- footer -->
|
|
|
|
</body>
|
|
</html>
|