[Rt-commit] rtir branch, 4.2-theme/migrate-to-elevator-themes, updated. 4.0.1rc1-101-ga8537ca4
Blaine Motsinger
blaine at bestpractical.com
Tue Sep 17 20:21:26 EDT 2019
The branch, 4.2-theme/migrate-to-elevator-themes has been updated
via a8537ca4132fee9b3ca3dc36e7d69c1df65f7536 (commit)
from 7d376de2eeeba51885d9ac13ad632e96028522ae (commit)
Summary of changes:
html/RTIR/Update.html | 53 ++++++++++++++++++++++++++++++---------------------
1 file changed, 31 insertions(+), 22 deletions(-)
- Log -----------------------------------------------------------------
commit a8537ca4132fee9b3ca3dc36e7d69c1df65f7536
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Sep 17 18:37:48 2019 -0500
Migrate RTIR/Update to elevator themes
diff --git a/html/RTIR/Update.html b/html/RTIR/Update.html
index 83068b6b..5dd05861 100644
--- a/html/RTIR/Update.html
+++ b/html/RTIR/Update.html
@@ -63,23 +63,31 @@
<div id="ticket-update-metadata">
<&|/Widgets/TitleBox, title => loc('Ticket and Transaction') &>
-<table width="100%" border="0">
-<tr><td class="label"><&|/l&>Update Type</&>:</td>
-<td class="value"><select name="UpdateType">
+ <div class="form-row">
+ <div class="label col-md-3">
+ <&|/l&>Update Type</&>:
+ </div>
+ <div class="value col-md-9">
+ <select class="selectpicker form-control" name="UpdateType">
% if ($CanComment) {
- <option value="private" <% $CommentDefault || '' %>><&|/l&>Comments (Not sent to requestors)</&></option>
+ <option value="private" <% $CommentDefault || '' %>><&|/l&>Comments (Not sent to requestors)</&></option>
% }
% if ($CanRespond) {
- <option value="response" <% $ResponseDefault || '' %>><&|/l&>Response to requestors</&></option>
+ <option value="response" <% $ResponseDefault || '' %>><&|/l&>Response to requestors</&></option>
% }
-</select>
-</td></tr>
-
-<tr>
- <td class="label"><&|/l&>Status</&>:</td>
- <td class="value"><% loc($Ticket->Status) %></td>
-</tr>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-row">
+ <div class="label col-md-3">
+ <&|/l&>Status</&>:
+ </div>
+ <div class="value col-md-9">
+ <span class="current-value form-control"><% loc($Ticket->Status) %></span>
+ </div>
+ </div>
<& /Ticket/Elements/EditBasics,
TicketObj => $Ticket,
@@ -115,7 +123,7 @@
%ARGS, TicketObj => $Ticket, InTable => 1,
&>
-</table></&></div>
+</&></div>
<div id="ticket-update-message">
@@ -124,7 +132,7 @@
<script type="text/javascript">
jQuery( function() {
var updateScrips = function() {
- jQuery('#recipients div.titlebox-content').load( '<% RT->Config->Get('WebPath')%>/Helpers/ShowSimplifiedRecipients',
+ jQuery('#recipients div.titlebox-content div.card-body').load( '<% RT->Config->Get('WebPath')%>/Helpers/ShowSimplifiedRecipients',
jQuery('form[name=TicketUpdate]').serialize(),
function() {
var txn_send_field = jQuery("#recipients input[name=TxnSendMailTo]");
@@ -140,22 +148,23 @@ jQuery( function() {
</script>
<&|/Widgets/TitleBox, title => loc('Message'), class => 'messagedetails' &>
-<table width="100%" border="0">
-<tr>
- <td class="label"><&|/l&>Subject</&>:</td>
- <td class="value"><input type="text" name="UpdateSubject" value="<% $Subject || '' %>" /></td>
-</tr>
+ <div class="form-row">
+ <div class="label col-md-3">
+ <&|/l&>Subject</&>:
+ </div>
+ <div class="value col-md-9">
+ <input class="form-control" type="text" name="UpdateSubject" value="<% $Subject || '' %>" />
+ </div>
+ </div>
% $ARGS{IncludeSignature} = 0 if $Action ne 'Respond' && !RT->Config->Get('MessageBoxIncludeSignatureOnComment');
<& /RTIR/Elements/UpdateData, %ARGS, Ticket => $Ticket, GnuPGWidget => $gnupg_widget &>
-</table>
+</&></div>
<& /Elements/Submit, Name => 'SubmitTicket' &>
-</&></div>
-
</form>
<%INIT>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list