Commit Graph

10552 Commits (402393f2cedae42a3b5860612e02669db09f1c18)

Author SHA1 Message Date
Simpler1 0cfe846e3f remove istead of comment out 2024-03-28 11:21:53 -04:00
Simpler1 de03037d0e fix(events): Remove unnecessary and inconsistent left margin 2024-03-28 11:20:43 -04: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 200815e2c3
Moved applyChosen() function from \skins\classic\includes\functions.php
Also moved the call to applyChosen() after loading the document
2024-03-28 17:50:02 +03:00
Isaac Connor b7baab3394
Merge pull request #3915 from Simpler1/patch-6
chore(lint): $ locations
2024-03-28 10:17:12 -04:00
Isaac Connor f624ad08f2
Merge pull request #3913 from Simpler1/patch-5
feat(): Term layout
2024-03-28 10:11:43 -04:00
Simpler1 992b729329 chore(lint): $ locations 2024-03-28 09:59:58 -04:00
Simpler1 9716cabe92 feat(): Term layout 2024-03-28 09:41:34 -04:00
Isaac Connor 99117a37f1
Merge pull request #3908 from IgorA100/patch-41
Feat: Change scrollbar style for dark css
2024-03-28 09:41:20 -04:00
Isaac Connor c8d9cd02d7 Fix use of int as a function instead of a cast 2024-03-28 09:02:53 -04:00
IgorA100 9068a5be85
Add .chosen for <select>
Previously, part of the code was not processed as "chosen" at all, other part of the code was processed by the script in filter.js, which resulted in "chosen" being processed in different places and in different styles.
Now all "chosen" processing happens in:
applyChosen() => \skins\classic\includes\functions.phpfunction
2024-03-28 12:33:59 +03:00
IgorA100 1217932707
Del extra space 2024-03-28 12:23:25 +03:00
IgorA100 5ce2b953e8
Replacing .chosen() with .addClass('chosen').
All JS work chosen has been moved to:
applyChosen() => \skins\classic\includes\functions.phpfunction
2024-03-28 12:18:36 +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
IgorA100 e9a53ce0b7
Add scrollbar change for WEB_NAVBAR_STICKY disabled mode 2024-03-28 01:16:43 +03:00
IgorA100 7ecf33aea4
Removed minimum width restriction for .chosen-container 2024-03-28 01:02:10 +03:00
IgorA100 261d629ee5
Add change style scrollbar for ".chosen-results" 2024-03-28 00:46:20 +03:00
Isaac Connor 97af155102 Remove extra }. Fixes #3911 2024-03-27 17:36:45 -04:00
Isaac Connor 9b1ea23792 When deleting a monitor, stop running zmc and zmcontrol processes 2024-03-27 13:03:54 -04:00
Isaac Connor 21183d332b Handle when auth is off, _getCredentials returns null so accessing it as an array is bad. 2024-03-27 12:57:12 -04:00
IgorA100 cabb0e93d4
Add .chosen in filter for <select> 2024-03-27 14:55:48 +03:00
IgorA100 e3f96a75fc
For <select> always apply chosen for Montage page 2024-03-27 13:15:10 +03:00
IgorA100 96bc632730
For <select> always apply chosen
If more 10 options in <selector>, search is turned on, if less 10 options, the search is not turned on.
This has already been implemented and is working.
The <select> style must be uniform.
2024-03-27 13:01:38 +03:00
Isaac Connor dc37a57dbc Remove debug. 2024-03-26 18:41:32 -04:00
IgorA100 790c69b20a
Fix: Warning if not specify term in FilterTerm
Required Term
2024-03-27 01:14:20 +03:00
IgorA100 8b41b37bef
Feat: Change scrollbar style for dark css 2024-03-26 23:41:20 +03:00
Isaac Connor ed8ad15161
Merge pull request #3902 from IgorA100/patch-39
Fix: css, remove important, add fix style .chosen-choices
2024-03-26 11:53:11 -04:00
IgorA100 ba776478e6
Fix: Text color in the Input field 2024-03-26 17:32:23 +03:00
IgorA100 0f5abeb190
Fix: Russian translation
Based on #3888
2024-03-26 14:51:48 +03:00
Isaac Connor 915c3db91d Place an arbitrary lower limit on scale value. Have seen scale=1 so I think 10 might be a reasonable value to limit to. Need to figure out how we got to a value of 1. 2024-03-25 19:03:01 -04:00
Isaac Connor 09838ea605 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-25 19:00:43 -04:00
IgorA100 59500a20f0
Fix: CSS. Added .chosen-container & border of table rows and input, button 2024-03-26 00:32:32 +03:00
IgorA100 16af156365
Important no longer needs to be used. Fix style .chosen-choices 2024-03-26 00:21:57 +03:00
Isaac Connor 57e0c6a595
Merge pull request #3899 from Simpler1/patch-4
fix(): Accommodate commit 6f5d51c
2024-03-25 15:42:25 -04:00
Simpler1 9f2d0f46b9 fix(): Accommodate commit 6f5d51c 2024-03-25 14:55:20 -04:00
IgorA100 2670d2e317
Added a count of the total number of available monitors. 2024-03-25 19:06:10 +03:00
IgorA100 76a412fb32
Fix: Add monitors to the filter only if the filter limit is set
My previous PR #3895 did not analyze the Group, Capturing, Analysing, etc. filters, but only took into account the Monitor filter
2024-03-25 18:57:59 +03:00
Isaac Connor 66fa612d02 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-25 09:53:33 -04:00
IgorA100 4417e24ee7
Feat: Changed monitor filter (in header table) to go from console to list of events
Changes are made to transition links to list of events from table header.

