[Rt-commit] rt branch, 4.6-theme/admin-actions-pages, created. rt-4.4.4-191-g93ba4a292
Blaine Motsinger
blaine at bestpractical.com
Wed Apr 24 13:32:27 EDT 2019
The branch, 4.6-theme/admin-actions-pages has been created
at 93ba4a292f9a5d5708edb7682801183294934e01 (commit)
- Log -----------------------------------------------------------------
commit b487bd5e53138cb365cc4ed8dc343351059e53e6
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Apr 23 13:03:43 2019 -0500
Migrate Admin/Actions/Display to elevator themes
diff --git a/share/html/Admin/Actions/Display.html b/share/html/Admin/Actions/Display.html
index 2c308c175..897956244 100644
--- a/share/html/Admin/Actions/Display.html
+++ b/share/html/Admin/Actions/Display.html
@@ -49,13 +49,16 @@
<& /Elements/Tabs &>
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
<& Elements/ShowBasics, %ARGS, Action => $action, &>
-</table>
</&>
+
<form>
<input type="hidden" class="hidden" name="id" value="<% $id %>" />
-<& /Elements/Submit, Label => loc('Copy Action'), Name => 'Copy' &>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Copy Action'), Name => 'Copy' &>
+ </div>
+ </div>
</form>
<%ARGS>
diff --git a/share/html/Admin/Actions/Elements/ShowBasics b/share/html/Admin/Actions/Elements/ShowBasics
index 88d2c52bf..ac1358aca 100644
--- a/share/html/Admin/Actions/Elements/ShowBasics
+++ b/share/html/Admin/Actions/Elements/ShowBasics
@@ -45,33 +45,41 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<tr>
- <td class="label"><&|/l&>Name</&>:</td>
- <td class="value">
- <% $ARGS{"Name"} || $Action->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"} || $Action->Name || '' %></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Description</&>:</td>
- <td class="value">
- <% $ARGS{"Description"} || $Action->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"} || $Action->Description || '' %></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Action Module</&>:</td>
- <td class="value">
- <% $ARGS{"ExecModule"} || $Action->ExecModule || ''%>
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Action Module</&>:
+ </div>
+ <div class="col-md-9 value">
+ <span class="current-value form-control"><% $ARGS{"ExecModule"} || $Action->ExecModule || ''%></span>
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Parameters to Pass</&>:</td>
- <td class="value">
- <% $ARGS{"Argument"} || $Action->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"} || $Action->Argument || '' %></span>
+ </div>
+</div>
<%ARGS>
$Action
commit 1983b0460597c190178e0542a89230e8ca897715
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Apr 23 16:59:50 2019 -0500
Migrate Admin/Actions/Create to elevator themes
diff --git a/share/html/Admin/Actions/Create.html b/share/html/Admin/Actions/Create.html
index 227dfd779..a13a91fcd 100644
--- a/share/html/Admin/Actions/Create.html
+++ b/share/html/Admin/Actions/Create.html
@@ -52,15 +52,14 @@
<form method="post" action="Create.html" id="CreateAction" name="CreateAction">
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
<& Elements/EditBasics, %ARGS, Action => $action, &>
-</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/Actions/Elements/EditBasics b/share/html/Admin/Actions/Elements/EditBasics
index af0988a24..c852b881b 100644
--- a/share/html/Admin/Actions/Elements/EditBasics
+++ b/share/html/Admin/Actions/Elements/EditBasics
@@ -45,33 +45,41 @@
%# 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"} || $Action->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"} || $Action->Name || '' %>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Description</&>:</td>
- <td class="value">
- <input name="Description" size="60" value="<% $ARGS{"Description"} || $Action->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"} || $Action->Description || '' %>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Action Module</&>:</td>
- <td class="value">
- <input name="ExecModule" size="60" value="<% $ARGS{"ExecModule"} || $Action->ExecModule || ''%>" />
- </td>
-</tr>
+<div class="form-row">
+ <div class="col-md-3 label">
+ <&|/l&>Action Module</&>:
+ </div>
+ <div class="col-md-9 value">
+ <input type="text" class="form-control" name="ExecModule" size="60" value="<% $ARGS{"ExecModule"} || $Action->ExecModule || ''%>" />
+ </div>
+</div>
-<tr>
- <td class="label"><&|/l&>Parameters to Pass</&>:</td>
- <td class="value">
- <input name="Argument" size="60" value="<% $ARGS{"Argument"} || $Action->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"} || $Action->Argument || '' %>"/>
+ </div>
+</div>
<%ARGS>
$Action
commit 93ba4a292f9a5d5708edb7682801183294934e01
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Apr 23 17:09:14 2019 -0500
Migrate Admin/Actions/Modify to elevator themes
diff --git a/share/html/Admin/Actions/Modify.html b/share/html/Admin/Actions/Modify.html
index a08560cdc..00c64f5d1 100644
--- a/share/html/Admin/Actions/Modify.html
+++ b/share/html/Admin/Actions/Modify.html
@@ -53,14 +53,20 @@
<input type="hidden" class="hidden" name="id" value="<% $id %>" />
<&| /Widgets/TitleBox, title => loc('Basics') &>
-<table>
<& Elements/EditBasics, %ARGS, Action => $action, &>
-</table>
</&>
-<& /Elements/Submit, Label => loc('Copy Action'), Name => 'Copy' &>
-<& /Elements/Submit, Label => loc('Save Changes'), Name => 'Update', Reset => 1 &>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Copy Action'), Name => 'Copy' &>
+ </div>
+ </div>
+ <div class="form-row">
+ <div class="col-md-12">
+ <& /Elements/Submit, Label => loc('Save Changes'), Name => 'Update', Reset => 1 &>
+ </div>
+ </div>
</form>
<%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list