diff --git a/main.go b/main.go index 2f0184e..77cada8 100644 --- a/main.go +++ b/main.go @@ -46,7 +46,7 @@ func main() { http.Handle("/chat", http.HandlerFunc(ChatHandler)) http.Handle("/", http.FileServer(http.Dir("static"))) go book.Run() - + port := os.Getenv("PORT") if port == "" { port = "8080" diff --git a/static/code-tree.png b/static/code-tree.png deleted file mode 100644 index 77a2917..0000000 Binary files a/static/code-tree.png and /dev/null differ diff --git a/static/index.html b/static/index.html index a8a3498..2f938ea 100644 --- a/static/index.html +++ b/static/index.html @@ -15,11 +15,6 @@ -
-
- -
-
+ +
+
+ +
-
+

Input

@@ -95,16 +97,13 @@ . or z +
+ right-click for Dah / or x - - - Right-click on Dit = Dah - -
@@ -122,9 +121,6 @@
-
- -
@@ -191,15 +187,84 @@ +
+

Errors

+
-

Code Tree

+

Dichotomous Key

-
- +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
e ·i ··s ···h ····
v ···–
u ··–f ··–·
a ·–r ·–·l ·–··
j ·–––
w ·––p ·––·
t –n –·d –··b –···
x –··–
k –·–c –·–·
y –·––
m ––g ––·z ––··
q ––·–
o –––
@@ -324,6 +389,33 @@

+ +
+
+

Future plans

+
+
+ + + +

How can I help?

+ + + +

+ Neale Pickett kd7oqi +

+ +
+
diff --git a/static/vail.css b/static/vail.css index 4fd9b55..22eddde 100644 --- a/static/vail.css +++ b/static/vail.css @@ -18,13 +18,6 @@ text-align: center; } -.right { - text-align: right; -} -.maximized .key { - height: 90vh; -} - .wide { width: 100%; } @@ -66,3 +59,23 @@ img { max-height: 20em; overflow-y: scroll; } +.mdl-card__supporting-text.long { + max-height: inherit; +} + + +.morsetree { + width: 100%; +} +.morsetree tr { + height: 1.4em; + text-align: center; + font-family: monospace; +} +.morsetree tr, +.morsetree td:nth-child(n+2) { + background: #eee; +} +.morsetree tr:nth-child(n+2) { + background: #ddd; +} \ No newline at end of file diff --git a/static/vail.js b/static/vail.js index 41954df..0a93c4c 100644 --- a/static/vail.js +++ b/static/vail.js @@ -355,8 +355,6 @@ class Vail { error(msg) { let now = new Date() let el = document.querySelector("#snackbar") - let data = { - } el.MaterialSnackbar.showSnackbar({ message: msg, timeout: 2000