Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stdonato committed Oct 14, 2020
1 parent 6671eda commit 42a132c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
8 changes: 4 additions & 4 deletions inc/indicator.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,26 +118,26 @@
echo "<li id='count' class='' style='font-size:12px;' title='". _n('Ticket task','Ticket tasks',2) ."'>\n";
echo "<a href='".$href_tasks."' class='' data-toggle='dropdown' role='button' aria-expanded='false'>
<i class='fa fa-tasks' style='vertical-align:bottom; font-size:15px;'></i>
<span class='label ".$label3."' style='font-size:12px;' >". $num_tasks. "</span></a>\n";
<span class='label label_ind ".$label3."' style='font-size:12px;' >". $num_tasks. "</span></a>\n";
echo "</li>\n";

//late tickets
echo "<li id='count' class='dropdown' style='font-size:12px;' title='". __('Late') ."'>
<a href='".$href_due."'>
<i style='vertical-align:bottom; font-size:15px;' class='fa fa-clock '></i>
<span class='label ".$label."' style='font-size:12px;'>". $due. "</span></a></li>\n";
<span class='label label_ind ".$label."' style='font-size:12px;'>". $due. "</span></a></li>\n";

//tickets
echo "<li id='count' class='dropdown' style='font-size:12px;' title='". _nx('ticket','Opened','Opened',2) ."'>
<a href='".$href_cham."'>
<i style='vertical-align:bottom; font-size:16px;' class='fa fa-ticket-alt' ></i>
<span class='label ".$label2."' style='font-size:12px;' >". $number. "</span></a></li>\n";
<span class='label label_ind ".$label2."' style='font-size:12px;' >". $number. "</span></a></li>\n";

//new ticket
echo "<li id='count' class='' style='font-size:12px; margin-top:0px;' title='". __('Create ticket') ."'>";
echo "<a href='".$CFG_GLPI["root_doc"]."/front/ticket.form.php' style='margin-top:2px;' data-toggle='dropdown' role='button' aria-expanded='false'>
<!-- <i class='fa fa-plus' style='vertical-align:bottom; font-size:15px;'></i> -->
<span class='label label-primary' style='font-size:12px;' >
<span class='label label_ind label-primary' style='font-size:12px;' >
<i class='fa fa-plus fa-plus-mod' style='vertical-align:bottom; font-size:15px;'></i>
</span></a>\n";
echo "</li>\n";
Expand Down
17 changes: 13 additions & 4 deletions src/css/css_ind.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

a, a:link {
/*a, a:link {
font-weight: bold;
text-decoration: none !important;
font-size : 11px;
Expand All @@ -9,7 +9,7 @@ a.fa, a.fa:link {
font-size: inherit;
font-weight: normal;
}

*/
#page a.fa-clock, #page a.fa:link, a .fa-clock, a .fa-tasks, a .fa-ticket-alt, a .fa-plus-mod {
color: #fff;
}
Expand All @@ -33,10 +33,19 @@ hr {
.label-primary {
background-color: #337ab7;
}
.label {

.label-warning {
background-color: #f0ad4e;
}

.label-danger {
background-color: #d9534f;
}

.label_ind {
border: 0px solid #000;
}
.label {
.label_ind {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
Expand Down

0 comments on commit 42a132c

Please sign in to comment.