If no monitor is selected in console, you should not pass all monitors to filter; you must leave the monitor filter empty.
2024-03-25 13:12:21 +03:00
Isaac Connor 7f74de5d91 Fix map display 2024-03-24 13:19:53 -04:00
IgorA100 697f8de4f6
Fix: Add "All Events" in array "translate" (View event) 2024-03-24 19:51:24 +03:00
Isaac Connor b2ff62fa76 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-24 11:50:05 -04:00
Isaac Connor 6f5d51c45f Limit width of datetime inputs. They are bigger than they need to be 2024-03-24 11:50:02 -04:00
Isaac Connor eb42ffe833
Merge pull request #3892 from IgorA100/patch-34
Fix: Positioning pagination block when height is less than 100% of br…
2024-03-24 10:45:21 -04:00
IgorA100 f233fb39f6
Fix: removed unnecessary parameter
Height has already been determined:

html,
body {
  height: 100%;
  margin: 0;
}
2024-03-24 00:29:53 +03:00
IgorA100 cf835f8850
Fix: Positioning pagination block when height is less than 100% of browser window 2024-03-24 00:21:34 +03:00
Isaac Connor fb9debbd9a Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-23 13:38:54 -04:00
Isaac Connor 162b1a7c1d Log an error when we don't have permission to load the preset edit modal 2024-03-23 13:38:26 -04:00
Isaac Connor 834a1114ec Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-23 11:56:01 -04:00
Isaac Connor dd0b2bcf91 Only load preset modal if we click set. Add auth relay so that it can be loaded. 2024-03-23 11:55:53 -04:00
Isaac Connor 651ec35012
Merge pull request #3886 from IgorA100/patch-32
Fix: Console sticky table header
2024-03-23 11:35:03 -04:00
Isaac Connor 8e5870a919
Merge pull request #3889 from IgorA100/patch-33
Feat: Fixing table header when viewing log
2024-03-23 11:32:38 -04:00
Simpler1 94a3632e1b fix(events): Expand/Collapse for navbar-two works when narrow 2024-03-23 11:14:41 -04:00
IgorA100 7fcf01f1fa
Update log.css 2024-03-23 16:10:02 +03:00
IgorA100 a1896073f2
Feat: Fixing table header when viewing log 2024-03-23 15:50:21 +03:00
IgorA100 45d4cdaec5
Fix: tab -> space 2024-03-23 15:16:36 +03:00
IgorA100 3fcbc4741e
Update console.php 2024-03-22 23:38:30 +03:00
IgorA100 5843a8b417
Fix: Console sticky table header
At some point it was broken.
2024-03-22 23:34:25 +03:00
Simpler1 06ac65cc38
Missed "Group" in the "narrow" commit
This is just to add Group into the previous commit for narrow filter organization for the Events view.
2024-03-22 11:44:42 -04:00
Isaac Connor 6338f9b0eb
Merge pull request #3884 from Simpler1/patch-1
fix(): Typo
2024-03-22 10:24:19 -04:00
Simpler1 3df3e57872
fix(): Typo 2024-03-22 10:17:51 -04:00
Isaac Connor c32f4f48fa Add Tags and Notes filters to montagereview 2024-03-22 10:11:29 -04:00
Isaac Connor cbaa2a5287 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-22 09:12:13 -04:00
Isaac Connor 76e2be6543 Set defaults for ONVIF_EVENTS_PATH and ONVIF_Alarm_Text 2024-03-22 09:12:07 -04:00
Isaac Connor 105da2ffc2
Merge pull request #3883 from IgorA100/patch-31
Fix: Elimination of jerks for slideToggle on console
2024-03-21 17:21:03 -04:00
IgorA100 c05ca0aef8
Fix space for Eslint 2024-03-21 23:41:17 +03:00
IgorA100 72dd7df15a
Space for Eslint 2024-03-21 23:30:39 +03:00
IgorA100 463f0b736e
Update console.php 2024-03-21 23:27:38 +03:00
IgorA100 bf3555fdcb
Update skin.js 2024-03-21 23:26:38 +03:00
IgorA100 d4aaa3b30b
Update skin.js 2024-03-21 23:01:30 +03:00
IgorA100 165bd012ac
Update skin.js 2024-03-21 22:13:54 +03:00
Isaac Connor 3a19c04fcf Set background colour of fullscreen mode 2024-03-21 14:42:58 -04:00
IgorA100 237394fdeb
Fix: Elimination of jerks for slideToggle on console 2024-03-21 20:26:15 +03:00
Isaac Connor 346e7141da
Merge pull request #3860 from IgorA100/patch-16
Feat: Control of collapsing/expanding blocks
2024-03-20 19:17:56 -04:00
Isaac Connor 44fc3e465c
Merge pull request #3881 from Simpler1/narrow
feat(events): Narrow mode layout (mobile portrait)
2024-03-20 19:17:29 -04:00
Isaac Connor 2b7c607f87
Merge pull request #3878 from IgorA100/patch-30
Fix: Location of PTZ Controls buttons when scaling browser less than 100%
2024-03-20 11:53:43 -04:00
Isaac Connor c91a66ce0d
Merge pull request #3879 from borozenetsvv/master
Update ru_ru.php
2024-03-20 11:53:05 -04:00
Isaac Connor ce668c12c0 The actual min value for StartupDelay is 0 2024-03-20 11:35:37 -04:00
Isaac Connor 168f4ab3dc Rename zone=>zones. Add a case so that we don't log about an invalid tab. When doing so, log about name instead of tab. 2024-03-20 11:17:22 -04:00
Isaac Connor ef5e90d669 Improve logic of DiskSpace pre condition. Implement specific op support, instead of using unsafe eval. 2024-03-20 10:22:15 -04:00
Simpler1 8b94b0774f feat(events): Narrow mode layout (mobile portrait) 2024-03-20 10:09:01 -04:00
IgorA100 31295744d2
fix space 2024-03-20 11:44:25 +03:00
IgorA100 7042260bbf
Clean code 2024-03-20 11:41:52 +03:00
IgorA100 712cfe5cb8
Control buttons have absolute position
This is more correct and beautiful and will not depend on the browser scale
2024-03-20 11:27:53 +03:00
borozenetsvv 999e5df148
Update ru_ru.php 2024-03-20 12:23:12 +07:00
IgorA100 d41271054a
Fix: Location of PTZ Controls buttons when scaling browser less than 100%
Possible fix #3877
2024-03-19 23:12:45 +03:00
Isaac Connor 51211ce271 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-19 14:59:19 -04:00
Isaac Connor 1ae7c9c4b1 Add UI for setting StartupDelay 2024-03-19 14:59:04 -04:00
IgorA100 58c1e036c6
Fix: Russian translation
Based on #3875
2024-03-19 12:25:24 +03:00
IgorA100 4b58358761
Merge branch 'ZoneMinder:master' into patch-16 2024-03-19 10:29:27 +03:00
Isaac Connor 20eeb8739d
Merge pull request #3869 from IgorA100/patch-24
Add vertical table scroll on Options page
2024-03-18 21:17:19 -04:00
Isaac Connor 9fe90baea2
Merge pull request #3872 from borozenetsvv/master
Update ru_ru.php
2024-03-18 21:15:21 -04:00
Isaac Connor c3f5d9c550
Merge pull request #3874 from IgorA100/patch-28
Fix: Display according to translation
2024-03-18 21:14:42 -04:00
IgorA100 40a249ef56
fix space 2024-03-18 18:54:43 +03:00
IgorA100 f20ce4627d
Fix: Display according to translation 2024-03-18 18:51:40 +03:00
IgorA100 60cd909bf3
Fix: Tracking the "shift" button press 2024-03-18 18:04:03 +03:00
borozenetsvv 3a1872633a
Update ru_ru.php 2024-03-18 19:25:15 +07:00
IgorA100 ee27974bd2
Merge branch 'ZoneMinder:master' into patch-16 2024-03-18 00:36:46 +03:00
IgorA100 a42cf7a5c5
Replaced quotes 2024-03-16 15:32:43 +03:00
IgorA100 1b7f3b0ede
Added a button for editing detection zone from monitor settings 2024-03-16 15:23:16 +03:00
IgorA100 ecd0c644c7
Merge branch 'ZoneMinder:master' into patch-24 2024-03-15 23:23:45 +03:00
IgorA100 9dc93389f9
Merge branch 'ZoneMinder:master' into patch-16 2024-03-15 23:22:03 +03:00
Isaac Connor 1bd94308b1 Make no alarm.jpg a debug instead of error, because continuous events don't have them. 2024-03-15 12:09:31 -04:00
Isaac Connor 1c782529c4 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-15 11:42:32 -04:00
Isaac Connor 8442a1aca4 fixup reversion of bootstrap-table console which shouldn't have been merged yet 2024-03-15 11:42:07 -04:00
Isaac Connor cc6acfe3ed
Merge pull request #3868 from IgorA100/patch-23
Fix Horizontal scroll bar in live view
2024-03-15 11:41:25 -04:00
Isaac Connor a199a4cb8d Fix button bar as a result of reverting bootstrap-table console 2024-03-15 11:40:20 -04:00
IgorA100 e7795513f5
Moved the <form> block for the "Options-Storage" page to a separate file "_options_storage.php" 2024-03-15 18:15:56 +03:00
IgorA100 320041ed4d
Page "Options-Storage" The buttons are now at the top. Added DIV with .wrapper-scroll-table
- The <form> is placed in a separate file for ease of use.
- Necessary for organizing vertical scrolling of a block with a table
2024-03-15 18:12:00 +03:00
IgorA100 8f5e1e3e1a
Page "Options-Servers" The buttons are now at the top. Added DIV with .wrapper-scroll-table
Necessary for organizing vertical scrolling of a block with a table
2024-03-15 18:07:50 +03:00
IgorA100 4eb853c90f
Page "Options-Users" The buttons are now at the top. Added DIV with .wrapper-scroll-table
Necessary for organizing vertical scrolling of a block with a table
2024-03-15 18:05:11 +03:00
IgorA100 de5d069b5e
Page "Groups" The buttons are now at the top. Added #optionsContainer & #options and DIV with .wrapper-scroll-table
Necessary for organizing vertical scrolling of a block with a table
2024-03-15 17:59:11 +03:00
IgorA100 3953ad982f
Added styles for vertical scrolling of the table container 2024-03-15 17:53:36 +03:00
Isaac Connor ed9c91c9f3 Revert "Revert "Merge pull request #3864 from IgorA100/patch-19""
This reverts commit 00bd09fdc2.
2024-03-15 10:53:30 -04:00
IgorA100 95d4458965
Add wrapper fo scroll table & remove padding-top from "form" & add padding to #optionsContainer
When sticky mode is enabled, the table must be scrolled vertically if it does not fit on the page.
It may not be the best option, but now it is necessary. For example, for the pages "Servers, Storage, Groups", etc.

