[PATCH 17/51] filters: Use the glyphicons for add/remove signs
Damien Lespiau
damien.lespiau at intel.com
Tue Aug 25 04:23:06 AEST 2015
They give a much better contrast the the one already there.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
htdocs/css/style.css | 5 +++++
htdocs/images/16-circle-blue-add.png | Bin 477 -> 0 bytes
htdocs/images/16-circle-blue-remove.png | Bin 475 -> 0 bytes
patchwork/templates/patchwork/filters.html | 11 ++++-------
4 files changed, 9 insertions(+), 7 deletions(-)
delete mode 100644 htdocs/images/16-circle-blue-add.png
delete mode 100644 htdocs/images/16-circle-blue-remove.png
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 62b0c3c..fcf5ac8 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -140,6 +140,11 @@ table.patchlist td.patchlistfilters {
border-bottom: thin solid black;
font-size: smaller;
}
+
+td.patchlistfilters a {
+ color: black;
+}
+
table.patchlist td.patchlistreorder {
background: #c0c0ff;
border-top: thin solid gray;
diff --git a/htdocs/images/16-circle-blue-add.png b/htdocs/images/16-circle-blue-add.png
deleted file mode 100644
index 130c91adf2614dc4e8230b02424fc652ddae9482..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 477
zcmV<30V4j1P)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUze at R3^RCwB?Q(a2}K@>e}7HLs_v3(aN
z5+Pv`1qsnx_AK;!)Ysnn9f9-`RBt^+3sKRBh$*32t*uH)E|j);r<TTbee%MEJLjCa
zcjn$1i>7Jl#x3a5ta@;Cm}ns+#jWw{RZmIa*Ws;5YXalOCI2`!mwgO7KF>f(Lo-Wc
zHEs_2#;_5b#pCN6&XP|I_l~--zTm~lRTfeP8lR-C2P^Y4sC;}PuT&8VOfaXIFycD)
zfU3_;i%1tLD81KEZ~V8Qsy1+O{{r`r9i)+R(87Swc7=d%3U?1OB5SiPRU)C^b>cM3
zG^t$Cya(B04f(R#ab(2x+iU39#AjK?fX#-T{cEUS4MevW86Mxegsry+uI3d;!<&Vh
zb6i%+5S at c?Ivi|+ZWI$n9BD{vc7j;bqm{CP5tj$Tw;j6&w~V05;&2~`<FxH#q|61m
zgqvgvLS2P_Qe;jsVZ`y(&0b=xDfk;JqI6t7xv{$GQ`QA~A|q}zfxcun_9MUmy<^Ec
TDhzki00000NkvXXu0mjfO*+!5
diff --git a/htdocs/images/16-circle-blue-remove.png b/htdocs/images/16-circle-blue-remove.png
deleted file mode 100644
index 6da0f20309be7fa9d039a8c83dca1e9871f2d1c5..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 475
zcmV<10VMv3P)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzeMv+?RCwB?Q(a2}K@>f^e$=X&Ul;}U
zB at rPZ5d{U&TlVZ9%3k|1(qr}3Q?Ss36orTqhRBM#P^ggYPIJeEab2Ih%U$lAd*;lY
zJ2NU{4D+~(In6r`?(d2d3B4U>^7uH>QRH#%GCwKcoOrOahKs|rz#g8f&?{hWLSE<O
zY<d;v*=<-h!}q`v_-SSnXZu at tEY+Y_!DNxC3Xb+RVD^46v>0qQ+J&kp at Oc!GD^;8B
zJ)qTh*ORC;Omx2b_~im at R5cX-dAUG58~}0jI#`ZiX9byb3U40<@+aG_9WOrB1gBhY
zx%Z&f>f^IJn0aKBTMYCuvx!Z^Kv2_gbNhn9(1LA`aFyQ{&F4XkZ-F?nsnR)L8|^NV
z(Ga4M2!f$7{DCFm6ca`{;t+RAfLnonX19%%Wj~VP1tdZ~;S>`_IhpGe5XudsgV*;m
zhCLIhm?oTJ!YC)N?sg9fobZ3FxT11pap&r;7imlw3psJ8DU7kXUgMtt0{{~7!r<kP
R51#-4002ovPDHLkV1mO0(ux28
diff --git a/patchwork/templates/patchwork/filters.html b/patchwork/templates/patchwork/filters.html
index 10ca587..7652db5 100644
--- a/patchwork/templates/patchwork/filters.html
+++ b/patchwork/templates/patchwork/filters.html
@@ -149,17 +149,14 @@ function submitter_field_change(field)
{% for filter in filters.applied_filters %}
{{ filter.name }} = {{ filter.condition }}
{% if not filter.forced %}
- <a href="{{ filter.url_without_me }}"><img
- width="16" height="16" alt="remove filter" title="remove filter"
- src="{% static "images/16-circle-blue-remove.png" %}"></a>
+ <a href="{{ filter.url_without_me }}"> <span
+ class="glyphicon glyphicon-minus-sign" /></a>
{% endif %}
{% if not forloop.last %} | {% endif %}
{% endfor %}
{% else %}
- none
- <a href="javascript:filter_click()"><img
- width="16" height="16" alt="add filter" title="add filter"
- src="{% static "images/16-circle-blue-add.png" %}"></a>
+ none <a href="javascript:filter_click()"><span
+ class="glyphicon glyphicon-plus-sign"></span></a>
{% endif %}
</div>
<div id="filterform" style="padding-top: 1em; display: none">
--
2.1.0
More information about the Patchwork
mailing list