* Mon Apr 29 2024 Brian Read <brianr@koozali.org> 11.0.0-6.sme

- Update layout for table extras [SME: 12656]
This commit is contained in:
Brian Read 2024-04-29 11:08:21 +01:00
parent 1837bc9a18
commit e7d7b6afb8
2 changed files with 13 additions and 49 deletions

View File

@ -19,16 +19,18 @@
%= content_for 'refresh' %= content_for 'refresh'
%= stylesheet '/js/datatables.min.css' %= stylesheet '/js/datatables.min.css'
%= javascript '/js/datatables.min.js'
%= stylesheet '/js/jquery-ui.min.css'
%= javascript '/js/jquery-ui.min.js'
%= stylesheet '/js/dataTables.buttons.min.js' %= javascript '/js/datatables.min.js'
%= stylesheet '/js/jszip.min.js'
%= stylesheet '/js/pdfmake.min.js' %= stylesheet '/js/jquery-ui.min.css'
%= stylesheet '/js/vfs_fonts.js'
%= stylesheet '/js/buttons.html5.min.js' %= javascript '/js/jquery-ui.min.js'
%= stylesheet '/js/buttons.print.min.js' %= javascript '/js/dataTables.buttons.min.js'
%= javascript '/js/jszip.min.js'
%= javascript '/js/pdfmake.min.js'
%= javascript '/js/vfs_fonts.js'
%= javascript '/js/buttons.html5.min.js'
%= javascript '/js/buttons.print.min.js'
%= stylesheet '/css/sme-jquery-overrides.css' %= stylesheet '/css/sme-jquery-overrides.css'
@ -91,46 +93,5 @@
%= javascript '/js/sme-dataTable-setup.js' %= javascript '/js/sme-dataTable-setup.js'
%= javascript begin
//Set menu to initial condition based on localStorage
$(document).ready(function() {
let menunavflag = window.localStorage.getItem('menunav');
if (menunavflag != "false"){
$('#menunav').toggle(true);
} else {
$('#menunav').toggle(false);
}
let menuadmflag = window.localStorage.getItem('menuadm');
if (menuadmflag != "false"){
$('#menuadm').toggle(true);
} else {
$('#menuadm').toggle(false);
}
let menuuserflag = window.localStorage.getItem('menuuser');
if (menuuserflag != "false"){
$('#menuuser').toggle(true);
} else {
$('#menuuser').toggle(false);
}
var sections = document.getElementsByClassName("section-title");
for (var i = 0, len = sections.length; i < len; i++) {
var jqObj = $(sections[i]);
var $section = jqObj.parent().next('div');
if(!$section.length){
return false;
}
let localStorageTag = "admSection-"+sections[i].innerHTML;
if (window.localStorage.getItem(localStorageTag) != "false"){
$section.toggle(true);
} else {
$section.toggle(false);
}
}
})
%end
</body> </body>
</html> </html>

View File

@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2
%define name smeserver-manager %define name smeserver-manager
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 5 %define release 6
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -108,6 +108,9 @@ true
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Mon Apr 29 2024 Brian Read <brianr@koozali.org> 11.0.0-6.sme
- Update layout for table extras [SME: 12656]
* Sun Apr 28 2024 Brian Read <brianr@koozali.org> 11.0.0-5.sme * Sun Apr 28 2024 Brian Read <brianr@koozali.org> 11.0.0-5.sme
- Ibay create not getting into panel [SME: 12652] - Ibay create not getting into panel [SME: 12652]