[Rt-commit] rtir branch, 4.2/add-top-borders-to-portlets, created. 4.0.1rc1-113-g01457bd5
Blaine Motsinger
blaine at bestpractical.com
Tue Mar 24 14:29:10 EDT 2020
The branch, 4.2/add-top-borders-to-portlets has been created
at 01457bd5e9f840904970856dea83cd9ffaed5f62 (commit)
- Log -----------------------------------------------------------------
commit 01457bd5e9f840904970856dea83cd9ffaed5f62
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Mar 24 13:28:29 2020 -0500
Add top borders for portlets to match RT
diff --git a/html/RTIR/Advanced.html b/html/RTIR/Advanced.html
index abcf92f4..96a0d13a 100644
--- a/html/RTIR/Advanced.html
+++ b/html/RTIR/Advanced.html
@@ -53,7 +53,7 @@
<form method="post" action="Advanced.html" enctype="multipart/form-data">
<input type="hidden" name="id" value="<% $Ticket->Id %>" />
-<&| /Widgets/TitleBox, title => loc('Edit basics') &>
+<&| /Widgets/TitleBox, title => loc('Edit basics'), class => 'ticket-info-basics' &>
<div class="form-row">
<div class="label col-md-3">
<&|/l&>Subject</&>:
@@ -121,7 +121,7 @@
</div>
</&>
-<&| /Widgets/TitleBox, title => loc('Edit Links') &>
+<&| /Widgets/TitleBox, title => loc('Edit Links'), class => 'ticket-info-links' &>
<& /Elements/EditLinks, Object => $Ticket &>
</&>
diff --git a/html/RTIR/Elements/AttachReports b/html/RTIR/Elements/AttachReports
index 2eab83d2..793ce70e 100644
--- a/html/RTIR/Elements/AttachReports
+++ b/html/RTIR/Elements/AttachReports
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&| /Widgets/TitleBox, title => loc("Attach Reports") &>
+<&| /Widgets/TitleBox, title => loc("Attach Reports"), class => 'ticket-info-attachments' &>
<& /Elements/CollectionList,
Collection => $siblings,
DisplayFormat => "__CheckBox.{$Name}__, $Format",
diff --git a/html/RTIR/Update.html b/html/RTIR/Update.html
index fb5f9d24..6d6a4a86 100644
--- a/html/RTIR/Update.html
+++ b/html/RTIR/Update.html
@@ -62,7 +62,7 @@
<& /Elements/Crypt/SignEncryptWidget:ShowIssues, self => $gnupg_widget &>
<div id="ticket-update-metadata">
-<&|/Widgets/TitleBox, title => loc('Ticket and Transaction') &>
+<&|/Widgets/TitleBox, title => loc('Ticket and Transaction'), class => 'ticket-info-basics' &>
<div class="form-row">
<div class="label col-md-3">
diff --git a/static/css/rtir-styles.css b/static/css/rtir-styles.css
index 8648435d..c5e06a0e 100644
--- a/static/css/rtir-styles.css
+++ b/static/css/rtir-styles.css
@@ -86,14 +86,12 @@ body.rtir #topactions {
width: 80%;
}
-/* TODO: this section of styling has been commented out to disable colored tabs until we re-implement.
-body.rtir .titlebox.ticket-info-articles .titlebox-title .left { background-color: #316531; color: #fff; }
-body.rtir .titlebox.tickets-list-report .titlebox-title .left { background-color: #316531; color: #fff; }
-body.rtir .titlebox.tickets-list-incident .titlebox-title .left { background-color: #316531; color: #fff; }
-body.rtir .titlebox.tickets-list-investigation .titlebox-title .left { background-color: #316531; color: #fff; }
-body.rtir .titlebox.tickets-list-countermeasure .titlebox-title .left { background-color: #316531; color: #fff; }
-*/
-
+/* top border colors */
+body.rtir .titlebox.ticket-info-articles, body.rtir .titlebox.tickets-list-report, body.rtir .titlebox.tickets-list-incident,
+body.rtir .titlebox.tickets-list-investigation, body.rtir .titlebox.tickets-list-countermeasure { border-top: 3px solid #388E3C; }
+body.rtir .titlebox.ticket-info-time { border-top: 3px solid #7B1FA2; }
+body.rtir .titlebox.ticket-info-message { border-top: 3px solid #1976D2; }
+body.rtir .titlebox.ticket-info-details { border-top: 3px solid #D32F2F; }
body.rtir #comp-RTIR-Search #body {
position: relative;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list