Commit Graph

407 Commits

Author SHA1 Message Date
Isaac Connor
528b155714 Merge blocks of output_link_if_exists 2024-09-12 09:21:19 -04:00
Isaac Connor
9e9d47d8b7 Split xhtmlHeaders into Start and End functions so that views that want to include more css in the head can do so. 2024-09-11 12:02:03 -04:00
Isaac Connor
01cda74b96 Add bootstrap-table-mobile extension so event list becomes cards 2024-08-16 18:48:34 -04:00
Isaac Connor
fed15110fc Allow config specifying favicon 2024-05-30 13:44:09 -04:00
IgorA100
8256cdef99 Load 'js/panzoom.js' file when needed (functions.php) 2024-05-27 19:31:20 +03:00
Isaac Connor
fdf4d83e02 Use else for micro-optimisation 2024-05-23 13:45:32 -04:00
IgorA100
2b6e4e2cbc Feat: Added support for PanZoom on Event page (functions.php) 2024-05-17 15:16:43 +03:00
Isaac Connor
582f594b0f Merge branch 'IgorA100-patch-6' 2024-05-15 11:46:26 -04:00
Isaac Connor
db5a66b08b Merge pull request #3988 from IgorA100/patch-81
Fix: CSS file loading order (functions.php)
2024-05-12 07:29:51 -04:00
IgorA100
707d77944e Added support PanZoom for Watch page (functions.php) 2024-05-09 20:07:38 +03:00
IgorA100
2a2d200cf3 Fix: CSS file loading order (functions.php)
Load third-party files first
2024-05-09 00:36:40 +03:00
IgorA100
c0e60faca7 Added support for GridStack & PanZoom on Montage page (functions.php) 2024-05-07 19:01:29 +03:00
IgorA100
a720292025 Merge branch 'ZoneMinder:master' into patch-6 2024-04-07 20:45:21 +03:00
Isaac Connor
40f666129c Show console in navbar when there are no monitors yet defined. 2024-04-01 09:23:20 -04:00
IgorA100
c77078d098 Merge branch 'ZoneMinder:master' into patch-6 2024-03-28 23:31:53 +03:00
IgorA100
030e6bbf89 Moved applyChosen() function to \skins\classic\js\skin.js
cspNonce applied to entire main JS skin file
2024-03-28 18:07:40 +03:00
IgorA100
edb2e6d22f Add line break 2024-03-28 12:08:03 +03:00
IgorA100
27c4a13726 Add function applyChosen(), add control attributes
Control attributes are used as an additional class
.chosen-full-width => width: "100%"
.chosen-auto-width => width: "auto"

Usage example:
<select class="chosen chosen-full-width"></select>

All work with Chosen should only happen in applyChosen(), otherwise things get confusing.
2024-03-28 12:05:09 +03:00
Simpler1
94a3632e1b fix(events): Expand/Collapse for navbar-two works when narrow 2024-03-23 11:14:41 -04:00
Simpler1
3df3e57872 fix(): Typo 2024-03-22 10:17:51 -04:00
IgorA100
95ee9f816d Merge branch 'ZoneMinder:master' into patch-6 2024-03-15 23:20:35 +03:00
IgorA100
74a43745d3 Fix: Order of loading css files
Initially, you need to load third-party styles and only then load your own styles.
This way we will get rid of the confusion of styles and the need to use "!important"
2024-03-05 15:20:02 +03:00
IgorA100
610109d569 Feat Entrust management of enabling search in select to the Chosen plugin
On Options page it is necessary to use Chosen plugin for all “selects”, otherwise the design will not be beautiful.
Search disabling is managed by Chosen plugin.
2024-03-05 12:07:45 +03:00
IgorA100
852dd772ab Merge branch 'ZoneMinder:master' into patch-6 2024-03-03 00:38:02 +03:00
Isaac Connor
8a42594009 Upgrade bootstrap-table to 1.22.3 2024-03-01 11:44:06 -05:00
IgorA100
59e4bdd69e Fix: Losing icons during Ajax update 2024-02-27 19:57:23 +03:00
IgorA100
4529b32a5d Fix getSysLoadHTML() getCpuUsageHTM() 2024-02-27 18:03:39 +03:00
Isaac Connor
f9a1b6b4f4 Only show cpuUsage if we have an Id 2024-02-22 12:55:35 -05:00
Isaac Connor
1742c03b1a Handle non-multi-server case. Fixes #3836 2024-02-22 10:57:01 -05:00
Isaac Connor
661d8620fd Add Cpu Usage % to header 2024-02-20 13:15:38 -05:00
Isaac Connor
4987ea1b21 Define user before using for viewableMonitorIds 2024-02-01 11:39:09 -05:00
Isaac Connor
8e035f61ac Use viewableMonitorsIds instead of canView(Monitors) when deciding to show the Console or Montage Links 2024-01-31 16:09:33 -05:00
Isaac Connor
0fb71e35f2 Add luxor.js and use it to format datetimes 2024-01-24 16:10:20 -05:00
Isaac Connor
3603aca21c Put navbar brand separate from navbars, remove explicit padding. Increase text size of ZoneMinder in brand, hide Branding on portrait mobile 2024-01-02 14:06:52 -05:00
Isaac Connor
6aa7901066 Use same logic as in LogHTML to apply success class, and hence make the word Log green when there are no errors. 2023-10-30 10:03:17 -04:00
Isaac Connor
b01908e93c Don't include the third nav element for nav banner when there is no banner set so as to take up less space 2023-10-23 17:06:28 -04:00
Charlie Root
da213d8532 Merge branch 'master' into openbsd 2023-09-11 13:42:43 -07:00
Charlie Root
50059e5842 Only show ram info if proc exists. 2023-09-11 13:42:22 -07:00
Isaac Connor
8672e6d64e Fix missing dropdown-item class on warning or danger storage areas. Increase warning to 95% instead of 90% 2023-08-10 11:03:22 -04:00
Isaac Connor
7a21c01f36 Don't show bandwidth options if there are none to choose from 2023-06-07 16:00:02 -04:00
Isaac Connor
e527264182 Hide navbars when not logged in and auth turned on 2023-05-25 13:55:39 -04:00
Isaac Connor
969baa3891 Convert user from an array to a User object 2023-04-23 12:57:29 -04:00
Isaac Connor
94efc5ff73 Add fontfaceobserver.js 2023-02-28 13:58:17 -05:00
Isaac Connor
a2879fb66c Add Map view to header 2023-02-25 12:46:34 -05:00
Isaac Connor
689ae56732 Sync up tags with collapsed header and remove the fixed-top class so that the stick header takes over. 2023-01-29 10:54:47 -05:00
Isaac Connor
d6e3a325aa Remove dropdown class from menu items that aren't dropdowns 2023-01-19 17:07:48 -05:00
Isaac Connor
6fa39d25c1 Separate account status section. 2023-01-19 17:07:48 -05:00
Isaac Connor
4b7680bc43 Use &amp; instead 2023-01-19 17:07:47 -05:00
Isaac Connor
5dc658dd55 add sticky class to body when ZM_WEB_NAVBAR_STICKY is set. Remove it from navbar. 2023-01-16 16:38:35 -05:00
Isaac Connor
0af2a3eb10 Make header navbar sticky, make entire second navbar go away when minmised. 2023-01-16 16:38:35 -05:00