diff --git a/static/css/style.css b/static/css/style.css index 91fc244..544dde3 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,12 +1,3 @@ -.stream-canvas { - width: 100%; - height: 100%; -} - -.debug-img { - max-width: 100%; -} - .flex-column { display: flex; flex-direction: column; @@ -18,20 +9,34 @@ } .menu { - flex-basis: 10%; + flex-basis: 15%; align-items: center; } .menu-header { font-size: 30px; margin-top: 20px; + margin-left: 10px; + margin-right: 10px; } .menu-item { font-size: 20px; margin-top: 15px; + margin-left: 10px; + margin-right: 10px; } .content { + flex-basis: 85%; +} + +.stream-canvas { flex-basis: 90%; + align-self: center; +} + +.debug-img { + flex-basis: 30%; + align-self: stretch; } \ No newline at end of file diff --git a/templates/stream.html b/templates/stream.html index a98c1e8..0a0bf9d 100755 --- a/templates/stream.html +++ b/templates/stream.html @@ -3,61 +3,61 @@ {{end}} {{define "content"}} -
- Not supported - -
-
- +
+ + +
+
+
-
- +
+
-
- +
+
-
-
- - - - - - - - - - - - - - - - - - - - - - - - {{range $watchArea := .WatchAreas}} - - - - - - - - - - + + +
Watches
NameColorAreaAdd/Remove
RGBMinXMinYMaxXMaxY
{{ $watchArea.Name }}{{ $watchArea.Color.R }}{{ $watchArea.Color.G }}{{ $watchArea.Color.B }}{{ $watchArea.Area.Min.X }}{{ $watchArea.Area.Min.Y }}{{ $watchArea.Area.Max.X }}{{ $watchArea.Area.Max.Y }}Remove
+ + + + + + + - {{end}} - -
Watches
NameColorAreaAdd/Remove
-
+ + + R + G + B + MinX + MinY + MaxX + MaxY + + + + + {{range $watchArea := .WatchAreas}} + + {{ $watchArea.Name }} + {{ $watchArea.Color.R }} + {{ $watchArea.Color.G }} + {{ $watchArea.Color.B }} + {{ $watchArea.Area.Min.X }} + {{ $watchArea.Area.Min.Y }} + {{ $watchArea.Area.Max.X }} + {{ $watchArea.Area.Max.Y }} + Remove + + {{end}} + + + +