[Rt-commit] rt branch, 4.6-theme-trunk, updated. rt-4.4.4-284-g182a0698d

? sunnavy sunnavy at bestpractical.com
Fri Jun 7 14:05:23 EDT 2019


The branch, 4.6-theme-trunk has been updated
       via  182a0698d3c9e4e0db1dedf388479f9a0fd3da32 (commit)
       via  58f26f500a801ee66ff02d0e4e6585e90f5c620f (commit)
      from  1a137dcfaf6cae835ba5a9a1625be17eb9e03f1b (commit)

Summary of changes:
 share/html/Install/Basics.html          | 13 +++++++++----
 share/html/Install/DatabaseDetails.html | 26 +++++++++++++++++---------
 share/html/Install/DatabaseType.html    |  7 ++++++-
 share/html/Install/Finish.html          |  7 ++++++-
 share/html/Install/Global.html          | 15 ++++++++++-----
 share/html/Install/Initialize.html      | 13 +++++++++----
 share/html/Install/Sendmail.html        | 13 +++++++++----
 share/html/Install/index.html           | 25 ++++++++++++++++++-------
 8 files changed, 84 insertions(+), 35 deletions(-)

- Log -----------------------------------------------------------------
commit 58f26f500a801ee66ff02d0e4e6585e90f5c620f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Jun 8 01:56:26 2019 +0800

    Migrate /Install to elevator themes

diff --git a/share/html/Install/Basics.html b/share/html/Install/Basics.html
index 1a72f0d88..a6a231efd 100644
--- a/share/html/Install/Basics.html
+++ b/share/html/Install/Basics.html
@@ -58,10 +58,15 @@
     CurrentValue => RT::Installer->CurrentValues(@Types) &>
 
 <input type="hidden" name="Run" value="1">
-<& /Elements/Submit,
-    Label => loc('Next') .': '. loc('Customize Email Configuration'),
-    Back => 1, BackLabel => loc('Back') .': '. loc('Check Database Credentials'),
-&>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => loc('Next') .': '. loc('Customize Email Configuration'),
+          Back => 1, BackLabel => loc('Back') .': '. loc('Check Database Credentials'),
+      &>
+    </div>
+  </div>
 </form>
 </&>
 
diff --git a/share/html/Install/DatabaseDetails.html b/share/html/Install/DatabaseDetails.html
index 3dec79f9b..04524d9c6 100644
--- a/share/html/Install/DatabaseDetails.html
+++ b/share/html/Install/DatabaseDetails.html
@@ -68,11 +68,15 @@
 <form method="post">
 <input type="hidden" name="Run" value="1">
 % if ( @results && !@errors ) {
-<& /Elements/Submit,
-    Label => loc('Next') .': '. loc('Customize Basics'),
-    Back => 1, BackLabel => loc('Back') .': '. loc('Select Database Type'),
-    Name => 'Next',
-&>
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => loc('Next') .': '. loc('Customize Basics'),
+          Back => 1, BackLabel => loc('Back') .': '. loc('Select Database Type'),
+          Name => 'Next',
+      &>
+    </div>
+  </div>
 % } else {
 <& /Widgets/BulkEdit, Types => \@Types, Meta => $RT::Installer->{Meta},
     CurrentValue => { %{RT::Installer->CurrentValues(@Types)},
@@ -84,10 +88,14 @@
               : '' ),
         }
                     &>
-<& /Elements/Submit,
-    Label => loc('Check Database Connectivity'),
-    Back => 1, BackLabel => loc('Back') .': '. loc('Choose Database Engine'),
-&>
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => loc('Check Database Connectivity'),
+          Back => 1, BackLabel => loc('Back') .': '. loc('Choose Database Engine'),
+      &>
+    </div>
+  </div>
 % }
 
 </form>
diff --git a/share/html/Install/DatabaseType.html b/share/html/Install/DatabaseType.html
index 8a5676e6e..482e6d2c9 100644
--- a/share/html/Install/DatabaseType.html
+++ b/share/html/Install/DatabaseType.html
@@ -67,7 +67,12 @@
     CurrentValue => RT::Installer->CurrentValues(@Types) &>
 
 <input type="hidden" name="Run" value="1">
-<& /Elements/Submit, Label => loc('Next') .': '. loc( 'Check Database Credentials') &>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit, Label => loc('Next') .': '. loc( 'Check Database Credentials') &>
+    </div>
+  </div>
 </form>
 </&>
 <%init>
diff --git a/share/html/Install/Finish.html b/share/html/Install/Finish.html
index acb5ab34b..7ac7e38e2 100644
--- a/share/html/Install/Finish.html
+++ b/share/html/Install/Finish.html
@@ -67,7 +67,12 @@
 
 <form method="post">
 <input type="hidden" value="1" name="Run" />
