[Rt-commit] rt branch, 4.6/fontawesome-icons, updated. rt-4.4.4-453-g9fbfbfa23
Blaine Motsinger
blaine at bestpractical.com
Thu Oct 24 12:53:09 EDT 2019
The branch, 4.6/fontawesome-icons has been updated
via 9fbfbfa23ba482d59afaffb894c3ac961eabc21d (commit)
from 259c9e81958d09b4e8a7b9659a320d83dbba2098 (commit)
Summary of changes:
share/html/Elements/Dashboards | 2 +-
share/html/Elements/QueueList | 2 +-
share/html/Elements/ShowHistoryHeader | 2 +-
share/html/Elements/ShowSearch | 2 +-
share/html/Ticket/Display.html | 2 +-
share/html/Ticket/Elements/ShowSummary | 2 +-
share/html/Ticket/ModifyLinks.html | 2 +-
share/static/css/elevator-light/misc.css | 9 +++++++++
8 files changed, 16 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 9fbfbfa23ba482d59afaffb894c3ac961eabc21d
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Thu Oct 24 11:52:41 2019 -0500
Add border styling for icons
diff --git a/share/html/Elements/Dashboards b/share/html/Elements/Dashboards
index 0d4753c82..3abeae078 100644
--- a/share/html/Elements/Dashboards
+++ b/share/html/Elements/Dashboards
@@ -50,7 +50,7 @@
<&|/Widgets/TitleBox,
title => loc('Dashboards'),
title_href => RT->Config->Get('WebPath').'/Dashboards/index.html',
- titleright_raw => qq[<img class="fas fa-cog" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
+ titleright_raw => qq[<img class="fas fa-cog icon-bordered fa-2x" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
titleright_href => RT->Config->Get('WebPath').'/Dashboards/index.html',
&>
diff --git a/share/html/Elements/QueueList b/share/html/Elements/QueueList
index eab4955f2..ef17ede16 100644
--- a/share/html/Elements/QueueList
+++ b/share/html/Elements/QueueList
@@ -52,7 +52,7 @@
title => loc("Queue list"),
class => "fullwidth",
bodyclass => "",
- titleright_raw => qq[<img class="fas fa-cog" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
+ titleright_raw => qq[<img class="fas fa-cog icon-bordered fa-2x" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
titleright_href => RT->Config->Get('WebPath').'/Prefs/QueueList.html',
&>
<& $comp,
diff --git a/share/html/Elements/ShowHistoryHeader b/share/html/Elements/ShowHistoryHeader
index 2244b22a8..bead5c13f 100644
--- a/share/html/Elements/ShowHistoryHeader
+++ b/share/html/Elements/ShowHistoryHeader
@@ -96,7 +96,7 @@ if ( $ShowDisplayModes or $ShowTitle or $ScrollShowHistory ) {
# build the new link
my $alt = loc('Edit');
- my $titleright = qq{<div class="btn-group dropdown"><a id="history-dropdown" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="fas fa-cog" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" /></a><ul class="dropdown-menu dropdown-menu-right">};
+ my $titleright = qq{<div class="btn-group dropdown"><a id="history-dropdown" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="fas fa-cog icon-bordered fa-2x" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" /></a><ul class="dropdown-menu dropdown-menu-right">};
# foreach of the elements, build a new <li>$element</li> and append to the output.
foreach my $element ( @elements ) {
diff --git a/share/html/Elements/ShowSearch b/share/html/Elements/ShowSearch
index 90b596dbc..d50e9df8b 100644
--- a/share/html/Elements/ShowSearch
+++ b/share/html/Elements/ShowSearch
@@ -51,7 +51,7 @@
title => loc(RT::SavedSearch->EscapeDescription($search->Description), $ProcessedSearchArg->{'Rows'}),
title_raw => $title_raw,
title_href => $query_link_url.$QueryString,
- titleright_raw => qq[<img class="fas fa-cog" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
+ titleright_raw => qq[<img class="fas fa-cog icon-bordered fa-2x" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt" />],
titleright_href => $customize,
hideable => $hideable,
class => 'fullwidth' &>
diff --git a/share/html/Ticket/Display.html b/share/html/Ticket/Display.html
index d8b237ce1..c5e988f39 100644
--- a/share/html/Ticket/Display.html
+++ b/share/html/Ticket/Display.html
@@ -70,7 +70,7 @@ my $alt = loc('Edit');
my $titleright = qq{
<div class="btn-group dropdown">
<a id="metadata-dropdown" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- <img class="fas fa-cog" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt"/>
+ <img class="fas fa-cog icon-bordered fa-2x" alt="$alt" data-toggle="tooltip" data-placement="top" title="$alt"/>
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li class="dropdown-item">
diff --git a/share/html/Ticket/Elements/ShowSummary b/share/html/Ticket/Elements/ShowSummary
index 5b1316f0b..58c1664d2 100644
--- a/share/html/Ticket/Elements/ShowSummary
+++ b/share/html/Ticket/Elements/ShowSummary
@@ -88,7 +88,7 @@
% $m->callback( %ARGS, CallbackName => 'AfterDates' );
% my $alt = loc('Graph ticket links');
% my (@extra);
-% push @extra, titleright_raw => '<a href="' . RT->Config->Get('WebPath') . '/Ticket/Graphs/index.html?id=' . $Ticket->id . '"><img class="fas fa-project-diagram" alt="' . $alt . '" data-toggle="tooltip" data-placement="top" title="' . $alt . '" /></a>' unless RT->Config->Get('DisableGraphViz');
+% push @extra, titleright_raw => '<a href="' . RT->Config->Get('WebPath') . '/Ticket/Graphs/index.html?id=' . $Ticket->id . '"><img class="fas fa-project-diagram icon-bordered fa-2x" alt="' . $alt . '" data-toggle="tooltip" data-placement="top" title="' . $alt . '" /></a>' unless RT->Config->Get('DisableGraphViz');
<& /Ticket/Elements/ShowAssets, Ticket => $Ticket &>
% $m->callback( %ARGS, CallbackName => 'LinksExtra', extra => \@extra );
<&| /Widgets/TitleBox, title => loc('Links'),
diff --git a/share/html/Ticket/ModifyLinks.html b/share/html/Ticket/ModifyLinks.html
index 558bdecf5..9a0317122 100644
--- a/share/html/Ticket/ModifyLinks.html
+++ b/share/html/Ticket/ModifyLinks.html
@@ -56,7 +56,7 @@
% $m->callback( CallbackName => 'FormStart', ARGSRef => \%ARGS );
% my $alt = loc('Graph ticket links');
% my (@extra);
-% push @extra, titleright_raw => '<a href="' . RT->Config->Get('WebPath') . '/Ticket/Graphs/index.html?id=' . $Ticket->id . '"><img class="fas fa-project-diagram" alt="' . $alt . '" data-toggle="tooltip" data-placement="top" title="' . $alt . '" /></a>' unless RT->Config->Get('DisableGraphViz');
+% push @extra, titleright_raw => '<a href="' . RT->Config->Get('WebPath') . '/Ticket/Graphs/index.html?id=' . $Ticket->id . '"><img class="fas fa-project-diagram icon-bordered fa-2x" alt="' . $alt . '" data-toggle="tooltip" data-placement="top" title="' . $alt . '" /></a>' unless RT->Config->Get('DisableGraphViz');
<&| /Widgets/TitleBox, title => loc('Edit Links'), class=>'ticket-info-links', @extra &>
<& /Elements/EditLinks, Object => $Ticket &>
</&>
diff --git a/share/static/css/elevator-light/misc.css b/share/static/css/elevator-light/misc.css
index f38617554..61e63dfca 100644
--- a/share/static/css/elevator-light/misc.css
+++ b/share/static/css/elevator-light/misc.css
@@ -120,3 +120,12 @@ svg.bookmark-selected path {
stroke-width: 50;
fill: #46B346;
}
+
+/* borders for cog icons */
+svg.icon-bordered {
+ width: 1em !important;
+ height: 1em !important;
+ border: solid 0.05em #eee;
+ border-radius: 0.1em;
+ padding: 0.2em 0.25em 0.15em;
+}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list