Kyle Johnson
ae895ad8b7
Set the width of the tab-content to 400px
2013-09-24 21:32:07 -04:00
Kyle Johnson
29abee74ad
Included the create element instead of the end element
2013-09-24 21:16:44 -04:00
Kyle Johnson
d8108fc6cd
Moved common Monitors add and edit form code to elements.
2013-09-24 21:14:56 -04:00
Kyle Johnson
f3c235544d
Moved the common Monitors add and edit nav code to an element.
2013-09-24 20:43:48 -04:00
Kyle Johnson
186f763a4c
Moved vars for Monitors edit and add views to appropriate elements.
...
This saves a bunch of redundant code, while putting the code in the
'right place'.
2013-09-24 20:34:36 -04:00
Kyle Johnson
f385db2d80
Moved the scaling of streams from JS to PHP
...
The Monitor model is now smart enough to change the stream's scale.
It also has the option of not scaling at all (in the case of the
single monitor view).
2013-09-24 12:54:37 -04:00
Kyle Johnson
9ccf5c72ce
Forgot to remove debug() from a view
2013-09-24 09:12:42 -04:00
Kyle Johnson
2fa0d3a284
Rewrote the way that monitor streams are created.
...
No longer need LiveStreamHelper, and the logic of which image to
display (live or placeholder) has been moved to the Moniors model.
This way should be much easier to understand and support. This also
fixes my 'ugly hack' in commit eed6c81287
2013-09-24 08:56:04 -04:00
Kyle Johnson
eed6c81287
An ugly hack to make the liveStreams display in both index and view views.
2013-09-23 21:51:02 -04:00
Chris Wiggins
a49e66889d
Move JS to main.js
2013-09-19 21:10:41 +12:00
Chris Wiggins
133b061179
Add code for dynamically scaling monitor images on home screen. Add new no-image image
2013-09-19 20:56:09 +12:00
Kevin Crider
0f25bec1d6
Fixes to monitor sorting and reordering
2013-09-18 13:23:16 -04:00
Kevin Crider
6dfdba7023
Added ability to reorder monitors on the dashboard
2013-09-18 12:22:14 -04:00
Kyle Johnson
f7b7a49616
shoNoImage was always being called as the $mon variable was incorrect
2013-09-17 09:43:48 -04:00
Chris Wiggins
dc316b0aee
Add static image when the monitor/system is not enabled/running
2013-09-16 22:00:27 +12:00
Kyle Johnson
6dbd10621d
Reworked to use Bootstrap tabs
2013-09-11 15:24:51 -04:00
Kyle Johnson
62679e3ff1
Display monitors as bootstrap thumbnails in a grid view
...
This will need to be reworked to dynamically determine the number
of rows
2013-09-11 10:17:47 -04:00
Kyle Johnson
c5196407a9
Moved all of the Monitors HTML to elements
2013-09-01 17:50:26 -04:00
Kyle Johnson
05c8ddf153
Reworked to allow displaying of monitors from many views with less code.
...
* Moved getStreamSrc from Monitors Controller to Monitors Model
* Minor indenting of code
* Removed some old code
* Changed how I lookup ZM_MPEG_LIVE_FORMAT from within getStreamSrc
* Changed Monitors View view to use divs instead of tables
2013-05-24 20:13:14 -04:00
Kyle Johnson
155ec308a0
Replaced HTML image tag with LiveStream helper
2013-05-22 21:18:01 -04:00
Kyle Johnson
17c8b98a41
Moved all of the Events table stuff in the Monitors index view to the Events index view
2013-05-15 17:53:07 -04:00
Kyle Johnson
2a3b649341
Forgot to pull out the Monitors schema before committing...
2013-05-15 08:42:39 -04:00
Kyle Johnson
7913fbb49f
Added a link to the add monitors page
2013-05-15 08:36:05 -04:00
Kyle Johnson
a1aed0ec03
First pass at ability to add monitors. Field names do not match database columns so not all values are saved
2013-05-15 08:35:49 -04:00
Kyle Johnson
b5e15a1708
First pass of the Monitors view page with code to determine stream type (mpeg, jpeg), bitrate, fps, etc
2013-05-07 10:29:34 -04:00
Kyle Johnson
82c14790c5
Added the live stream with hardcoded values
2013-05-06 19:38:22 -04:00
Kyle Johnson
d4b0d05366
Added number of archived events per monitor to Monitors index view
2013-05-04 22:45:59 -04:00
Kyle Johnson
d681654e56
Moved events queries from the Monitors controller to the Monitors model
2013-05-04 19:42:37 -04:00
Kyle Johnson
a56ae4ed42
Display last events per hour, day, week, month per monitor
2013-05-04 19:22:48 -04:00
Kyle Johnson
2cc0620edc
Added zone count to monitor index
2013-05-02 21:27:55 -04:00
Kyle Johnson
12642e6c45
Added additional table columns as well as total event count per monitor
2013-05-02 08:56:51 -04:00
Kyle Johnson
e2751c0597
Initial ability to edit limited options of existing monitors
2013-05-01 21:03:25 -04:00
Kyle Johnson
6bc6610542
Added Monitors view view
2013-05-01 20:57:10 -04:00
Kyle Johnson
1be91f67e3
Added Function and Source columns
2013-05-01 18:46:01 -04:00
Kyle Johnson
055d8f8d0b
Initial commit of MVC for Monitors
2013-05-01 18:41:59 -04:00