]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
filters: Use the glyphicons for add/remove signs
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 20 Sep 2014 23:17:14 +0000 (00:17 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 03:51:35 +0000 (03:51 +0000)
They give a much better contrast the the one already there.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
htdocs/css/style.css
htdocs/images/16-circle-blue-add.png [deleted file]
htdocs/images/16-circle-blue-remove.png [deleted file]
patchwork/templates/patchwork/filters.html

index 62b0c3c727a01658ef8d57de1ba98e104f47ca6e..fcf5ac8c64df50a6e7b6d7bd171796449d401b47 100644 (file)
@@ -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 (file)
index 130c91a..0000000
Binary files a/htdocs/images/16-circle-blue-add.png and /dev/null differ
diff --git a/htdocs/images/16-circle-blue-remove.png b/htdocs/images/16-circle-blue-remove.png
deleted file mode 100644 (file)
index 6da0f20..0000000
Binary files a/htdocs/images/16-circle-blue-remove.png and /dev/null differ
index 10ca587ce7d089f383924299aa05d8b58b2e1ebc..7652db5020b1b0fec6dc2bdd5899dc1665339825 100644 (file)
@@ -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 }}">&nbsp;&nbsp;<span
+      class="glyphicon glyphicon-minus-sign" /></a>
     {% endif %}
    {% if not forloop.last %}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;{% 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&nbsp;&nbsp;<a href="javascript:filter_click()"><span
+   class="glyphicon glyphicon-plus-sign"></span></a>
  {% endif %}
  </div>
  <div id="filterform" style="padding-top: 1em; display: none">