Sidebar scrolling

This commit is contained in:
John Crisp 2025-04-23 15:33:16 +02:00
parent 50edcdee9c
commit 95dedd2f38
5 changed files with 37 additions and 23 deletions

View File

@ -1,7 +1,9 @@
<!-- common_css.html.ep --> <!-- common_css.html.ep -->
%= stylesheet 'css/sme-jquery-overrides.css'
%= stylesheet 'dist/css/adminlte.min.css'
%= stylesheet 'koozali/css/adminlte.koozali.css' %= stylesheet 'koozali/css/adminlte.koozali.css'
%= stylesheet 'koozali/css/flag-icon.min.css' %= stylesheet 'koozali/css/flag-icon.min.css'
%#= stylesheet 'css/sme-jquery-overrides.css'
%= stylesheet 'dist/css/adminlte.min.css'
%= stylesheet 'dist/icons/font/bootstrap-icons.min.css' %= stylesheet 'dist/icons/font/bootstrap-icons.min.css'
%= stylesheet 'dist/css/overlayscrollbars.min.css'

View File

@ -1,6 +1,9 @@
<!-- Include files across the whole site --> <!-- common_js.html.ep -->
%= javascript 'js/jquery.min.js' %= javascript 'dist/js/jquery.min.js'
%= javascript 'dist/js/bootstrap.min.js'
%= javascript 'dist/js/popper.min.js'
%= javascript 'dist/js/adminlte.min.js' %= javascript 'dist/js/adminlte.min.js'
%= javascript '/js/flag-by-locale.js' %= javascript 'koozali/js/flag-by-locale.js'
%= javascript '/js/sme-password.js' %= javascript 'koozali/js/sme-password.js'

View File

@ -1,33 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<!-- default +jquery --> <!-- default +jquery -->
<!-- https://icons.getbootstrap.com/ --> <!-- https://icons.getbootstrap.com/ -->
<!-- Nice mojo links -->
<!-- https://en.mojolicious.perlzemi.com/blog/20140414139745.html -->
<!-- https://en.mojolicious.perlzemi.com/blog/20110616130993.html -->
<head> <head>
<title> <title>
<%= $title %> <%= $title %>
</title> </title>
<link rel="made" href="mailto:bugs%40koozali.org"> <link rel="made" href="mailto:bugs%40koozali.org">
<link rel="icon" type="image/x-icon" href="koozali/assets/img/favicon.ico">
<meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
%= content_for 'head_contrib' %= content_for 'head_contrib'
%= content_for 'refresh'
%= include 'common_js'
%= include 'common_css'
<!-- Custom overrides js/css? -->
<!-- This needs refining - do contribs add in their own stuff?? -->
<!-- This needs refining -->
% if (config 'hasJquery') { % if (config 'hasJquery') {
%= include 'partials/_js_imports' %= include 'partials/_js_imports'
%= include 'common_js'
% } % }
%= content_for 'refresh' % if ($c->current_route eq 'nutups') {
%= include 'partials/_nutups_overrides'
%= include 'common_css' % }
<!-- Custom overrides? -->
% if ($c->current_route eq 'nutups') {
%= include 'partials/_nutups_overrides'
% }
</head> </head>
@ -108,7 +114,7 @@
<!--end::Sidebar Brand--> <!--end::Sidebar Brand-->
<!--begin::Sidebar Wrapper--> <!--begin::Sidebar Wrapper-->
<div class="sidebar-wrapper"> <div class="sidebar-wrapper navbar-nav-scroll">
<nav class="mt-2"> <nav class="mt-2">
<!--begin::Sidebar Menu--> <!--begin::Sidebar Menu-->
<ul class="nav sidebar-menu flex-column" data-lte-toggle="treeview" role="menu" data-accordion="false"> <ul class="nav sidebar-menu flex-column" data-lte-toggle="treeview" role="menu" data-accordion="false">
@ -155,7 +161,7 @@
<!--end::Rows--> <!--end::Rows-->
<br> <!-- <br> -->
<!-- This is the main page content depening on the calling module --> <!-- This is the main page content depening on the calling module -->
<!-- nameofpanel.html.ep --> <!-- nameofpanel.html.ep -->

View File

@ -77,7 +77,7 @@
<!-- /.col --> <!-- /.col -->
<div class="col-4"> <div class="col-4">
<div class="d-grid gap-2"> <div class="d-grid gap-2">
<button type="submit" class="btn btn-primary">Sign In</button> <button type="submit" class="btn btn-primary">Login</button>
</div> </div>
</div> </div>
<!-- /.col --> <!-- /.col -->

View File

@ -1,6 +1,6 @@
%define name smeserver-manager-AdminLTE %define name smeserver-manager-AdminLTE
%define version 11.0.0 %define version 11.0.0
%define release 10 %define release 11
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2 Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
@ -26,6 +26,9 @@ AdminLTE is an html framework for admin consoles
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
%changelog %changelog
* Wed Apr 23 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.011.sme
- Working sidebar scrolling
* Sat Apr 19 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-10.sme * Sat Apr 19 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-10.sme
- Tweak the form values more but stil not right - Tweak the form values more but stil not right