Commit f364d1f8 authored by Leo Iannacone's avatar Leo Iannacone

add popover on download history button

parent 1c2fbf82
......@@ -342,6 +342,8 @@ function Page_History() {
socket.emit(config.events.client.disk_usage);
};
// active downlaod tooltip
$("[data-toggle='popover']").popover();
$('#download').on('click', function () {
_exportTableToCSV.apply(this, [$('#history'), 'history.csv']);
});
......
......@@ -23,7 +23,7 @@
</div>
</div>
<div class="body" style="display: none">
<a id="download" class="btn btn-primary">Download current view</a>
<a id="download" class="btn btn-primary" data-trigger="hover" data-toggle="popover" title="Export to CSV" data-placement="right" data-content="Save the packages displayed in the table in format CSV. You can filter out packages by selecting distributions, a status, specifying a date or an uploader.">Download current view</a>
<table id="history" class="tablesorter">
<thead>
<tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment