Bodged download button for reporting.
This commit is contained in:
parent
8187f6b306
commit
b62f2f34a9
BIN
modules/opencase_reporting/assets/download.png
Normal file
BIN
modules/opencase_reporting/assets/download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -7,10 +7,9 @@ li.facet-item {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#opencase_reporting_buttons {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#opencase_reporting_buttons #download-data{
|
||||
.views-data-export-feed.csv-feed .feed-icon {
|
||||
background-image: url(/modules/contrib/opencase/modules/opencase_reporting/assets/download.png);
|
||||
width: 200px;
|
||||
height: 27px;
|
||||
float: right;
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
jQuery('body').on('click','#opencase_reporting_buttons #download_data',function(){
|
||||
var url = new URL(location.href);
|
||||
url.searchParams.append('_format', 'csv');
|
||||
location.href = url.toString();
|
||||
});
|
Reference in New Issue
Block a user