summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDawid Opis <ncore@ncore.com.pl>2011-08-11 16:37:20 +0200
committerDawid Opis <ncore@ncore.com.pl>2011-08-11 16:37:20 +0200
commit952d88a28cf62387e861c8d796caecf5cbfc6afe (patch)
treeb64c9db8e38526e6dba813d935ed02084eba5a2e /core
parent50c1553c389c554c7297b44b03f5ff3c0410b69d (diff)
downloadnextcloud-server-952d88a28cf62387e861c8d796caecf5cbfc6afe.tar.gz
nextcloud-server-952d88a28cf62387e861c8d796caecf5cbfc6afe.zip
fixed mysql/sqlite selection labels in installation screen
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css4
-rw-r--r--core/templates/installation.php10
2 files changed, 12 insertions, 2 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 05bb63e0f07..1ccdc0b3981 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -75,6 +75,10 @@ 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; }
+
/* 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; }
#navigation a { display:block; padding:.6em .5em .4em 2.5em; background:#eee 1em center no-repeat; border-bottom:1px solid #ddd; border-top:1px solid #fff; text-decoration:none; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; }
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 80c3c273084..180405860f8 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -31,7 +31,10 @@
<p><?php echo $l->t( 'SQLite will be used.' ); ?></p>
<input type="hidden" id="dbtype" name="dbtype" value="sqlite" />
<?php else: ?>
- <p><label class="sqlite" for="sqlite"><?php echo $l->t( 'SQLite' ); ?></label><input type="radio" name="dbtype" value='sqlite' id="sqlite" <?php OC_Helper::init_radio('dbtype', 'sqlite', 'sqlite'); ?>/></p>
+ <p>
+ <input type="radio" name="dbtype" value='sqlite' id="sqlite" <?php OC_Helper::init_radio('dbtype', 'sqlite', 'sqlite'); ?>/>
+ <label class="sqlite" for="sqlite"><?php echo $l->t( 'SQLite' ); ?></label>
+ </p>
<?php endif; ?>
<?php endif; ?>
@@ -41,7 +44,10 @@
<p><?php echo $l->t( 'MySQL will be used.' ); ?></p>
<input type="hidden" id="dbtype" name="dbtype" value="mysql" />
<?php else: ?>
- <label class="mysql" for="mysql">MySQL</label><input type="radio" name="dbtype" value='mysql' id="mysql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/>
+ <p>
+ <input type="radio" name="dbtype" value='mysql' id="mysql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/>
+ <label class="mysql" for="mysql">MySQL</label>
+ </p>
<?php endif; ?>
<?php endif; ?>