Commit 9517d27d authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

Standardisation de l'interface web d'AlternC, qui passe maintenant la

validation du w3c

Refonte de certains styles et couleurs, tel que discuté sur la liste de
discussion.

Des modifications locales peuvent maintenant être faites dans
styles/custom.css qui n'est pas distribué avec AlternC et donc jamais
remplacé.

Contribution de Marc Angles
Sponsorisé par Koumbit
parent aad2d5ef
......@@ -30,6 +30,5 @@
/* ############# BROUTEUR ############# */
?>
<tr><td nowrap="nowrap">
<a href="bro_main.php"><?php __("File browser"); ?></a><br />
</td></tr>
<dt id="browser"><?php __("File browser"); ?></dt>
<dd><a href="bro_main.php"><?php __("File browser"); ?></a></dd>
......@@ -32,17 +32,16 @@
$q=$quota->getquota("dom");
if ($q["t"]>0) {
?>
<tr><td nowrap="nowrap">
<?php __("Domains"); ?><br />
<dt><?php __("Domains"); ?></dt>
<?php if ($quota->cancreate("dom")) { ?>
- <a href="dom_add.php"><?php __("Add a domain"); ?></a><br />
<dd class="action"><a href="dom_add.php"><?php __("Add a domain"); ?></a></dd>
<?php }
/* Enumeration des domaines : */
$domain=$dom->enum_domains();
reset($domain);
while (list($key,$val)=each($domain)) {
?>
- <a href="dom_edit.php?domain=<?php echo urlencode($val) ?>"><?php echo $val ?></a><br />
<dd class="element"><a href="dom_edit.php?domain=<?php echo urlencode($val) ?>"><?php echo $val ?></a></dd>
<?php } ?>
</td></tr>
</dd></dt>
<?php } ?>
......@@ -32,7 +32,6 @@
$q=$quota->getquota("ftp");
if ($q["t"]>0) {
?>
<tr><td nowrap="nowrap">
<a href="ftp_list.php"><?php __("FTP accounts"); ?></a><br />
</td></tr>
<dt id="ftp"><?php __("FTP accounts"); ?></dt>
<dd><a href="ftp_list.php"><?php __("FTP accounts"); ?></a></dd>
<?php } ?>
......@@ -28,7 +28,7 @@
----------------------------------------------------------------------
*/
?>
<tr><td nowrap="nowrap">
<a href="mem_param.php"><?php __("Settings"); ?></a><br />
<a href="mem_logout.php" target="_parent"><?php __("Logout"); ?></a><br />
</td></tr>
<dt id="settings"><?php __("Settings"); ?></dt>
<dd><a href="mem_param.php"><?php __("Settings"); ?></a></dd>
<dt id="logout"><?php __("Logout"); ?></dt>
<dd><a href="mem_logout.php" target="_parent"><?php __("Logout"); ?></a></dd>
......@@ -28,6 +28,5 @@
----------------------------------------------------------------------
*/
?>
<tr><td nowrap="nowrap">
<a href="quota_show.php"><?php __("Show my quotas"); ?></a><br />
</td></tr>
<dt id="quota"><?php __("Show my quotas"); ?></dt>
<dd><a href="quota_show.php"><?php __("Show my quotas"); ?></a></dd>
......@@ -30,12 +30,10 @@
$r=$quota->getquota("mysql");
if ($r["t"]) {
?>
<tr><td nowrap="nowrap">
MySQL<br />
- <a href="sql_users_list.php"><?php __("MySQL Users") ?></a><br />
- <a href="sql_list.php"><?php __("Databases"); ?></a><br />
- <a target="_blank" href="sql_admin.php"><?php __("SQL Admin"); ?></a><br />
</td></tr>
<dt id="mysql">MySQL</dt>
<dd><a href="sql_users_list.php"><?php __("MySQL Users") ?></a></dd>
<dd><a href="sql_list.php"><?php __("Databases"); ?></a></dd>
<dd><a target="_blank" href="sql_admin.php"><?php __("SQL Admin"); ?></a></dd>
<?php
}
?>
......@@ -33,7 +33,6 @@ $q=$quota->getquota("sta2");
$r=$quota->getquota("dom");
if ($q["t"]>0 && $r["u"]>0) {
?>
<tr><td nowrap="nowrap">
<a href="sta2_list.php"><?php __("Raw web statistics"); ?></a><br />
</td></tr>
<dt id="stats"><?php __("Raw web statistics"); ?></dt>
<dd><a href="sta2_list.php"><?php __("Raw web statistics"); ?></a></dd>
<?php } ?>
......@@ -30,6 +30,5 @@
/* ############# WEB ACCESS ############# */
?>
<tr><td nowrap="nowrap">
<a href="hta_list.php"><?php __("Protected folders"); ?></a><br />
</td></tr>
<dt id="web-access"><?php __("Protected folders"); ?></dt>
<dd><a href="hta_list.php"><?php __("Protected folders"); ?></a></dd>
body {
font-family: sans-serif;
font-size: 85%;
}
.hlp {
color: #202020;
}
td {
color: #000000;
}
th {
/* color: #007799;*/
}
h3 {
color: #CB781A;
}
h4 {
color: #007777;
}
hr {
border: none;
border-top: 1px solid #000;
}
.inp {
/* Should not be use anymore !!! */
border-color: blue;
border-width: 5px;
background-color: #500000;
color: white;
}
.inc, .inl {
border-style: none;
color: black;
}
.inb {
border: 1px solid #aaa;
color: black;
}
.int {
border: 1px solid #aaa;
color: black;
}
.lst1 {
background-color: #FFFFFF;
}
.lst2 {
background-color: #EEEEEE;
}
.dlogin {
text-align: center;
}
.login {
margin-left: auto;
margin-right: auto;
}
img {
border: 0px;
vertical-align: middle;
}
.error {
color: red;
font-weight: bold;
}
/* Over quota class */
.over {
color: red;
}
.code {
font-size: 16px;
font-family: Courier New, Fixed;
font-weight: bold;
text-align: center;
}
a {
color:#333;
}
a:hover {
color:#CB781A;
}
a:visited {
color:#985B16;
}
body#menu {
border-right:1px solid #000;
font-size: .9em;
padding-bottom: 2em;
margin:0;
}
body#menu img {
padding: 5px;
}
body#menu h3 {
padding-left: 5px;
margin: .5em 0;
}
#menu-list a {
display:block;
padding: 2px;
margin:0;
}
#menu-list a:hover {
color: #000;
background-color: #EBE0D0;
}
#menu dl {
margin: .5em 0;
}
#menu-list dt {
font-weight:bold;
color:#777;
font-size:.9em;
/*margin: 4px 0 2px 0;*/
padding: 7px .1em 0 5px;
/*background-color: #ccc;*/
border-bottom: 2px solid #ccc;
}
#menu-list dd {
padding:0;
margin:0;
font-size: 1em;
border-bottom: 1px solid #ccc;
}
#alternc-logo {
padding: .5em ;
text-align: center;
background-color: #CB781A;
}
#alternc-logo a {
color: #fff;
font-weight:bold;
}
#menu-list dd a {
padding: 0 0 0 15px;
text-decoration: none;
}
/**** Login ****/
body.login {
text-align:center;
margin: 2em 10em;
}
#wrapper {
margin: 0 auto;
}
body.login form {
}
.login img {
padding: 3em 1em 1em;;
}
.login form table {
width: 100%;
border: 1px solid #CB781A;
border-collapse:collapse;
}
.login form table thead {
font-weight: bold;
font-size: 1.5em;
padding: 1em;
background-color:#CB781A;
}
.login form table thead td{
color: white;
}
.login form table td.forminfo {
padding: 1em;
border-top: 1px solid #CB781A;
border-bottom: 1px solid #CB781A;
font-size: 110%;
}
td.username,
td.pass {
text-align: right;
padding: 0 0 0 .5em;
width: 50%;
font-weight: bold;
font-size: 1.2em;
letter-spacing: 2px;
}
td.input_username,
td.input_pass {
text-align: left;
width: 50%;
padding: 0 1em;
}
td.input_username input,
td.input_pass input {
/* width: 100%;*/
border-color:#CB781A;
font-family: Courrier New, fixed;
padding: 2px;
font-size: 110%;
}
td.input_username input:hover,
td.input_pass input:hover {
background-color:yellow;
}
td.username,
td.input_username {
padding-top: 1em;
}
td.pass,
td.input_pass {
padding-bottom: 1em;
}
.cookie_ack {
font-size: 85%;
padding-bottom: 1em;
font-weight: bold;
}
.login form table tfoot {
background-color:#F4D9B9;
border-top: 1px solid #CB781A;
margin-top: 2em;
font-size: 85%;
}
.login form table tfoot p {
margin: .3em;
}
input.inb {
font-weight: bold;
font-size: 100%;
letter-spacing: 2px;
padding: 1px 1em;
background-color:#fff;
}
input.inb:hover {
background-color:yellow;
}
input.inb:active {
background-color:red;
color: #fff;
}
/** menu param (intend to be the style of all the tables) **/
#mem_param table {
width: 70%;
border-collapse:collapse;
margin-bottom: 1em;
}
#mem_param table thead {
background-color:#CB781A;
}
#mem_param table thead td {
color: #fff;
font-weight: bold;
}
#mem_param table th {
width: 50%;
text-align: right;
}
#mem_param table input {
}
#mem_param table input.inb {
float: right;
}
#mem_param input.inb {
font-size: .8em
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: white;
}
.hlp {
font-family: Helvetica, Tahoma, sans-serif;
font-size: 10px;
color: #202020;
}
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #007799;
font-weight: bold;
}
h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
color: #007777;
text-align: center;
}
h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #007777;
}
hr {
color: #007799;
border-color: #007799;
}
.inp {
/* Should not be use anymore !!! */
border-color: blue;
border-width: 5px;
background-color: #500000;
color: white;
}
.inc, .inl {
background-color: #FFFFF0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
border-style: none;
color: black;
}
.inb {
background-color: #FFFFF0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: black;
}
.int {
background-color: #FFFFF0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: black;
border-width: 1px;
border-color: black;
border-style: solid;
}
.lst1 {
background-color: #FFFFFF;
}
.lst2 {
background-color: #EEEEEE;
}
.dlogin {
text-align: center;
}
.login {
margin-left: auto;
margin-right: auto;
}
img {
border: 0px;
vertical-align: middle;
}
.error {
color: red;
font-weight: bold;
}
/* Over quota class */
.over {
color: red;
}
.code {
font-size: 16px;
font-family: Courier New, Fixed;
font-weight: bold;
text-align: center;
}
.exp1 {
background-color: #6284F3;
}
.exp2 {
background-color: #62F37A;
}
.exp3 {
background-color: #F36262;
}
......@@ -40,5 +40,5 @@
sur serveurs mutualiss, n d'Altern.org et de Lautre Net" />
<meta name="keywords" content="Hbergement, Logiciel d'hbergement, Altern, Lautre Net, GPL, Dveloppement" />
<link rel="stylesheet" href="/style.css" type="text/css" />
<link rel="stylesheet" href="/admin/styles/base.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 0.9em;
color: #000000
}
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 0.9em;
color: #000000
}
th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 0.9em;
color: #007799;
font-weight: bold
}
h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.2em;
font-weight: bold;
color: #007777
}
hr {
color: #007799;
border-color: #007799;
}
.inp {
background-color: #C0C0FF;
}
\ No newline at end of file
alternc (0.9.7+dev) stable; urgency=low UNRELEASED
* standardisation of the web interface, along with some esthetic changes, by
Marc Angles, sponsored by Koumbit
* styles can now be changed locally in admin/styles/base.css
-- Antoine Beaupré <anarcat@koumbit.org> Thu, 10 Apr 2008 13:56:22 -0400
alternc (0.9.7) stable; urgency=low
* major release, closing more than 40 bugs, including...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment