From: Jeremy Kerr Date: Sat, 23 Aug 2008 07:23:49 +0000 (+0800) Subject: Use consistent icons for filter settings X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=ea9a15a17eee6a073a59f95744deacfd34633c11 Use consistent icons for filter settings Signed-off-by: Jeremy Kerr --- 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 Binary files /dev/null and b/htdocs/images/16-circle-blue-add.png 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 Binary files /dev/null and b/htdocs/images/16-circle-blue-remove.png differ diff --git a/htdocs/images/filter-add.png b/htdocs/images/filter-add.png deleted file mode 100644 index 3992342..0000000 Binary files a/htdocs/images/filter-add.png and /dev/null differ diff --git a/htdocs/images/filter-remove.png b/htdocs/images/filter-remove.png deleted file mode 100644 index 82f2a32..0000000 Binary files a/htdocs/images/filter-remove.png and /dev/null 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 %} + width="16" height="16" alt="remove filter" title="remove filter" + src="/images/16-circle-blue-remove.png"> {% endif %} {% if not forloop.last %}   |   {% endif %} {% endfor %} {% else %} none - + add filter {% endif %}