make the filter button style consistent
parent
f32a7aaff5
commit
2fbbe11079
|
@ -121,7 +121,7 @@ getBodyTopHTML();
|
||||||
<button id="backBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Back') ?>" disabled><i class="fa fa-arrow-left"></i></button>
|
<button id="backBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Back') ?>" disabled><i class="fa fa-arrow-left"></i></button>
|
||||||
<button id="refreshBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Refresh') ?>" ><i class="fa fa-refresh"></i></button>
|
<button id="refreshBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Refresh') ?>" ><i class="fa fa-refresh"></i></button>
|
||||||
<button id="tlineBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('ShowTimeline') ?>" ><i class="fa fa-history"></i></button>
|
<button id="tlineBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('ShowTimeline') ?>" ><i class="fa fa-history"></i></button>
|
||||||
<a class="btn btn-normal" href="?view=filter<?php echo $filterQuery ?>"><?php echo translate('Filter') ?></a>
|
<button id="filterBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Filter') ?>"><i class="fa fa-filter"></i></button>
|
||||||
<button id="viewBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('View') ?>" disabled><i class="fa fa-binoculars"></i></button>
|
<button id="viewBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('View') ?>" disabled><i class="fa fa-binoculars"></i></button>
|
||||||
<button id="archiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Archive') ?>" disabled><i class="fa fa-archive"></i></button>
|
<button id="archiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Archive') ?>" disabled><i class="fa fa-archive"></i></button>
|
||||||
<button id="unarchiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Unarchive') ?>" disabled><i class="fa fa-file-archive-o"></i></button>
|
<button id="unarchiveBtn" class="btn btn-normal" data-toggle="tooltip" data-placement="top" title="<?php echo translate('Unarchive') ?>" disabled><i class="fa fa-file-archive-o"></i></button>
|
||||||
|
|
|
@ -149,6 +149,12 @@ function initPage() {
|
||||||
window.location.assign('?view=timeline'+filterQuery);
|
window.location.assign('?view=timeline'+filterQuery);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Manage the FILTER Button
|
||||||
|
document.getElementById("filterBtn").addEventListener("click", function onFilterClick(evt) {
|
||||||
|
evt.preventDefault();
|
||||||
|
window.location.assign('?view=filter'+filterQuery);
|
||||||
|
});
|
||||||
|
|
||||||
// Manage the VIEW button
|
// Manage the VIEW button
|
||||||
document.getElementById("viewBtn").addEventListener("click", function onViewClick(evt) {
|
document.getElementById("viewBtn").addEventListener("click", function onViewClick(evt) {
|
||||||
var selections = getIdSelections();
|
var selections = getIdSelections();
|
||||||
|
|
Loading…
Reference in New Issue