2015-07-09 12:23:07 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en_EN">
|
2015-07-09 00:06:31 +03:00
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
2015-07-09 01:14:14 +03:00
|
|
|
<title>UAAP | Uberspace Account Administration Panel</title>
|
2015-07-09 12:08:09 +03:00
|
|
|
<link rel='stylesheet' href='/static/style.css' type='text/css' media='all' />
|
|
|
|
|
<script src="/static/click_toggle.js" type="text/javascript"></script>
|
2015-07-09 00:06:31 +03:00
|
|
|
</head>
|
2015-07-09 12:54:10 +03:00
|
|
|
<body>
|
2015-07-09 00:06:31 +03:00
|
|
|
|
2015-07-09 01:14:14 +03:00
|
|
|
<h1>Account Administration Panel</h1>
|
|
|
|
|
|
|
|
|
|
<p>You have following options:</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="#adduser">Add an Email account</a></li>
|
|
|
|
|
<li><a href="#changepw">Change password of an Email account</a></li>
|
|
|
|
|
<li><a href="#listusers">List all Email accounts</a></li>
|
|
|
|
|
<li><a href="#sizeall">Show total sizes of all Email accounts</a></li>
|
|
|
|
|
<li><a href="#sizeuser">Show size of every folder of a single Email account</a></li>
|
|
|
|
|
<li><a href="#userdetail">Detailed info about a single Email account</a></li>
|
|
|
|
|
<li><a href="#deluser">Delete an Email account</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<hr />
|
|
|
|
|
<hr />
|
|
|
|
|
|
2015-07-09 13:00:42 +03:00
|
|
|
<div id="gallery">
|
2015-07-09 13:10:27 +03:00
|
|
|
|
|
|
|
|
<!-- ADDUSER - Add a new Email account -->
|
2015-07-09 13:00:42 +03:00
|
|
|
<b class="switch"><span class="turn_on">Add</span><span class="turn_off">Add</span> an account</b>
|
2015-07-09 13:03:39 +03:00
|
|
|
<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 -->
|
|
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- CHANGEPW - Change password of an Email account -->
|
|
|
|
|
<b class="switch"><span class="turn_on">Change</span><span class="turn_off">Change</span> password</b>
|
2015-07-09 13:00:42 +03:00
|
|
|
<div class="hide">
|
|
|
|
|
<form action="submit.php" method="post">
|
|
|
|
|
<label>Username:</label>
|
|
|
|
|
<input name="user" title="User" />
|
2015-07-09 13:10:27 +03:00
|
|
|
<label>New Password:</label>
|
2015-07-09 13:00:42 +03:00
|
|
|
<input name="pass" title="Password" type="password" />
|
2015-07-09 12:08:09 +03:00
|
|
|
<br />
|
2015-07-09 13:10:27 +03:00
|
|
|
<button type="submit" name="action" value="changepw">Change password</button>
|
2015-07-09 13:00:42 +03:00
|
|
|
<!-- Hidden confirmation box -->
|
|
|
|
|
<input type="hidden" name="sure" value="yes" />
|
|
|
|
|
</form>
|
|
|
|
|
</div> <!-- /hide -->
|
2015-07-09 00:06:31 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- LISTUSERS - List all Email accounts -->
|
|
|
|
|
<b class="switch">List all Email users</b>
|
2015-07-09 12:50:05 +03:00
|
|
|
<div class="hide">
|
2015-07-09 13:10:27 +03:00
|
|
|
<p>Description</p>
|
2015-07-09 12:50:05 +03:00
|
|
|
<form action="submit.php" method="post">
|
2015-07-09 13:10:27 +03:00
|
|
|
<button type="submit" name="action" value="listusers">List accounts</button>
|
2015-07-09 12:50:05 +03:00
|
|
|
<!-- Hidden confirmation box -->
|
|
|
|
|
<input type="hidden" name="sure" value="yes" />
|
|
|
|
|
</form>
|
2015-07-09 12:54:10 +03:00
|
|
|
</div> <!-- /hide -->
|
2015-07-09 12:50:05 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- SIZEALL - Show total sizes of all Email accounts -->
|
|
|
|
|
<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>
|
2015-07-09 12:50:05 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- SIZEUSER - Show size of every folder of a single Email account -->
|
|
|
|
|
<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>
|
2015-07-09 00:06:31 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- USERDETAIL - Detailed info about a single Email account -->
|
|
|
|
|
<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>
|
2015-07-09 00:26:45 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
<!-- DELUSER - Delete an Email account -->
|
|
|
|
|
<p>Delete an Email account and all its emails.<br />
|
|
|
|
|
<warn>THIS OPERATION CANNOT BE UNDONE!<br />
|
|
|
|
|
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>
|
2015-07-09 00:26:45 +03:00
|
|
|
|
2015-07-09 13:10:27 +03:00
|
|
|
</div> <!-- /gallery -->
|
2015-07-09 00:06:31 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<p style="font-size:small">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>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|