[Rt-commit] rt branch, 4.6-theme/admin-conditions-pages, created. rt-4.4.4-196-gc9d4607cb
Blaine Motsinger
blaine at bestpractical.com
Wed Apr 24 16:59:59 EDT 2019
The branch, 4.6-theme/admin-conditions-pages has been created
at c9d4607cb5abdf5dbeeeaac53af491683a1c0505 (commit)
- Log -----------------------------------------------------------------
commit be2c9fbaaeb825debd60147deaf54bcdb83ecaaa
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Wed Apr 24 15:30:19 2019 -0500
Migrate Admin/Conditions/Create to elevator themes
diff --git a/share/html/Admin/Conditions/Create.html b/share/html/Admin/Conditions/Create.html
index 6ccc07e0c..75a235432 100644
--- a/share/html/Admin/Conditions/Create.html
+++ b/share/html/Admin/Conditions/Create.html
@@ -52,15 +52,16 @@
<form method="post" action="Create.html" id="CreateCondition" name="CreateCondition">
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
+
<& Elements/EditBasics, %ARGS, Condition => $condition, &>
-</table>
+
</&>
-<& /Elements/Submit,
- Label => loc('Create'),
- Name => 'Create',
-&>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Create'), Name => 'Create' &>
+ </div>
+ </div>
</form>
<%ARGS>
diff --git a/share/html/Admin/Conditions/Elements/EditBasics b/share/html/Admin/Conditions/Elements/EditBasics
index 11300a465..a7b6f2d02 100644
--- a/share/html/Admin/Conditions/Elements/EditBasics
+++ b/share/html/Admin/Conditions/Elements/EditBasics
@@ -45,40 +45,50 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<tr>
- <td class="label"><&|/l&>Name</&>:</td>
- <td class="value">
- <input name="Name" size="60" value="<% $ARGS{"Name"} || $Condition->Name || '' %>" />
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Name</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="Name" size="60" value="<% $ARGS{"Name"} || $Condition->Name || '' %>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Description</&>:</td>
- <td class="value">
- <input name="Description" size="60" value="<% $ARGS{"Description"} || $Condition->Description || '' %>" />
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Description</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="Description" size="60" value="<% $ARGS{"Description"} || $Condition->Description || '' %>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Condition Module</&>:</td>
- <td class="value">
- <input name="ExecModule" size="60" value="<% $ARGS{"ExecModule"} || $Condition->ExecModule || ''%>" />
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Condition Module</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="ExecModule" size="60" value="<% $ARGS{"ExecModule"} || $Condition->ExecModule || ''%>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Parameters to Pass</&>:</td>
- <td class="value">
- <input name="Argument" size="60" value="<% $ARGS{"Argument"} || $Condition->Argument || '' %>"/>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Parameters to Pass</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="Argument" size="60" value="<% $ARGS{"Argument"} || $Condition->Argument || '' %>"/>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Applicable Transaction Types</&>:</td>
- <td class="value">
- <input name="ApplicableTransTypes" size="60" value="<% $ARGS{"ApplicableTransTypes"} || $Condition->ApplicableTransTypes || '' %>" />
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Applicable Transaction Types</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="ApplicableTransTypes" size="60" value="<% $ARGS{"ApplicableTransTypes"} || $Condition->ApplicableTransTypes || '' %>" />
+ </div>
+</div>
<%ARGS>
$Condition
commit 440891534a6dfe7c78df91060b95d1e48ec79df4
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Wed Apr 24 15:42:53 2019 -0500
Migrate Admin/Conditions/Modify to elevator themes
diff --git a/share/html/Admin/Conditions/Modify.html b/share/html/Admin/Conditions/Modify.html
index 181e0f615..7dabee7b4 100644
--- a/share/html/Admin/Conditions/Modify.html
+++ b/share/html/Admin/Conditions/Modify.html
@@ -53,13 +53,21 @@
<input type="hidden" class="hidden" name="id" value="<% $id %>" />
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
+
<& Elements/EditBasics, %ARGS, Condition => $condition, &>
-</table>
+
</&>
-<& /Elements/Submit, Label => loc('Copy Condition'), Name => 'Copy' &>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Copy Condition'), Name => 'Copy' &>
+ </div>
+ </div>
-<& /Elements/Submit, Label => loc('Save Changes'), Name => 'Update', Reset => 1 &>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Save Changes'), Name => 'Update', Reset => 1 &>
+ </div>
+ </div>
</form>
<%ARGS>
commit c9d4607cb5abdf5dbeeeaac53af491683a1c0505
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Wed Apr 24 15:58:56 2019 -0500
Migrate Admin/Conditions/Display to elevator themes
diff --git a/share/html/Admin/Conditions/Display.html b/share/html/Admin/Conditions/Display.html
index 81696d9b5..37959c48e 100644
--- a/share/html/Admin/Conditions/Display.html
+++ b/share/html/Admin/Conditions/Display.html
@@ -49,13 +49,17 @@
<& /Elements/Tabs &>
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
+
<& Elements/ShowBasics, %ARGS, Condition => $condition, &>
-</table>
+
</&>
<form>
<input type="hidden" class="hidden" name="id" value="<% $id %>" />
-<& /Elements/Submit, Label => loc('Copy Condition'), Name => 'Copy' &>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Copy Condition'), Name => 'Copy' &>
+ </div>
+ </div>
</form>
<%ARGS>
$id => undef
diff --git a/share/html/Admin/Conditions/Elements/ShowBasics b/share/html/Admin/Conditions/Elements/ShowBasics
index 0949f3964..dbd33b1e6 100644
--- a/share/html/Admin/Conditions/Elements/ShowBasics
+++ b/share/html/Admin/Conditions/Elements/ShowBasics
@@ -45,40 +45,50 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<tr>
- <td class="label"><&|/l&>Name</&>:</td>
- <td class="value">
- <% $ARGS{"Name"} || $Condition->Name || '' %>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Name</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"Name"} || $Condition->Name || '' %></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Description</&>:</td>
- <td class="value">
- <% $ARGS{"Description"} || $Condition->Description || '' %>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Description</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"Description"} || $Condition->Description || '' %></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Condition Module</&>:</td>
- <td class="value">
- <% $ARGS{"ExecModule"} || $Condition->ExecModule || ''%>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Condition Module</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"ExecModule"} || $Condition->ExecModule || ''%></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Parameters to Pass</&>:</td>
- <td class="value">
- <% $ARGS{"Argument"} || $Condition->Argument || '' %>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Parameters to Pass</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"Argument"} || $Condition->Argument || '' %></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Applicable Transaction Types</&>:</td>
- <td class="value">
- <% $ARGS{"ApplicableTransTypes"} || $Condition->ApplicableTransTypes || '' %>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Applicable Transaction Types</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"ApplicableTransTypes"} || $Condition->ApplicableTransTypes || '' %></span>
+ </div>
+</div>
<%ARGS>
$Condition
-----------------------------------------------------------------------
More information about the rt-commit
mailing list