Commit Graph

30 Commits

Author SHA1 Message Date
Kyle Johnson 0d6d531e8b Use the API to start and stop ZM 2015-01-17 12:25:33 -05:00
Kyle Johnson 0b0545823d Remove event from view (scope) after deleting it 2015-01-09 14:24:45 -05:00
Kyle Johnson 8279f71266 Rewrite of Log view to use dir-paginate 2015-01-08 16:06:13 -05:00
Kyle Johnson c42ad0ba13 Add support for deleting monitor in new ui
Deletes via the API.  Also attempts to stop any zma or zmc processes
for the given monitor before deleting it from the table.
2015-01-07 16:43:37 -05:00
Kyle Johnson 45e450e988 Rename getEvent to get 2015-01-06 18:39:04 -05:00
Kyle Johnson 11b1344697 Allow playing back and deleting event from a modal 2015-01-06 18:36:55 -05:00
Kyle Johnson 96551c98cf Use pagination directive in Events view
Pagination is now handled via the pagination directive with
asynchronous data.  The server returns a subset of the total events.
The directive looks at the 'limit' and 'count' fields to determine
how many pages to generate
2014-12-29 12:19:30 -05:00
Kyle Johnson 0c38102951 First stab at Events view via angular and API 2014-12-23 22:38:54 -05:00
Kyle Johnson 0436b099d0 Use monitor save function from Factory, not controller 2014-12-21 21:45:44 -05:00
Kyle Johnson 1fadbff72d Add support for editing an existing monitor
Saving and editing of monitors now works.  Tested only with
Type = Remote.

There is a bug where when editing a monitor, Orientation is not
set properly.  Due to number vs. string and mysql enum.
0 != '0'
2014-12-21 21:44:18 -05:00
Kyle Johnson 09ce6e01df Set monitor Method to simple by default 2014-12-19 10:17:25 -05:00
Kyle Johnson 227f32a6a9 Fix bug where monitor source type was not set 2014-12-19 10:13:52 -05:00
Kyle Johnson 2e96b141e5 Major rehaul of Monitor view in Angular JS
You can now add monitors via angularjs, with the api as the
backend.
2014-12-17 16:08:35 -05:00
Kyle Johnson 6764211ebd Add initial MonitorController 2014-12-16 17:11:28 -05:00
Kyle Johnson 904b946bfb Initial Logs controller 2014-12-01 16:15:42 +00:00
Kyle Johnson ff65a701eb Display stills of each monitor, set per-monitor alerts
This commit displays a still of each monitor at page load time.
The panel surrounding the monitor is context sensitive - if zmc or
zma is not running, the panel is red (well, pink).

Also if either zmc or zma are not running, we add an icon in the
panel's header, explaining what is wrong.
2014-11-28 00:25:15 +00:00
Kyle Johnson f854bf4dcb Move getDiskPercent from Footer to Host factory 2014-11-25 16:30:27 +00:00
Kyle Johnson 9b636c89bc Show disk usage as a chart on the Host view 2014-11-25 16:27:38 +00:00
Kyle Johnson f32cb32da9 Move getLoad to Host factory, and display via chartjs 2014-11-25 16:25:10 +00:00
Kyle Johnson 7faace32b9 Initial commit of empty HostController 2014-11-25 15:21:30 +00:00
Kyle Johnson 941bf3535f Display version in footer via api / angular 2014-11-24 00:56:20 +00:00
Kyle Johnson 7ba971806f Removed a console.log() 2014-11-21 22:17:01 +00:00
Kyle Johnson 1f74d1cd60 Get the diskPercent from angular, via the API 2014-11-21 22:16:19 +00:00
Kyle Johnson e541976b77 Grab system load from API and set with angular 2014-11-21 20:06:59 +00:00
Kyle Johnson 4364c73143 Remake Options view with angular. Uses API. 2014-11-20 04:11:33 +00:00
Kyle Johnson ad65fa1820 Make Config table options available to angular 2014-11-20 04:10:01 +00:00
Kyle Johnson c8a3cb9df9 Initial refactor of console view to use api & angular
* Move eventCounts to the API and bind with angular
 * Display the console as a grid, rather than a table
 * Show only information we want to see
2014-11-19 15:53:07 +00:00
Kyle Johnson 64122b3b98 Set the logState in header via angular 2014-11-16 00:35:10 +00:00
Kyle Johnson 5b4dfce34a Add Event controller and factory 2014-11-15 23:50:46 +00:00
Kyle Johnson 4c0e2dc743 Include initial angularjs files 2014-11-15 19:34:00 +00:00