summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-23 15:23:49 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-23 15:23:49 +0800
commitea9a15a17eee6a073a59f95744deacfd34633c11 (patch)
treea2355872dbc8dd470182d86200d5cf25c881e749
parent2ad7773c77b1bd144a04ef095c42c5cf5749a13c (diff)
downloadpatchwork-ea9a15a17eee6a073a59f95744deacfd34633c11.tar.bz2
patchwork-ea9a15a17eee6a073a59f95744deacfd34633c11.tar.xz
Use consistent icons for filter settings
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--htdocs/css/style.css4
-rw-r--r--htdocs/images/16-circle-blue-add.pngbin0 -> 477 bytes
-rw-r--r--htdocs/images/16-circle-blue-remove.pngbin0 -> 475 bytes
-rw-r--r--htdocs/images/filter-add.pngbin397 -> 0 bytes
-rw-r--r--htdocs/images/filter-remove.pngbin320 -> 0 bytes
-rw-r--r--templates/patchwork/filters.html7
6 files changed, 9 insertions, 2 deletions
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 5fe0e4e..bef9605 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -135,6 +135,10 @@ table.patchlist td {
margin-top: 10px;
}
+table.patchlist td img {
+ vertical-align: bottom;
+}
+
table.patchlist td.patchlistfilters {
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
new file mode 100644
index 0000000..130c91a
--- /dev/null
+++ b/htdocs/images/16-circle-blue-add.png
Binary files differ
diff --git a/htdocs/images/16-circle-blue-remove.png b/htdocs/images/16-circle-blue-remove.png
new file mode 100644
index 0000000..6da0f20
--- /dev/null
+++ b/htdocs/images/16-circle-blue-remove.png
Binary files differ
diff --git a/htdocs/images/filter-add.png b/htdocs/images/filter-add.png
deleted file mode 100644
index 3992342..0000000
--- a/htdocs/images/filter-add.png
+++ /dev/null
Binary files differ
diff --git a/htdocs/images/filter-remove.png b/htdocs/images/filter-remove.png
deleted file mode 100644
index 82f2a32..0000000
--- a/htdocs/images/filter-remove.png
+++ /dev/null
Binary files differ
diff --git a/templates/patchwork/filters.html b/templates/patchwork/filters.html
index ff4339e..3698101 100644
--- a/templates/patchwork/filters.html
+++ b/templates/patchwork/filters.html
@@ -147,13 +147,16 @@ function submitter_field_change(field)
{{ filter.name }} = {{ filter.condition }}
{% if not filter.forced %}
<a href="{{ filter.url_without_me }}"><img
- src="/images/filter-remove.png"></a>
+ width="16" height="16" alt="remove filter" title="remove filter"
+ src="/images/16-circle-blue-remove.png"></a>
{% endif %}
{% if not forloop.last %}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;{% endif %}
{% endfor %}
{% else %}
none
- <a href="javascript:filter_click()"><img src="/images/filter-add.png"></a>
+ <a href="javascript:filter_click()"><img
+ width="16" height="16" alt="add filter" title="add filter"
+ src="/images/16-circle-blue-add.png"></a>
{% endif %}
</div>
<div id="filterform" style="padding-top: 1em; display: none">