Kevin Crider
33c0dff8a4
Fixed the search by date functionality
2013-09-29 11:36:23 -04:00
Kyle Johnson
983aece616
Consolidate the sidebar for Monitors and Events index.
2013-09-27 20:45:25 -04:00
Kyle Johnson
f8db56b308
Have the Events view view (not index) use the popup layout
2013-09-19 11:31:54 -04:00
Kyle Johnson
8aec78258b
Create a video for each event view.
...
This determines the appropriate video format based on the user agent,
creates the video, and then returns the video path to the view.
2013-09-19 09:10:57 -04:00
Kevin Crider
0cf11adb99
Removed logging line from deleteSelected function
2013-09-18 15:55:50 -04:00
Kevin Crider
c6bbdac0d7
Added ability to delete multiple events at once
2013-09-18 15:53:35 -04:00
Kyle Johnson
bf2e46f512
Added a function to delete events.
...
Currently this only allows single events to be deleted.
2013-09-14 22:05:08 -04:00
Kyle Johnson
46deb93f74
Events index view is now at a semi-usable state, similar to the original skin.
...
In the interest of releasing something, I am not going to use ajax here
for now. Goal is to have this view behave similar to the original Events
view in the original skin. Currently you can:
* Paginate events
* Filter events using the sidebar
Bug: Filter elements are unset when paginating.
2013-07-19 07:30:13 -04:00
Kyle Johnson
50085d48b5
Reworked the Events index view to display thumbnails by default.
...
The EventsController calls createListThumbnail() to build a list
of thumbnail data which is then passed to the view to be looped though.
Also had to change how I loop through $events so that I can match up the
indexes in $events with the indexes in $thumbData
2013-05-30 22:54:51 -04:00
Kyle Johnson
633aa7a9ad
Initial support for filtering events.
...
First I tell extractNamedParams() which params I care about (ignore the rest),
then I loop through the returned results and build my query via named params.
Finally I pass the named params into the $conditions array for paginate to use.
2013-05-29 07:54:06 -04:00
Kyle Johnson
cc4af23115
Removed the Config model from the Events controller.
...
Not needed since commit c408575075
2013-05-29 07:52:34 -04:00
Kyle Johnson
d5e60e8b78
Minor indenting, and added an empty placeholder $conditions array.
2013-05-29 07:44:30 -04:00
Kyle Johnson
c408575075
Grab ZM_WEB_EVENTS_PER_PAGE from Configure instead of the database
2013-05-25 12:30:34 -04:00
Kyle Johnson
869fb3f626
Changed the way that I am looking up monitors
2013-05-15 17:52:30 -04:00
Kyle Johnson
0d004fb588
Changed some minor indents
2013-05-15 17:51:53 -04:00
Kyle Johnson
176064343d
Moved the events table code frmo the Monitors controller to the Events controller
2013-05-15 17:50:46 -04:00
Kyle Johnson
4022695961
Reworked the events paginate function, it now grabs only the needed fields, sorts properly, and limits based on the configured ZM_WEB_EVENTS_PER_PAGE option.
2013-05-15 17:46:11 -04:00
Kyle Johnson
c47f450e41
Added the Monitor and Config model to the Events controller
2013-05-15 17:42:42 -04:00
Kyle Johnson
b6bf96b701
Added the list of distinct monitors to the monitors variable for later use with filtering
2013-05-06 08:40:25 -04:00
Kyle Johnson
c42ae4a91d
Moved the Html and Form helpers to the common AppController
2013-05-03 07:34:45 -04:00
Kyle Johnson
9d5243ccab
Initial commit of Event Model, View and Controller with basic support for drilling into an event
2013-05-01 07:02:12 -04:00