From ef5e253bf54fb3ec9f12d4d208fee18db05b16fe Mon Sep 17 00:00:00 2001 From: Dawid Opis Date: Thu, 11 Aug 2011 18:18:50 +0200 Subject: changed radiobuttons to jQuery UI buttons (restyled) on installation page --- core/css/styles.css | 8 +++++--- core/js/setup.js | 1 + core/templates/installation.php | 14 ++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index 39e7bd2a5b0..0b12a4e9441 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -75,9 +75,11 @@ legend { padding:.2em; font-size:1.2em; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } #login form ul.errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 4em 0; padding:1em 1em 1em 5em; } -#login form p { clear:both; } -#login form p label { float:left; position:static; margin:0; padding:0.1em;} -#login form p input { float:left; width: auto;} +#login form #selectDbType { text-align:center; } +#login form #selectDbType label { position:static; background:#F8F8F8 none; border:1px solid #DDD; box-shadow:0 1px 1px #FFF, 0 1px 0 #BBB inset; color: #555; font-size:1em; margin:0 -0.3em 1em; padding:0.6em 0.5em 0.4em; cursor:pointer; width:7.5em;} +#login form #selectDbType label span { cursor:pointer; } +#login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color: #333; background-color: #FFF; } + /* NAVIGATION ------------------------------------------------------------- */ #navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right: 1px #ccc solid; -moz-box-shadow: -3px 0 7px #000; -webkit-box-shadow: -3px 0 7px #000; box-shadow: -3px 0 7px #000; } diff --git a/core/js/setup.js b/core/js/setup.js index 3fb895cc414..736bedac755 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -1,4 +1,5 @@ $(document).ready(function() { + $('#selectDbType').buttonset(); $('#datadirField').hide(250); if($('#hasSQLite').val()=='true'){ $('#databaseField').hide(250); diff --git a/core/templates/installation.php b/core/templates/installation.php index 180405860f8..c10e66ae2f5 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -25,16 +25,15 @@
t( 'Configure the database' ); ?> +

t( 'SQLite will be used.' ); ?>

-

- /> - -

+ /> + @@ -44,10 +43,8 @@

t( 'MySQL will be used.' ); ?>

-

- /> - -

+ /> + @@ -59,6 +56,7 @@

/>

+
-- cgit v1.2.3