openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 76973fb1f7aaf8a5219d1d03136836f1b3b2a31f
parent 61000619620d143f8500aec41647de52ee521641
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 16 Oct 2012 00:08:51 +0200

Anmeldemaske aufgeräumt.

Diffstat:
themes/default/css/openrat.css.php | 21++++++++++++++++-----
themes/default/images/notice_info.png | 0
themes/default/templates/login/login.tpl.src.xml | 53++++++++++++++++++++++++++++++++---------------------
3 files changed, 48 insertions(+), 26 deletions(-)

diff --git a/themes/default/css/openrat.css.php b/themes/default/css/openrat.css.php @@ -1033,6 +1033,7 @@ div.window div.status div.error, div.message.error { background: url(../images/notice_error.png) no-repeat; + background-position:5px 7px; } div.window div.status div.warn, div.message.warn @@ -1044,11 +1045,13 @@ div.window div.status div.ok, div.message.ok { background: url(../images/notice_ok.png) no-repeat; + background-position:5px 7px; } div.window div.status div.info, div.message.info { background: url(../images/notice_info.png) no-repeat; + background-position:5px 7px; } div.window div.status div, @@ -1363,23 +1366,31 @@ form div.line form div.label { - vertical-align:top; - width:30%; display:inline-block; + width:30%; + vertical-align:top; + text-align: right; } form div.input { - vertical-align:top; - width:70%; display:inline-block; + width:60%; + vertical-align:top; + text-align: left; +} + +form div.label > label, +form div.input > div.intputholder +{ + padding:0px 5px; } form div.input input[type=text], form div.input textarea, form div.input select { - width:90%; + width:100%; } form div.input input[type=checkbox], form div.input input[type=radio] diff --git a/themes/default/images/notice_info.png b/themes/default/images/notice_info.png Binary files differ. diff --git a/themes/default/templates/login/login.tpl.src.xml b/themes/default/templates/login/login.tpl.src.xml @@ -15,21 +15,28 @@ </if> </if> <if not="" empty="config:login/motd"> - <part class="message warn"> + <part class="message info"> <text raw="config:login/motd"></text> </part> </if> + <if true="config:login/nologin"> - <text key="LOGIN_NOLOGIN_DESC"></text> + <part class="message error"> + <text key="LOGIN_NOLOGIN_DESC"></text> + </part> </if> + <if true="config:security/readonly"> - <text key="GLOBAL_READONLY_DESC" class="help"></text> - </if> - <if true="config:security/nopublish"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> + <part class="message warn"> + <text key="GLOBAL_READONLY_DESC"></text> + </part> </if> + <if false="config:login/nologin"> - <logo name="login"></logo> + <!-- + <part class="line"> <part class="label" /> <part class="input"> + <logo name="login"></logo> </part> </part> + --> <part class="line"> <part class="label"> @@ -60,6 +67,8 @@ </part> </part> </if> + + <!-- <if true="property:mustChangePassword"> --> <group title="message:USER_NEW_PASSWORD" open="true"> <part class="line"> @@ -84,14 +93,17 @@ </part> </group> <!-- </if> --> - <link type="view" class="action" action="login" subaction="password"> - <text key="menu_password"></text> - </link> - <link type="view" class="action" action="login" subaction="register"> - <text key="menu_register"></text> - </link> - <newline></newline> - <newline></newline> + + <!-- + <link type="view" class="action" action="login" subaction="password"> + <text key="menu_password"></text> </link> + --> + + <!-- + <link type="view" class="action" action="login" subaction="register"> + <text key="menu_register"></text> </link> <newline></newline> + <newline /> + --> <if value="size:dbids" greaterthan="1"> <!-- Mehr als 1 Datenbank zur Auswahl. Auswahlfeld anzeigen. --> @@ -109,7 +121,7 @@ </group> </if> <else> - <!-- Nur 1 Datenbank zur Auswahl. Kein Auswahlfeld notwendig. --> + <!-- Nur 1 Datenbank zur Auswahl. Kein Auswahlfeld notwendig. --> <hidden name="dbid" default="var:actdbid"></hidden> </else> @@ -119,9 +131,8 @@ <hidden name="projectid"></hidden> <hidden name="languageid"></hidden> </form> - <newline /> - <newline /> - <link url="config:login/gpl/url" type="external" class="copyright"> - <text key="GPL"></text> - </link> + <!-- + <newline /> <newline /> <link url="config:login/gpl/url" + type="external" class="copyright"> <text key="GPL"></text> </link> + --> </output> \ No newline at end of file