From d9cd47075697a363b94c575526937ad40c617a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sat, 22 Mar 2014 21:46:26 +0100 Subject: Bug 276560: Use webbadge icons for alternate format links on buglist r=LpSolit a=justdave --- images/csv.png | Bin 0 -> 1204 bytes images/ical.png | Bin 0 -> 241 bytes images/rss.png | Bin 764 -> 1230 bytes images/rss_small.png | Bin 0 -> 764 bytes images/xml.png | Bin 0 -> 1148 bytes skins/standard/buglist.css | 29 ++++++++++++++++ skins/standard/global.css | 2 +- template/en/default/list/list.html.tmpl | 57 ++++++++++++++++---------------- 8 files changed, 59 insertions(+), 29 deletions(-) create mode 100644 images/csv.png create mode 100644 images/ical.png create mode 100644 images/rss_small.png create mode 100644 images/xml.png diff --git a/images/csv.png b/images/csv.png new file mode 100644 index 000000000..cb29bd7b4 Binary files /dev/null and b/images/csv.png differ diff --git a/images/ical.png b/images/ical.png new file mode 100644 index 000000000..aa198578b Binary files /dev/null and b/images/ical.png differ diff --git a/images/rss.png b/images/rss.png index 1679ab05b..79dcc704d 100644 Binary files a/images/rss.png and b/images/rss.png differ diff --git a/images/rss_small.png b/images/rss_small.png new file mode 100644 index 000000000..1679ab05b Binary files /dev/null and b/images/rss_small.png differ diff --git a/images/xml.png b/images/xml.png new file mode 100644 index 000000000..685300d25 Binary files /dev/null and b/images/xml.png differ diff --git a/skins/standard/buglist.css b/skins/standard/buglist.css index 318aa43fb..d614da9ea 100644 --- a/skins/standard/buglist.css +++ b/skins/standard/buglist.css @@ -42,6 +42,31 @@ .bz_sort_order_primary { color: black; } .bz_sort_order_secondary { color: #777; } +.bz_query_buttons #xml { + vertical-align: middle; + padding: 0; +} + +.bz_query_buttons button { + border: 0px; + background: transparent; +} + +.bz_query_buttons form { + display: inline; +} + +.bz_query_links a img { + vertical-align: bottom; +} + +.bz_query_links a { + text-decoration: none; +} + +.bz_query_links button, .bz_query_edit button { + font-size: small; +} .bz_id_column { } @@ -131,6 +156,10 @@ td.bz_total { vertical-align: middle; } +.buglist_menu .bz_query_buttons { + display: inline; +} + div.bz_query_buttons { max-width: 15em; } diff --git a/skins/standard/global.css b/skins/standard/global.css index 13949edc4..96d6834fc 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -262,7 +262,7 @@ div#docslinks { } .rss { - background: transparent url(../../images/rss.png) no-repeat; + background: transparent url(../../images/rss_small.png) no-repeat; padding-left: 16px; line-height: 1.5em; } diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 248fc2638..de289e3dd 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -195,14 +195,6 @@ -
- - [% FOREACH id = buglist %] - - [% END %] - - -
[% IF user.is_timetracker %]
@@ -220,46 +212,55 @@ [% END %] [% END %] - + + + [% FOREACH id = buglist %] + + [% END %] + + +
+ - +
- Edit Search +
[% IF searchtype == "saved" %]
- | - Forget Search '[% searchname FILTER html %]' + [% issue_hash_token([search_id, searchname]) FILTER uri %]" + >
[% ELSE %]
-- cgit v1.2.1