[Rt-commit] rt branch, master, updated. rt-4.4.4-878-g2314b24b3
? sunnavy
sunnavy at bestpractical.com
Fri Feb 14 10:50:01 EST 2020
The branch, master has been updated
via 2314b24b3e8a69b98055a3bb16cf798152596f77 (commit)
from 1a84098d477406c39dbaf1b618177f131d9c854b (commit)
Summary of changes:
share/html/Search/Build.html | 14 +++++++++++---
share/html/Search/Edit.html | 6 +++++-
2 files changed, 16 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 2314b24b3e8a69b98055a3bb16cf798152596f77
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Feb 14 23:41:42 2020 +0800
Wrap Submit into a form-row on search pages
We do so consistently, and specially as .titlebox doesn't have
margin-bottom any more, we need this to get a decent spacing.
diff --git a/share/html/Search/Build.html b/share/html/Search/Build.html
index b586a61e1..1240dd8fa 100644
--- a/share/html/Search/Build.html
+++ b/share/html/Search/Build.html
@@ -83,8 +83,12 @@
<div id="pick-criteria">
<& Elements/PickCriteria, query => $query{'Query'}, queues => $queues, %ARGS &>
</div>
- <& /Elements/Submit, Label => loc('Add these terms'), SubmitId => 'AddClause', Name => 'AddClause'&>
- <& /Elements/Submit, Label => loc('Add these terms and Search'), SubmitId => 'DoSearch', Name => 'DoSearch'&>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Add these terms'), SubmitId => 'AddClause', Name => 'AddClause'&>
+ <& /Elements/Submit, Label => loc('Add these terms and Search'), SubmitId => 'DoSearch', Name => 'DoSearch'&>
+ </div>
+ </div>
</div>
<div id="editquery" class="col-xl-5">
@@ -108,7 +112,11 @@
&>
</div>
-<& /Elements/Submit, Label => loc('Update format and Search'), Name => 'DoSearch', id=>"formatbuttons"&>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Update format and Search'), Name => 'DoSearch', id=>"formatbuttons"&>
+ </div>
+ </div>
</form>
<%INIT>
diff --git a/share/html/Search/Edit.html b/share/html/Search/Edit.html
index 563dd7cf2..308af2295 100644
--- a/share/html/Search/Edit.html
+++ b/share/html/Search/Edit.html
@@ -62,7 +62,11 @@
<&|/Widgets/TitleBox, title => loc('Format'), &>
<textarea class="form-control" name="Format" rows="8" cols="72"><% $Format %></textarea>
</&>
-<& /Elements/Submit, Label => loc("Apply"), Reset => 1, Caption => loc("Apply your changes")&>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc("Apply"), Reset => 1, Caption => loc("Apply your changes")&>
+ </div>
+ </div>
</form>
<%INIT>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list