From: Jerome Jutteau Date: Mon, 23 Mar 2015 18:08:18 +0000 (+0100) Subject: admin.php: div should be 'admin' not 'install' X-Git-Tag: 1.1~128 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/2e017ea2f8334178120b0e5898590218366b2141?ds=inline;hp=-c admin.php: div should be 'admin' not 'install' --- 2e017ea2f8334178120b0e5898590218366b2141 diff --git a/admin.php b/admin.php index 555e76a..2cad589 100644 --- a/admin.php +++ b/admin.php @@ -129,7 +129,7 @@ if (!(isset ($_POST['action']) && strcmp ($_POST['action'], 'download') == 0)) require (JIRAFEAU_ROOT . 'lib/template/header.php'); ?>

+ ?>
diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index 9d9ddcd..f3763c9 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -284,7 +284,7 @@ textarea[readonly="readonly"] + p + p a:focus { } /* ========================================================================== - 6 = Admin + 6 = Install ========================================================================== */ #install fieldset, @@ -349,3 +349,74 @@ textarea[readonly="readonly"] + p + p a:focus { #install + fieldset td:first-child input[type="submit"]:focus { text-decoration: underline; } + +/* ========================================================================== + 7 = Admin + ========================================================================== */ + +#admin fieldset, +#admin + fieldset { + width: auto; + max-width: 50em; + border: 7px dashed #bcaaa4; +} + +#admin table, +#admin + fieldset table { + width: 100%; + border-collapse: collapse; + border-bottom: 2px solid #FFF; +} + +#admin td, +#admin + fieldset td { + padding: 0.5em 1em; + border: 2px solid #FFF; + border-bottom: 0; +} + +#admin td:empty { + width: 13.1em; +} + +#admin table form:nth-child(odd), +#admin + fieldset tr:nth-child(odd) { + background: #bcaaa4; +} + +#admin fieldset > form { + margin-top: 2em; + text-align: center; +} + +#admin form { + display: table; + width: 100%; +} + +#admin td:last-child { text-align: left; } + +#admin .info { width: 19em; } + +#admin input[type="submit"] { + min-width: 10.5em; +} + +#admin + fieldset table { + font-size: 0.9em; +} + +#admin + fieldset td:first-child input[type="submit"] { + background: none; + padding: 0; + color: #000; + font-weight: bold; + border-bottom: 0; +} + +#admin + fieldset td:first-child input[type="submit"]:hover, +#admin + fieldset td:first-child input[type="submit"]:focus { + text-decoration: underline; +} + + diff --git a/media/jyraphe/style.css.php b/media/jyraphe/style.css.php index dbe946e..f19ccec 100644 --- a/media/jyraphe/style.css.php +++ b/media/jyraphe/style.css.php @@ -176,3 +176,51 @@ h1 a { #install .navleft { float: left; } + +#admin { + width: 40em; + margin: 5ex auto; +} + +#admin table { + width: 100%; +} + +#admin label { + font-style: italic; +} + +#admin .info { + text-align: justify; + padding-bottom: 1ex; +} + +#admin .label { + text-align: justify; + vertical-align: top; +} + +#admin .field { + text-align: right; + vertical-align: bottom; +} + +#admin .nav { + padding-top: 2em; +} + +#admin .next { + text-align: right; +} + +#admin .previous { + text-align: left; +} + +#admin .navright { + float: right; +} + +#admin .navleft { + float: left; +}