Changing the padding-top is necessary to maintain a single style if there are some other elements in front of the form (buttons for example) or there is nothing in front of the form.
2024-03-15 16:26:49 +03:00
Isaac Connor 00bd09fdc2 Revert "Merge pull request #3864 from IgorA100/patch-19"
This reverts commit 305a1485cc, reversing
changes made to 736ac7dd33.
2024-03-15 09:13:22 -04:00
IgorA100 da3749389a
Fix Horizontal scroll bar in live view
When scaling videos larger than the screen size, the horizontal bar was not visible.
2024-03-15 13:00:57 +03:00
IgorA100 4906bb17a2
add space 2024-03-15 11:28:43 +03:00
IgorA100 2f7287e5ba
Changed "let" to "const", adding spaces & add "const" 2024-03-15 11:25:13 +03:00
IgorA100 f61ea18f77
Removed unused function 2024-03-15 01:13:27 +03:00
IgorA100 2e959124ee
Change ID button 2024-03-15 01:11:22 +03:00
IgorA100 ff0a630aea
Replacing icon "keyboard_arrow" with "filter_alt" in the hide filter button on the console 2024-03-15 01:07:19 +03:00
IgorA100 b70ff30b29
Merge branch 'ZoneMinder:master' into patch-16 2024-03-15 00:56:24 +03:00
Isaac Connor 305a1485cc
Merge pull request #3864 from IgorA100/patch-19
Fix page console
2024-03-14 16:44:21 -04:00
Isaac Connor 736ac7dd33
Merge pull request #3866 from IgorA100/patch-21
Eliminate possible duplication of horizontal scrollbar
2024-03-14 16:43:35 -04:00
IgorA100 ae74a19168
remove class "h-100" because interfere with proper scaling 2024-03-14 22:48:58 +03:00
IgorA100 60811d43c5
Fix live view style (watch page)
A slight violation of style, incl. vertical scroll bar with sticky enabled
2024-03-14 22:30:47 +03:00
IgorA100 0dc54b6adf
Eliminate possible duplication of horizontal scrollbar
All management occurs inside the #options & #sidebar containers
2024-03-14 16:01:15 +03:00
IgorA100 6cd5fac11b
For #contentButtons add margin-bottom: 8px;
Now the vertical margin will be symmetrical.
2024-03-14 11:58:30 +03:00
IgorA100 e10bb3610a
Fix previous commit 2024-03-14 11:54:50 +03:00
IgorA100 91955b491d
Remove class "pt-2"
The ".contentButtons" style will be changed in the CSS
2024-03-14 11:50:51 +03:00
IgorA100 38ae631dbe
Fix space 2024-03-14 00:11:28 +03:00
IgorA100 37756fb5f9
Added DIV to offset vertical scrollbar to left 2024-03-13 20:59:31 +03:00
IgorA100 cf92914c60
Update options.css 2024-03-13 20:51:23 +03:00
IgorA100 b10511fb97
Adjusting the vertical scroll bar when using sticky 2024-03-13 20:50:25 +03:00
IgorA100 66364c7c32
Fis style in Options page
* Why extra padding at top? 
  padding-top: 2rem;
  */

