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
Chris Wiggins
dc316b0aee
Add static image when the monitor/system is not enabled/running
2013-09-16 22:00:27 +12: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
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
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
7913fbb49f
Added a link to the add monitors page
2013-05-15 08:36:05 -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
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