[Rt-commit] rt branch, development, updated. 68e51ec61910366ea39d9b2b7045e3058b4272bb
Thomas Sibley
trs at bestpractical.com
Mon Jul 19 18:56:19 EDT 2010
The branch, development has been updated
via 68e51ec61910366ea39d9b2b7045e3058b4272bb (commit)
from 57bfb6945aa5f4551a04901d36587b41b434570d (commit)
Summary of changes:
lib/RT/View/SetupWizard.pm | 10 +++++---
share/web/static/css/setupwizard.css | 35 +++++++++++++++++++++++++++++++--
2 files changed, 38 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 68e51ec61910366ea39d9b2b7045e3058b4272bb
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Jul 19 18:58:01 2010 -0400
Style the next/prev buttons
diff --git a/lib/RT/View/SetupWizard.pm b/lib/RT/View/SetupWizard.pm
index 45299d1..c25dba6 100644
--- a/lib/RT/View/SetupWizard.pm
+++ b/lib/RT/View/SetupWizard.pm
@@ -57,8 +57,10 @@ sub setup_page (&) {
page { title => "RT Setup Wizard" } content {
my $self = shift;
h1 { _("RT Setup Wizard") };
- form {
- $code->($self);
+ div {{ id is 'setupwizard' };
+ form {
+ $code->($self);
+ };
};
show '_config_javascript';
};
@@ -93,12 +95,12 @@ template 'index.html' => setup_page {
template 'database' => setup_page {
h2 { _("Configure your database") };
- show 'database_widget';
-
p {{ class is 'warning' };
_("RT may ask you, after saving the database settings, to login again as root with the default password.");
};
+ show 'database_widget';
+
show 'buttons', for => 'database';
};
diff --git a/share/web/static/css/setupwizard.css b/share/web/static/css/setupwizard.css
index fc21957..e736eaf 100644
--- a/share/web/static/css/setupwizard.css
+++ b/share/web/static/css/setupwizard.css
@@ -1,17 +1,46 @@
-.config-field .form_field .label {
+#setupwizard .config-field .form_field .label {
width: 12em;
font-weight: bold;
font-size: 1em;
line-height: 1.6em;
}
-.config-field .doc {
+#setupwizard .config-field .doc {
display: block;
width: 50%;
margin-left: 12.7em;
}
-.config-field .doc p:first-child {
+#setupwizard .config-field .doc p:first-child {
padding-top: 0;
margin-top: 0;
}
+
+#setupwizard .test-db-connectivity {
+ margin-left: 16%;
+}
+
+#setupwizard .button-line {
+ position: relative;
+ width: 45em;
+ height: 2.5em;
+ margin-top: 2em;
+ padding-top: 0.5em;
+ border-top: 1px solid #ccc;
+}
+
+#setupwizard .button-line .prev-button {
+ position: absolute;
+ left: 1em;
+}
+
+#setupwizard .button-line .next-button {
+ position: absolute;
+ right: 1em;
+}
+
+#setupwizard .submit_button {
+ display: inline;
+ margin: 0;
+ padding: 0;
+}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list