]> git.ozlabs.org Git - patchwork/commitdiff
Use consistent icons for filter settings
authorJeremy Kerr <jk@ozlabs.org>
Sat, 23 Aug 2008 07:23:49 +0000 (15:23 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Sat, 23 Aug 2008 07:23:49 +0000 (15:23 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
htdocs/css/style.css
htdocs/images/16-circle-blue-add.png [new file with mode: 0644]
htdocs/images/16-circle-blue-remove.png [new file with mode: 0644]
htdocs/images/filter-add.png [deleted file]
htdocs/images/filter-remove.png [deleted file]
templates/patchwork/filters.html

index 5fe0e4ebef2c5036c22f6f794f965ac34478b654..bef96057199e233b4f1d83499e891aa92ec85c2d 100644 (file)
@@ -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 (file)
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 (file)
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 (file)
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 (file)
index 82f2a32..0000000
Binary files a/htdocs/images/filter-remove.png and /dev/null differ
index ff4339ec5ec1d8edaf5ed7f12080c2c97f060fab..36981014f07123b47cb5594e67d1062643d0211e 100644 (file)
@@ -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">