feat: implement unified asset index view with dynamic filtering modal and associated JavaScript logic
This commit is contained in:
parent
2b8cdfabb7
commit
d82dcde16d
2 changed files with 448 additions and 288 deletions
|
|
@ -1171,14 +1171,14 @@ $(document).ready(function () {
|
||||||
document.getElementById('col-table').className = 'col-md-6';
|
document.getElementById('col-table').className = 'col-md-6';
|
||||||
const colMap = document.getElementById('col-map');
|
const colMap = document.getElementById('col-map');
|
||||||
colMap.className = 'col-md-6';
|
colMap.className = 'col-md-6';
|
||||||
colMap.style.cssText = 'position: relative; margin-top: 44px;';
|
colMap.style.cssText = 'position: relative; margin-top: 50px;';
|
||||||
setLayoutActive('both');
|
setLayoutActive('both');
|
||||||
});
|
});
|
||||||
document.getElementById('layout-btn-map').addEventListener('click', function () {
|
document.getElementById('layout-btn-map').addEventListener('click', function () {
|
||||||
document.getElementById('col-table').classList.add('d-none');
|
document.getElementById('col-table').classList.add('d-none');
|
||||||
const colMap = document.getElementById('col-map');
|
const colMap = document.getElementById('col-map');
|
||||||
colMap.className = 'col-12';
|
colMap.className = 'col-12';
|
||||||
colMap.style.cssText = 'position: relative; margin-top: 44px;';
|
colMap.style.cssText = 'position: relative; margin-top: 50px;';
|
||||||
setLayoutActive('map');
|
setLayoutActive('map');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue