From 43b289effa8f024e949f88dfa0dde6eea9f37bb5 Mon Sep 17 00:00:00 2001 From: Mike Lowis Date: Wed, 21 Feb 2024 15:54:40 -0500 Subject: [PATCH] added QR code SVG and revamped control page --- atv/assets/control.html | 133 +++++++++--- atv/assets/control.svg | 343 +++++++++++++++++++++++++++++++ atv/assets/index.html | 39 ++++ atv/assets/wifi.svg | 440 ++++++++++++++++++++++++++++++++++++++++ atv/lib/atv/channel.rb | 15 +- 5 files changed, 945 insertions(+), 25 deletions(-) create mode 100644 atv/assets/control.svg create mode 100644 atv/assets/wifi.svg diff --git a/atv/assets/control.html b/atv/assets/control.html index a62a047..c99b09d 100644 --- a/atv/assets/control.html +++ b/atv/assets/control.html @@ -41,43 +41,110 @@ flex-grow: 1; height: 4em; } + + td { + border: 1px solid #000; + padding: 1em; + } + + tr td:first-child { + width: 1%; + white-space: nowrap; + } + + input { + margin: 0.5em; + } + + + + article { + display: flex; + flex-flow: column; + height: 100%; + max-height: 100%; + } + + article section { + //border: 1px dotted black; + flex: 0 1 auto; + } + + .grow { + flex: 1 1 auto; + overflow: auto; + } + + .shrink { + flex: 0 1 auto; + } -
-
Now Playing
-
Some File
-
-
-
Playing Next
-
Some Other File
-
-
- -
- - - - - -
+ + +
+
+

Browse Media

+
+
Breadcrumbs
+
+
+ +
+
contents here
+
+ +
+
+
+
+
+ + diff --git a/atv/assets/control.svg b/atv/assets/control.svg new file mode 100644 index 0000000..e7dae0a --- /dev/null +++ b/atv/assets/control.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/atv/assets/index.html b/atv/assets/index.html index 460dff1..d65446b 100644 --- a/atv/assets/index.html +++ b/atv/assets/index.html @@ -13,12 +13,51 @@ background-color: #000; overflow: hidden; } + + .badge { + position: absolute; + bottom: 1em; + color: white; + font-family: sans-serif; + } + .badge span { + display: block; + width: 100%; + text-align: center; + } + + + .leftBadge { + position: absolute; + bottom: 1em; + left: 1em; + color: white; + font-family: sans-serif; + } + .rightBadge { + position: absolute; + bottom: 1em; + right: 1em; + color: white; + font-family: sans-serif; + } + +
+
+ WIFI +
+ +
+
+ APP +
+