add priority icon to profile/organization

This commit is contained in:
Felix Niklas 2015-06-02 12:28:48 +02:00
parent b62df436c0
commit e05a8b0a53
3 changed files with 16 additions and 16 deletions

View file

@ -74,33 +74,33 @@
<div class="profile-ticketList"> <div class="profile-ticketList">
<label>Offene Tickets (23)</label> <label>Offene Tickets (23)</label>
<ol class="tasks tasks--standalone"> <ol class="tasks tasks--standalone">
<li class="task level-2"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-2"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Micro-SIM doesn't work</div> <div class="name">Micro-SIM doesn't work</div>
<div class="time">23 minutes ago</div> <div class="time">23 minutes ago</div>
</div> </div>
<li class="task level-2"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-2"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Superb Service here_with_some_extrem_example_sting_witch_can_really_be!</div> <div class="name">Superb Service here_with_some_extrem_example_sting_witch_can_really_be!</div>
<div class="time">43 minutes ago</div> <div class="time">43 minutes ago</div>
</div> </div>
<li class="task level-2"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-2"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Print sheets strip off</div> <div class="name">Print sheets strip off</div>
<div class="time">1 hour ago</div> <div class="time">1 hour ago</div>
</div> </div>
<li class="task level-2"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-2"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Block not properly wrought</div> <div class="name">Block not properly wrought</div>
@ -112,17 +112,17 @@
<div class="profile-ticketList"> <div class="profile-ticketList">
<label>Bearbeitete Tickets (12)</label> <label>Bearbeitete Tickets (12)</label>
<ol class="tasks tasks--standalone"> <ol class="tasks tasks--standalone">
<li class="task level-1"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-1"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Micro-SIM doesn't work</div> <div class="name">Micro-SIM doesn't work</div>
<div class="time">23 minutes ago</div> <div class="time">23 minutes ago</div>
</div> </div>
<li class="task level-1"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<svg class="priority-icon"><use xlink:href="#icon-priority" /></svg> <svg class="icon-priority level-1"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<div class="name">Superb Service!</div> <div class="name">Superb Service!</div>

View file

@ -5,7 +5,7 @@
<% ticket = App.Ticket.fullLocal(ticket_id) %> <% ticket = App.Ticket.fullLocal(ticket_id) %>
<li class="task"> <li class="task">
<div class="icon-holder"> <div class="icon-holder">
<div class="icon <%- ticket.icon() %>"></div> <svg class="<%- ticket.icon() %>"><use xlink:href="#icon-priority" /></svg>
</div> </div>
<div class="flex"> <div class="flex">
<a class="name ticket-popover" data-id="<%- ticket_id %>" href="<%- ticket.uiUrl() %>"><%= ticket.title %></a> <a class="name ticket-popover" data-id="<%- ticket_id %>" href="<%- ticket.uiUrl() %>"><%= ticket.title %></a>

View file

@ -1606,9 +1606,9 @@ footer {
color: hsl(198,19%,72%); color: hsl(198,19%,72%);
} }
.tasks--standalone .priority-icon { .tasks--standalone .icon-priority {
margin-right: 4px; margin-right: 4px;
margin-top: 1px; margin-top: 2px;
} }
.nav-tab { .nav-tab {
@ -4106,7 +4106,7 @@ footer {
.dropdown li, .dropdown li,
.dropup li { .dropup li {
height: 39px; height: 39px;
line-height: 38px; line-height: 39px;
padding: 0 15px; padding: 0 15px;
} }