Commit Graph

4516 Commits (ee6dff8cd4de2042388fc0ba1a411b322ab5c8a9)

Author SHA1 Message Date
Isaac Connor ce944b9a61 Add case to handle scale value stored in cooke == auto 2022-04-28 16:33:38 -04:00
Isaac Connor f8d14b5fa7 New styles for new layout. Image and Points in in 1 div now, floated left, settings floated right. 2022-04-28 16:14:06 -04:00
Isaac Connor c468be7c40 New styles for new layout. Image and Points in in 1 div now, floated left, settings floated right. 2022-04-28 16:13:51 -04:00
Isaac Connor ba195203a6 var => const. Fix points not being draggable after switch to MonitorStream.js generated html. Fix hightlightoff not firing over points table 2022-04-28 16:10:46 -04:00
Isaac Connor 00c2c2e794 replace No Data with No event. People get confused by No Data. 2022-04-28 10:36:06 -04:00
Isaac Connor 13b0cdccbd Use getStreamHTML to include the state and zones html 2022-04-22 16:00:50 -04:00
Isaac Connor b15b0281be Use getStreamHTML to include the state html 2022-04-22 16:00:27 -04:00
Isaac Connor 8d89639e2f Include the padding when figureing the scaling 2022-04-22 15:59:58 -04:00
Isaac Connor a5bb2535d8 Include the padding when figureing the scaling 2022-04-22 15:59:54 -04:00
Isaac Connor d584b8ec21 Remove CMD_ defines because they are now in skin.js.php 2022-04-22 15:54:33 -04:00
Isaac Connor 44ace76e2e Remove CMD_ defines because they are now in skin.js.php 2022-04-22 15:54:19 -04:00
Isaac Connor 003b23f171 Set img to 100% so it fills the frame 2022-04-22 15:53:27 -04:00
Isaac Connor 647bd69fc8 Move CMD_ defines to skin.js.php so that they are available everywhere 2022-04-22 15:52:34 -04:00
Isaac Connor e47d1bcd07 Set imageFrame.monitor to 100%, don't float the .monitor and be more specific about styles for zonePoints so they don't affect other divs 2022-04-22 15:52:08 -04:00
Isaac Connor 1997a1b6d9 Fix reversed logic preventing warning about no video saving 2022-04-22 13:07:40 -04:00
Isaac Connor 348441ac46 Deprecate scale == auto 2022-04-22 13:07:11 -04:00
Isaac Connor 889cb7df18 Add workaround for old string values of scale 2022-04-22 12:33:36 -04:00
Isaac Connor 66b4902fd1 Clean up default layout code to match 1.36.15 2022-04-21 09:28:37 -04:00
Isaac Connor be0037a17a Revert scale=auto to be scale='0' 2022-04-21 09:26:23 -04:00
Isaac Connor a05488b758 Put auto back to '0' because it needs to be for saving monitors 2022-04-21 09:25:46 -04:00
Isaac Connor 0eb358aecf Make video tag for janus 100% width so that it scales likes img does 2022-04-21 09:24:03 -04:00
Isaac Connor 768941b020 Make video tags 100% as well as img so that janus scales 2022-04-20 18:48:19 -04:00
Isaac Connor c2dcaab744 fix eslint 2022-04-20 10:00:47 -04:00
Isaac Connor 41cbc1afed Must define CMD_QUIT 2022-04-20 09:39:12 -04:00
Isaac Connor 1561ad140a Merge branch 'master' into fix_viewing 2022-04-19 17:09:02 -04:00
Isaac Connor ff46f78ab4 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-04-19 17:08:19 -04:00
Isaac Connor 91a5642edc merge 2022-04-19 17:07:20 -04:00
Isaac Connor b519e3b388 spacing, default to fixed when appropriate, include state html if not website 2022-04-19 17:06:34 -04:00
Isaac Connor 3885d853f9 Don't need to use a random start on watch 2022-04-19 17:05:41 -04:00
Isaac Connor aedfca22d6 reorg code a bit. Implement setting width & height in REQUEST 2022-04-19 16:59:11 -04:00
Isaac Connor 4393d2b9de Add CMD_STOP, convert to consts 2022-04-19 16:58:33 -04:00
Isaac Connor 61bdcc53ab add debugging and put back code in setLayout to call setScale. Add onclick to navbar elements to stop streaming when clicked. 2022-04-19 16:58:17 -04:00
Isaac Connor 4785954140 Add comments to scaleToFit 2022-04-19 16:57:30 -04:00
Isaac Connor c171c47d58 Don't remove fixed 2022-04-19 16:56:40 -04:00
Isaac Connor fe6663fa39 Fix skipping based on Function instead of Capturing. 2022-04-18 18:03:50 -04:00
Isaac Connor 53805079b6 If no device specified, look in /dev/ for video devices and specify them to zmu. Fix use of undefined host var 2022-04-18 15:56:14 -04:00
Isaac Connor 2ff16e002b fix eslint 2022-04-12 14:04:35 -04:00
Isaac Connor 6548983f39 Make JANUS options full width and left-align things 2022-04-12 14:01:48 -04:00
Isaac Connor 43fbd7d709 Ensure rate is an integer when coming from cookie. Remove commented out rate display. 2022-04-11 09:46:47 -04:00
Isaac Connor df61f50724 Make monitor video centered 2022-04-10 18:55:37 -04:00
Isaac Connor 0cc2a78aec add some relative positioning so that everything works. Move svg styling into .css 2022-04-10 18:55:16 -04:00
Isaac Connor b339dc2686 img scaling has been moved to MonitorStream.js 2022-04-10 17:27:12 -04:00
Isaac Connor 2c0a9528b3 Fix behaviour of layout,width,height scale etc. Height is a special case, it works differently than the rest. Use MonitorStream.js functions for setting the width/height and scale of the zms url. The img is always 100% width and height, everything is set in the containing divs. 2022-04-10 17:26:23 -04:00
Isaac Connor 37d0b6e606 Add some basic sanity checks for width & height == 0 2022-04-07 19:38:43 -04:00
Isaac Connor a58111fa46 Rough in an onclick handler for the monitor tabs so that we can store the selected tab value 2022-04-07 13:17:02 -04:00
Isaac Connor 0fc6ffe359 Use non-minified chosen.js because we made changes. 2022-04-07 13:15:15 -04:00
Isaac Connor 229f159069 If the select is hidden, it will have 0 width. So instead return 100% 2022-04-07 13:14:58 -04:00
Isaac Connor e9f248def7 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-04-06 14:58:52 -04:00
Isaac Connor 10383d775a Fix on-change-this to data-on-change-this and remove an extra /tr 2022-04-06 14:58:42 -04:00
Isaac Connor 906951e450 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-04-06 10:37:10 -04:00