Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c567de1

Browse files
changing completed flag background; adding mockup of grouping boxes
1 parent 23bace6 commit c567de1

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

‎static/style.css‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,10 @@ div.event-item {
233233
border-radius: 5px;
234234
}
235235

236-
.event-desc:hover {
236+
.event-desc.completed {
237237
background-color: #E2E3E5;
238238
}
239239

240-
.event-desc.selected {
241-
background-color: #CCE5FF;
242-
}
243-
244240
div.icons {
245241
float: left;
246242
width: 30px;
@@ -503,4 +499,10 @@ div.action-buttons {
503499

504500
div.action-buttons a {
505501
padding-right: 4px;
502+
}
503+
504+
p.event-groupers a {
505+
padding: 2px;
506+
margin-right: 4px;
507+
border: 1px solid #AAA;
506508
}

‎templates/adj-search-block.html‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% if flags[e.event_id] == 'for-review' %}
44
{%- set event_class = 'bg-danger' %}
55
{% elif flags[e.event_id] == 'completed' %}
6-
{%- set event_class = 'bg-success' %}
6+
{%- set event_class = 'completed' %}
77
{% else %}
88
{%- set event_class = '' %}
99
{% endif %}
@@ -24,19 +24,26 @@
2424
<b>cod:</b> {{ e.coder_id }} <br/>
2525
</div>
2626
<div class="col-sm-3">
27-
<p class="flags">
2827
{% if e.event_id in flags %}
28+
<p class="flags">
2929
{% if flags[e.event_id] == 'for-review' %}
3030
<b class="text-danger">for-review</b>
3131
{% elif flags[e.event_id] == 'completed' %}
32-
<b class="text-success">completed</b>
32+
<b class="text-muted">completed</b>
3333
{% endif %}
34-
{% endif %}
3534
</p>
35+
{% endif %}
3636
<a href="#" class="cand-makeactive">
3737
<b>Add to grid <span class="glyphicon glyphicon-export"></span></b>
3838
</a>
3939
<span class="cand-isactive text-muted" style="display:none;">In the grid</span>
40+
{% if e.event_id not in flags %}
41+
<p class="event-groupers">
42+
{% for class in ['info', 'warning', 'success'] %}
43+
<a class="bg-{{ class }} glyphicon glyphicon-unchecked" title="Add to group"></a>
44+
{% endfor %}
45+
</p>
46+
{% endif %}
4047
</div>
4148
</div>
4249
<div class="row">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /