Kyle Johnson
3cd52d93de
Move 'Close' button to header
2015-02-11 19:15:22 -05:00
Kyle Johnson
894ea34075
Remove (non existent) controls from event view
2015-02-11 15:31:16 -05:00
Kyle Johnson
eacfe5814d
Add event dir to .gitignore
2015-02-11 15:29:44 -05:00
Kyle Johnson
498b281082
Use full path to events_search.thml
2015-02-11 15:23:52 -05:00
Kyle Johnson
2bb1394484
Migrate from ngRoute to ui-router
2015-02-11 15:22:39 -05:00
Kyle Johnson
081db1d160
Move options.php to options.html
2015-02-11 15:21:07 -05:00
Kyle Johnson
201711866e
Use ng-include instead of php include()
2015-02-11 15:20:50 -05:00
Kyle Johnson
959a9a58ce
Move events.php to events.html
2015-02-11 15:18:30 -05:00
Kyle Johnson
8ca9d3f759
Use ng-include instead of php include()
2015-02-11 15:18:13 -05:00
Kyle Johnson
71ecfdcb1b
Clean up more paths
2015-02-11 14:34:10 -05:00
Kyle Johnson
9cf8262eca
Clean up paths in index.html
2015-02-11 14:24:46 -05:00
Kyle Johnson
d500c60e91
Move bootstrap to the web root
2015-02-11 14:20:10 -05:00
Kyle Johnson
d269309c42
Remove makefiles from bootstrap skin
2015-02-11 14:16:18 -05:00
Kyle Johnson
340da70ab1
Removing most legacy ui files from bootstrap skin
2015-02-11 14:11:47 -05:00
Kyle Johnson
5cf9677680
Initial work at moving to single page app (no php)
2015-02-11 14:09:41 -05:00
Kyle Johnson
9a9f747b67
Move console.php to console.html
2015-02-11 13:49:16 -05:00
Kyle Johnson
4fd9dee168
Remove php from console.php
2015-02-11 13:48:59 -05:00
Kyle Johnson
220302b433
Rename header.php to header.html
2015-02-11 13:47:44 -05:00
Kyle Johnson
2187e9a99c
Remove php from header.php
2015-02-11 13:47:36 -05:00
Kyle Johnson
23b50f044e
Add support for changing monitor function in list view
2015-02-11 13:45:07 -05:00
Kyle Johnson
2d418f9205
Rename event.php to event.html
2015-02-11 13:19:53 -05:00
Kyle Johnson
b64b895d31
Use ngInclude instead of php include() in event view
2015-02-11 13:17:45 -05:00
Kyle Johnson
8f752f2b20
Add row / column layout options to console grid
2015-02-11 11:32:40 -05:00
Kyle Johnson
cc0fecf252
Remove the unused getConsoleEvents function
2015-02-11 11:32:19 -05:00
Kyle Johnson
afdd9b4bfc
Remove sidebar.php, no longer used
2015-02-11 09:35:53 -05:00
Kyle Johnson
b77e31ff94
Link monitor name to monitor edit page in console
2015-02-11 09:35:07 -05:00
Kyle Johnson
27cfe1bd20
Use ng-include instead of php include() in header
2015-02-11 09:33:03 -05:00
Kyle Johnson
c59791bf9b
Rename state.php to state.html
2015-02-11 09:30:16 -05:00
Kyle Johnson
ac6de04bb7
Remove php from state view
2015-02-11 09:28:50 -05:00
Kyle Johnson
40f12b7267
Remove legacy running check in header.php
2015-02-11 09:26:43 -05:00
Kyle Johnson
f7798797a0
Fix layout of Console view.
...
Per bootstrap, only .col- should be a child of .row
Also removed the sidebar in the console view, it is now part of
list mode in the console view
2015-02-11 08:59:58 -05:00
Kyle Johnson
b6da855d72
Rework of the Console / Monitors view.
...
We now have two views - grid or list. Grid view will be montage
and doesn't have any 'admin' functions. List view has admin
functions: delete, edit, add, etc.
If there are no monitors, such as in a new install, the view is
replaced by an alert which states that there are no monitors, and
provides a link for adding a monitor.
* http://i.imgur.com/LinFQsN.png
* http://i.imgur.com/mwkOgzR.png
* http://i.imgur.com/BrEjzYL.png
2015-02-10 09:58:34 -05:00
Kyle Johnson
d5b8cd2f78
Surround ng-true-value and ng-false-value with '
2015-02-02 19:16:01 -05:00
Kyle Johnson
52fd26cc5d
Remove the footer from the options view
2015-02-02 19:09:27 -05:00
Kyle Johnson
8ba365b42f
Display Options tabs vertically.
...
In the 'Options' view, show the tabs horizontally via bootstrap's
grid layout.
2015-02-02 15:33:40 -05:00
Kyle Johnson
32ca007f74
Fix bug: Frames button did not properly swap text
2015-01-27 11:26:01 -05:00
Kyle Johnson
e89e63c5e4
Add frontend support for viewing an Event's Frames
...
Each Event has a 'Frames' button. Clicking this changes
$scope.stream to false, hides the eventStream div, shows the
eventFrames div, and changes the text of the button to 'Stream'.
Each Frame is laid out in a box, with its associated image file
and details (delta, score, type, time).
The 'src' for each Frame's image was the difficult part. The 'zpad'
filter is called for each Frame, so that we know how many 0's to pad
the Frame.FrameId with.
Finally if Frame.Type == Alarm, the box for that div is colored red.
2015-01-27 11:19:24 -05:00
Kyle Johnson
786009407c
Add Angular filter for padding a number
...
This is needed because of the way Frames are stored on the
filesystem, such as 00051-capture.jpg, vs. how they're stored
in the database, such as 51
2015-01-27 11:15:10 -05:00
Kyle Johnson
8311951c86
Add Angular service for finding config by Name
2015-01-27 11:14:59 -05:00
Kyle Johnson
7565edfc69
API: Return Filesystem path to event within json payload
2015-01-27 11:12:32 -05:00
Kyle Johnson
c486cd0741
Add API function to find Config by Name
2015-01-27 11:11:40 -05:00
Kyle Johnson
7a5ee71080
Use Monitor's WebColour in Host 'Disk Usage' graph
2015-01-26 17:22:57 -05:00
Kyle Johnson
e4b1f8a64e
Add API function for getting Event's path
2015-01-23 11:57:31 -05:00
Kyle Johnson
4e0e8664b1
Fix some tabbing in controllers.js
2015-01-21 17:26:46 -05:00
Kyle Johnson
a8b56f37e0
Add frontend support to archive / unarchive Event
2015-01-21 17:25:56 -05:00
Kyle Johnson
5b9a27c5ca
Add API function to archive / unarchive an Event
2015-01-21 17:24:55 -05:00
Kyle Johnson
932831ba6c
Fix bug: Wrong event opened after clicking Delete
2015-01-21 11:07:29 -05:00
Kyle Johnson
b36bbbe0e4
Decrement $scope.totalEvents after deleting event
2015-01-21 10:29:06 -05:00
Kyle Johnson
2f44a45bbc
Add searching events by StartTime and MonitorId
2015-01-21 10:23:46 -05:00
Kyle Johnson
d2ac0cac04
Get event URL based on whether there is a filter
2015-01-21 10:22:25 -05:00