From: Jeremy Kerr Date: Sat, 23 Aug 2008 07:23:49 +0000 (+0800) Subject: Use consistent icons for filter settings X-Git-Tag: v0.9.0~360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea9a15a17eee6a073a59f95744deacfd34633c11;p=thirdparty%2Fpatchwork.git Use consistent icons for filter settings Signed-off-by: Jeremy Kerr --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 5fe0e4eb..bef96057 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 00000000..130c91ad 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 00000000..6da0f203 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 3992342d..00000000 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 82f2a328..00000000 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 ff4339ec..36981014 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 %}