I don't know the answer, because... I didn't add it :)
Before my edit, it was generally “4rem”; it seemed like a lot to me, so I halved it.
I didn’t clean it up completely because I was careful not to break something completely.

I understood why. If the <form> does not have buttons at the top, then there will be no padding between the form and the "id="optionsContainer" (for example the "Storage" section).
For now, so be it.
2024-03-13 19:13:52 +03:00
IgorA100 6b8fe26be6
empty line 2024-03-13 16:26:25 +03:00
IgorA100 510d60e931
Merge branch 'master' into patch-19 2024-03-13 16:24:45 +03:00
IgorA100 ef3245fe2b
Moved class "pt-2" in other DIV
Necessary for correct table scrolling
2024-03-13 16:11:21 +03:00
IgorA100 1d81af50b9
Fixing table header when using sticky 2024-03-13 16:07:22 +03:00
IgorA100 452576ad5e
Fix: change class "table-responsive-sm-2" to "table-responsive"
And always specify the object ID before its class
2024-03-13 15:57:44 +03:00
Isaac Connor 4d8a357bba Rough in bootstrap-table for monitor list in console. 2024-03-13 08:47:31 -04:00
IgorA100 6a20a3a482
Fix scrool bar
You should not hardcode "overflow-y: scroll;" because if the table contains few rows, then we do not need a scroll bar.
Also, the scroll bar must be used only in case of stickiness, otherwise there will be duplication of scroll bars in the absence of stickiness.
2024-03-13 15:38:47 +03:00
IgorA100 83d64e8442
Fix style for sticky navbar & sticky table header 2024-03-13 13:49:47 +03:00
IgorA100 fc23cef16a
Code cleaned & added table header background 2024-03-13 13:33:15 +03:00
Isaac Connor 6ccf0c66a1 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-12 21:45:07 -04:00
Isaac Connor 2ba7369ea8 hack to fix scroll bars in bootstrap table 2024-03-12 21:45:02 -04:00
Isaac Connor be202719c3 Appease eslint 2024-03-12 21:22:50 -04:00
Isaac Connor bc044f38d9 Only put scrollbar on console contents if needed. Fixes double scroll bar when not sticky navbar 2024-03-12 17:57:50 -04:00
Isaac Connor 95d2e0a27c Fix form not scrolling entirely. Remove top padding. Remove right padding due to bootstrap row. 2024-03-12 17:53:27 -04:00
Isaac Connor f926e98283 Temp fix to put scroll bars back 2024-03-12 09:12:53 -04:00
Isaac Connor 855da2cbc4 Put back scroll bars on console 2024-03-12 08:55:44 -04:00
Isaac Connor 657cda18ef Put back style permitting scrolling to work 2024-03-12 08:44:12 -04:00
IgorA100 625e699e32
Fix: video scaling on console
Close #3861
2024-03-12 11:44:29 +03:00
IgorA100 65c2331394
Feat: added functions for controlling the visibility of blocks when clicking on the control button 2024-03-10 23:19:19 +03:00
Isaac Connor 20e1ae2090 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-10 11:04:10 -04:00
Isaac Connor 3f9bda4f80 FIx arrap_map => array_map. Fixes #3859 2024-03-10 11:03:03 -04:00
Isaac Connor 3939bcec22 Fix eslint 2024-03-10 11:02:28 -04:00
Isaac Connor b647280766 FIx arrap_map to array_map. Don't assume _REQUEST[mids] exists. Fixes #3859 2024-03-10 10:59:56 -04:00
Isaac Connor 76db26cec1
Merge pull request #3852 from IgorA100/patch-12
Fix style in options pages
2024-03-09 11:54:43 -05:00
IgorA100 28fd799bf6
Removed erroneously added style for tag 'a' 2024-03-09 10:26:16 +03:00
Isaac Connor 4718bff514
Merge pull request #3856 from IgorA100/patch-14
Fix design when viewing list of events
2024-03-08 08:24:18 -05:00
IgorA100 e576e9b756
Fix "overflow-y" for "#monitorList" in console
For "#monitorList" there is no need to set "overflow-y: scroll;"
Otherwise, scrolling will always be displayed.
2024-03-07 21:39:33 +03:00
IgorA100 f27f9bdf95
Fix layout 2024-03-07 16:58:26 +03:00
IgorA100 ab556f3135
Update events.css 2024-03-07 16:16:02 +03:00
IgorA100 4df177208c
Fix design when viewing list of events
Layouts & space in code
2024-03-07 16:03:16 +03:00
IgorA100 7e4cd163f5
Fix: remove right padding as unnecessary
Slightly shifts the video at some screen and video aspect ratios
2024-03-07 13:49:50 +03:00
IgorA100 e90340dd2b
Fix: More correct scaling (with padding) during live viewing 2024-03-07 13:30:39 +03:00
Isaac Connor f0088e49d7 Remove debug 2024-03-06 16:21:44 -05:00
Isaac Connor 6124678fb8 Add scaling to zms url 2024-03-06 16:21:19 -05:00
Isaac Connor 32dc9cff2f Remove use strict to appease eslint for now. Use a zms url instead of view=image 2024-03-06 16:02:50 -05:00
Isaac Connor ada974ef51 Fix eslint 2024-03-06 14:21:18 -05:00
Isaac Connor 1278613832 Merge fixes in findEventByTime and fineFrameByTime with better debugging. Turn on use strict. Update when datetimepickers close instead of onchange 2024-03-06 13:31:36 -05:00
IgorA100 57c993507c
Fix layout 2024-03-06 20:18:15 +03:00
IgorA100 7757eeae1a
Fix layout 2024-03-06 20:14:36 +03:00
IgorA100 151114f778
Fix space 2024-03-06 20:00:08 +03:00
IgorA100 008c864751
Fix style 2024-03-06 19:56:10 +03:00
IgorA100 714a0913e4
Merge branch 'ZoneMinder:master' into patch-12 2024-03-06 19:52:25 +03:00
IgorA100 f94d264407
Fix: Button block location
There is no need
2024-03-06 19:01:52 +03:00
IgorA100 c8c731519d
Fix Removing excess styles & specifying a minimum textarea height 2024-03-06 01:23:42 +03:00
IgorA100 c69f6e8908
Fix Removing excess styles & Aligning a form vertically
Additional modernization required
2024-03-06 01:14:59 +03:00
IgorA100 696837e22f
Fix Removing excess styles 2024-03-06 01:11:16 +03:00
IgorA100 21cb1c8c29
Fix layout 2024-03-06 01:06:45 +03:00
Isaac Connor 55df0fd8f7 Only save permissions if passed in POST. We might not be able to see all monitors, so might not exist in POST. 2024-03-05 16:33:41 -05:00
IgorA100 a4ed614763
Fix set chosen width for modal window
For the modal window, set the width chosen to 100%
2024-03-06 00:23:11 +03:00
Isaac Connor c078cf7bba Use per-monitor permission on save button 2024-03-05 14:02:20 -05:00
Isaac Connor b5e1d5e611 Fix invalid canEditMonitor call, simplify login in canView and canEdit to prefer per-monitor permissions 2024-03-05 14:02:01 -05:00
Isaac Connor b4bbff6353 Use per-monitor permissions 2024-03-05 14:00:40 -05:00
Isaac Connor 5120baa9ee Implement object permissions vs entity permissions so that we can handle the new group based permissions on Monitors. This fixes status updates when MOnitors=None but there is a per-monitor group based view permission. 2024-03-05 14:00:23 -05:00
Isaac Connor 302f3ad96d Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-03-05 11:48:16 -05:00
Isaac Connor beda6cd66d Remove unused linked monitor array population. All is done in javascript now 2024-03-05 11:47:39 -05:00
Isaac Connor 5de9e7800c Use monitor->canEdit when making source link clickable because it is per-monitor instead of User['Monitors'] 2024-03-05 11:47:15 -05:00
Isaac Connor 4ab1aaa1d0 Fix Linked monitor expression not updating 2024-03-05 11:46:42 -05:00
Isaac Connor ed14fc7449 Don't allow linking to ourselves 2024-03-05 11:14:58 -05:00
Isaac Connor 5c360c2a91 Add mid to available globals 2024-03-05 10:35:07 -05:00
Simpler1 9eee9fcb1e Lint fixes 2024-03-05 08:14:28 -05:00
IgorA100 634bffea80
Adaptation of Chosen to Bootstrap (Height alignment) 2024-03-05 15:43:01 +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 8f521a7221
Fix Entrust management of enabling search in select to the Chosen plugin 2024-03-05 14:06:13 +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
Isaac Connor bc16f526ac
Merge pull request #3850 from IgorA100/patch-10
Added button for editing the monitor during live viewing.
2024-03-04 17:09:22 -05:00
IgorA100 8902f902ea
Update skin.css 2024-03-05 00:58:05 +03:00
IgorA100 1f6279a00f
Update skin.css 2024-03-05 00:56:59 +03:00
IgorA100 b07ae01e89
Fix cursor for <a> 2024-03-05 00:53:47 +03:00
IgorA100 7482d28af8
Fix Handling a button click
For some reason, an old, faulty code was sent..
2024-03-04 23:15:10 +03:00
IgorA100 7920f17c8a
Handling button click 2024-03-04 23:03:42 +03:00
IgorA100 38acd931e4
Added monitor edit button 2024-03-04 21:22:10 +03:00
IgorA100 a370ce19ea
Fix style 2024-03-04 17:28:30 +03:00
IgorA100 f173974f2b
Fix: Scaling 2024-03-04 17:22:32 +03:00
IgorA100 ea17631de9
Fix Control panel
At least temporarily.
In general, a lot of work.
2024-03-04 17:07:55 +03:00
IgorA100 074751e068
Fix style
Managed by bootstrap
2024-03-04 17:00:20 +03:00
IgorA100 a18167377e
Fix: scaleToFit function
It is required to pass an object in parameters
2024-03-04 16:52:04 +03:00
IgorA100 66ff90c8c1
Update watch.js 2024-03-04 16:47:46 +03:00
IgorA100 a05540bd3d
Fix: Responsive design with use bootstrap 2024-03-04 16:30:09 +03:00
Isaac Connor 89de8b7765
Merge pull request #3845 from IgorA100/patch-8
Added a link to live viewing from monitor event viewer
2024-03-03 14:29:57 -05:00
IgorA100 55244441c3
Add processing for clicking on the button to view all events 2024-03-03 18:50:02 +03:00
IgorA100 1793e7813c
Added value "Edit" to "translate" array for translation 2024-03-03 18:20:40 +03:00
IgorA100 45bf972fea
Ref: style
Bootstrap is now used more
2024-03-03 18:14:29 +03:00
IgorA100 99779681fb
Fix: style
Not required, because now using Bootstrap
2024-03-03 17:27:14 +03:00
IgorA100 21abe20234
Fix: style
Not required, because now using Bootstrap
2024-03-03 17:26:09 +03:00
IgorA100 373fa15440
Fix: rem style
Not required, because now using Bootstrap
2024-03-03 17:21:30 +03:00
IgorA100 9aa8919fb8
Fix: Button layout 2024-03-03 17:04:59 +03:00
IgorA100 6ea195b8b1
Fix: Button layout 2024-03-03 17:01:50 +03:00
IgorA100 0d5d495bbf
FixL Recalculation of height and width if "padding" is specified for "wrapperEventVideo" 2024-03-03 16:56:50 +03:00
IgorA100 84d8aa9e52
Ref: Responsive design 2024-03-03 16:49:54 +03:00
Simpler1 ccaaf6aaf5 Consistency 2024-03-02 14:12:59 -05:00
Simpler1 d7eca5bb23 fix(event): Keep progressBar from overlapping videojs control. 2024-03-02 14:10:25 -05:00
Simpler1 3d008263e4
fix(tags): Tags were not populated on watch view 2024-03-02 11:30:35 -05:00
Isaac Connor d0d47a81d3
Merge pull request #3846 from Simpler1/patch-1
Placeholder text for monitor date time format.
2024-03-02 11:12:11 -05:00
Isaac Connor 19e6e9baf2
Merge pull request #3707 from Simpler1/default_sound
feat(sound): Include default alarm sound (again)
2024-03-02 11:11:03 -05:00
Simpler1 7fdc204082 feat(): Custom snapp.ogg sound for ZoneMinder 2024-03-02 10:15:44 -05:00
Simpler1 e1e255393d typo 2024-03-02 09:55:08 -05:00
Simpler1 6ff4c3f7ec Added additional parameters 2024-03-02 09:52:55 -05:00
Simpler1 ea0c79d976
Placeholder text for monitor date time format.
After spending an hour trying to figure out which date time format to enter here, I thought it would be best to just spell it out for users trying to customize this.
2024-03-01 16:59:17 -05:00
Isaac Connor ecab601c21 Use array_values to discard the keys in the array of monitorIds 2024-03-01 16:13:52 -05:00
Isaac Connor 8a42594009 Upgrade bootstrap-table to 1.22.3 2024-03-01 11:44:06 -05:00
Isaac Connor 02785fb81d
Merge pull request #3844 from IgorA100/patch-7
Adding and correcting Russian translation
2024-02-29 15:22:17 -05:00
Isaac Connor 9cd048d97b Only try to set monitor_permissions for non-deleted Monitors 2024-02-29 09:19:19 -05:00
Isaac Connor c33ec9833a Only show non deleted monitors in linked monitors 2024-02-29 08:59:14 -05:00
IgorA100 43cd675d96
Added value "Live" to "translate" array for translation 2024-02-29 15:12:33 +03:00
IgorA100 a6b9ba5a1d
Added a link to live viewing from monitor event viewer 2024-02-29 15:07:41 +03:00
Isaac Connor a28df623f2 Fix canEdit is a hash, not a function 2024-02-27 19:18:09 -05:00
Isaac Connor 0128873ca7 Spacing, some better debug 2024-02-27 18:41:31 -05:00
Isaac Connor c48ccd3ce2 Add autocomplete to onvif_username and fix case when local inputs aren't there after switching from non-local to local because Method is now wrong. 2024-02-27 17:39:34 -05:00
Isaac Connor ad53ebb8a8 Handle when inputs don't exist. 2024-02-27 17:38:48 -05:00
Isaac Connor c1b65185b5 Handle when inputs don't exist. 2024-02-27 17:38:45 -05:00
Isaac Connor c51c53c47a FIx use of inline javascript for the method dropdown on remote type monitors 2024-02-27 16:50:52 -05:00
IgorA100 742a821170
Add 'Decoder' => 'Декодер' 2024-02-28 00:30:43 +03:00
IgorA100 ebe8a26188
Add 'OnMotion' => 'При движении', 2024-02-28 00:26:30 +03:00