T272 history filter is now hidden. Added switch to toggle visibility
This commit is contained in:
@@ -102,7 +102,8 @@
|
|||||||
<!-- history -->
|
<!-- history -->
|
||||||
<div id="history" class="medium-vertical-margin tabcontent">
|
<div id="history" class="medium-vertical-margin tabcontent">
|
||||||
<div class="block-display max-width">
|
<div class="block-display max-width">
|
||||||
<div class="display-space-between max-width small-vertical-margin">
|
<button id="btn-history-filter" class="clickable-text highlight"><span>></span> filter</button>
|
||||||
|
<div id ="history-filter" class="display-space-between max-width small-vertical-margin hiddable">
|
||||||
<div class="three-fourth-width display-space-evenly">
|
<div class="three-fourth-width display-space-evenly">
|
||||||
<div class="block-display half-width with-padding">
|
<div class="block-display half-width with-padding">
|
||||||
<label for="historyFrom" class="block-label">From</label>
|
<label for="historyFrom" class="block-label">From</label>
|
||||||
|
|||||||
@@ -22,8 +22,15 @@ function changeAdvancedVisibility(){
|
|||||||
setCookie();
|
setCookie();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const historyFilterSwitch = function(){
|
||||||
|
$('#history-filter').toggleClass('active');
|
||||||
|
}
|
||||||
|
|
||||||
$("#optional").click(changeAdvancedVisibility);
|
$("#optional").click(changeAdvancedVisibility);
|
||||||
$('#historyTab').click(showHistory);
|
$('#historyTab').click(showHistory);
|
||||||
|
$('#btn-history-filter').click(historyFilterSwitch);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const tabitem = $('.tabitem');
|
const tabitem = $('.tabitem');
|
||||||
function showHistory(){
|
function showHistory(){
|
||||||
|
|||||||
@@ -102,7 +102,8 @@
|
|||||||
<!-- history -->
|
<!-- history -->
|
||||||
<div id="history" class="medium-vertical-margin tabcontent">
|
<div id="history" class="medium-vertical-margin tabcontent">
|
||||||
<div class="block-display max-width">
|
<div class="block-display max-width">
|
||||||
<div class="display-space-between max-width small-vertical-margin">
|
<button id="btn-history-filter" class="clickable-text highlight"><span>></span> filter</button>
|
||||||
|
<div id ="history-filter" class="display-space-between max-width small-vertical-margin hiddable">
|
||||||
<div class="three-fourth-width display-space-evenly">
|
<div class="three-fourth-width display-space-evenly">
|
||||||
<div class="block-display half-width with-padding">
|
<div class="block-display half-width with-padding">
|
||||||
<label for="historyFrom" class="block-label">From</label>
|
<label for="historyFrom" class="block-label">From</label>
|
||||||
|
|||||||
@@ -22,8 +22,15 @@ function changeAdvancedVisibility(){
|
|||||||
setCookie();
|
setCookie();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const historyFilterSwitch = function(){
|
||||||
|
$('#history-filter').toggleClass('active');
|
||||||
|
}
|
||||||
|
|
||||||
$("#optional").click(changeAdvancedVisibility);
|
$("#optional").click(changeAdvancedVisibility);
|
||||||
$('#historyTab').click(showHistory);
|
$('#historyTab').click(showHistory);
|
||||||
|
$('#btn-history-filter').click(historyFilterSwitch);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const tabitem = $('.tabitem');
|
const tabitem = $('.tabitem');
|
||||||
function showHistory(){
|
function showHistory(){
|
||||||
|
|||||||
Reference in New Issue
Block a user