-<& /Elements/Submit, Label => 'Finish Installation' &>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit, Label => 'Finish Installation' &>
+    </div>
+  </div>
 </form>
 
 </&>
diff --git a/share/html/Install/Global.html b/share/html/Install/Global.html
index 1cdfbff66..45458d1c0 100644
--- a/share/html/Install/Global.html
+++ b/share/html/Install/Global.html
@@ -59,11 +59,16 @@
 &>
 
 <input type="hidden" name="Run" value="1">
-<& /Elements/Submit,
-    Label => $RT::Installer->{DatabaseAction} eq 'none' ?
-        loc('Next') .': '. loc('Finish') : loc('Next') .': '. loc('Initialize Database'),
-    Back => 1, BackLabel => loc('Back') .': '. loc('Customize Email Configuration'),
-&>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => $RT::Installer->{DatabaseAction} eq 'none' ?
+              loc('Next') .': '. loc('Finish') : loc('Next') .': '. loc('Initialize Database'),
+          Back => 1, BackLabel => loc('Back') .': '. loc('Customize Email Configuration'),
+      &>
+    </div>
+  </div>
 </form>
 </&>
 <%init>
diff --git a/share/html/Install/Initialize.html b/share/html/Install/Initialize.html
index a70483304..7323cd5e9 100644
--- a/share/html/Install/Initialize.html
+++ b/share/html/Install/Initialize.html
@@ -57,10 +57,15 @@
 
 <form method="post">
 <input type="hidden" name="Run" value="1">
-<& /Elements/Submit,
-    Label => loc('Initialize Database'),
-    Back => 1, BackLabel => loc('Back') .': '. loc('Customize Email Addresses'),
-&>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => loc('Initialize Database'),
+          Back => 1, BackLabel => loc('Back') .': '. loc('Customize Email Addresses'),
+      &>
+    </div>
+  </div>
 </form>
 </&>
 <%init>
diff --git a/share/html/Install/Sendmail.html b/share/html/Install/Sendmail.html
index 3783f3db0..1e88b5c1c 100644
--- a/share/html/Install/Sendmail.html
+++ b/share/html/Install/Sendmail.html
@@ -59,10 +59,15 @@
 &>
 
 <input type="hidden" name="Run" value="1">
-<& /Elements/Submit,
-    Label => loc('Next') .': '. loc('Customize Email Addresses'),
-    Back => 1, BackLabel => loc('Back' ) .': '. loc('Customize Basics'),
-&>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit,
+          Label => loc('Next') .': '. loc('Customize Email Addresses'),
+          Back => 1, BackLabel => loc('Back' ) .': '. loc('Customize Basics'),
+      &>
+    </div>
+  </div>
 </form>
 </&>
 <%init>
diff --git a/share/html/Install/index.html b/share/html/Install/index.html
index 6e79c41ca..9d4c3e121 100644
--- a/share/html/Install/index.html
+++ b/share/html/Install/index.html
@@ -56,12 +56,19 @@
 <h1><% loc('Language') %></h1>
 
 <div class="select-lang">
-<&|/l&>Select another language</&>:
-<& /Elements/SelectLang,
-    Name => 'Lang',
-    Default => $lang_handle? $lang_handle->language_tag : undef,
-&>
-<input type="submit" class="button" name="ChangeLang" value="<% loc('Change') %>" />
+  <div class="form-row">
+    <div class="col-md-3 label">
+      <&|/l&>Select another language</&>:
+    </div>
+
+    <div class="col-md-9 input-group">
+      <& /Elements/SelectLang,
+        Name => 'Lang',
+        Default => $lang_handle? $lang_handle->language_tag : undef,
+      &>
+      <input type="submit"  class="btn btn-primary"  name="ChangeLang"  value="<% loc('Change') %>" >
+    </div>
+  </div>
 </div>
 
 <h1><% loc('What is RT?') %></h1>
@@ -84,7 +91,11 @@
 </p>
 </div>
 
-<& /Elements/Submit, Label => loc( "Let's go!"), Name => 'Run' &>
+  <div class="form-row">
+    <div class="col-md-12">
+      <& /Elements/Submit, Label => loc( "Let's go!"), Name => 'Run' &>
+    </div>
+  </div>
 </form>
 
 </&>

commit 182a0698d3c9e4e0db1dedf388479f9a0fd3da32
Merge: 1a137dcfa 58f26f500
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Jun 8 01:56:50 2019 +0800

    Merge branch '4.6-theme/install-pages' into 4.6-theme-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list