Module: check_mk
Branch: master
Commit: 7821b36ceadd3bcae5304150eea75949924af3a8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7821b36ceadd3b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jul 8 13:28:15 2013 +0200
Better icon for CSV download
---
web/htdocs/htmllib.py | 6 +++---
web/htdocs/images/icon_download_csv.png | Bin 0 -> 3890 bytes
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 33dfd4b..91027bd 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -790,9 +790,9 @@ class html:
("index.py?" + self.urlencode_vars([("start_url",
self.makeuri([]))]), _("URL to this page including sidebar"))
if self.myfile == "view":
- h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png"
title="%s"></a>\n' % \
- (self.makeuri([("output_format", "json_export")]),
_("Export as JSON"))
- h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png"
title="%s"></a>\n' % \
+ # h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png"
title="%s"></a>\n' % \
+ # (self.makeuri([("output_format", "json_export")]),
_("Export as JSON"))
+ h += '<a target="_top" href="%s"><img
class=statusicon src="images/icon_download_csv.png"
title="%s"></a>\n' % \
(self.makeuri([("output_format", "csv_export")]),
_("Export as CSV"))
for img, tooltip in self.status_icons.items():
diff --git a/web/htdocs/images/icon_download_csv.png
b/web/htdocs/images/icon_download_csv.png
new file mode 100644
index 0000000..14a73cf
Binary files /dev/null and b/web/htdocs/images/icon_download_csv.png differ