better usability
This commit is contained in:
31
index.php
31
index.php
@@ -1,12 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Email accounts administration</title>
|
||||
<title>UAAP | Uberspace Account Administration Panel</title>
|
||||
<link rel='stylesheet' href='/style.css' type='text/css' media='all' />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h3>Add an Email account</h3>
|
||||
<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 />
|
||||
|
||||
<h2 id="adduser">Add an Email account</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<label>Username:</label>
|
||||
<input name="user" title="User" />
|
||||
@@ -19,7 +34,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>Change password of an Email account</h3>
|
||||
<h2 id="changepw">Change password of an Email account</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<label>Username:</label>
|
||||
<input name="user" title="User" />
|
||||
@@ -32,7 +47,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>List all Email accounts</h3>
|
||||
<h2 id="listusers">List all Email accounts</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<button type="submit" name="action" value="listusers">List accounts</button>
|
||||
<!-- Hidden confirmation box -->
|
||||
@@ -40,7 +55,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>Show total sizes of all Email accounts</h3>
|
||||
<h2 id="sizeall">Show total sizes of all Email accounts</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<button type="submit" name="action" value="sizeall">Show size</button>
|
||||
<!-- Hidden confirmation box -->
|
||||
@@ -48,7 +63,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>Show size of every folder of a single Email account</h3>
|
||||
<h2 id="sizeuser">Show size of every folder of a single Email account</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<label>Username:</label>
|
||||
<input name="user" title="User" />
|
||||
@@ -59,7 +74,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>Detailed info about a single Email account</h3>
|
||||
<h2 id="userdetail">Detailed info about a single Email account</h2>
|
||||
<form action="submit.php" method="post">
|
||||
<label>Username:</label>
|
||||
<input name="user" title="User" />
|
||||
@@ -70,7 +85,7 @@
|
||||
</form>
|
||||
<hr />
|
||||
|
||||
<h3>Delete an Email account</h3>
|
||||
<h2 id="deluser">Delete an Email account</h2>
|
||||
<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>
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Email accounts administration</title>
|
||||
<title>UAAP | Results</title>
|
||||
<link rel='stylesheet' href='/style.css' type='text/css' media='all' />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p><a href="/">< GO BACK</a> to main administration page</p>
|
||||
|
||||
<h1>Results</h1>
|
||||
|
||||
<table class="boxed"><tr><td>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user