diff --git a/static/jouststyle.css b/static/jouststyle.css new file mode 100644 index 00000000..d8e1fa96 --- /dev/null +++ b/static/jouststyle.css @@ -0,0 +1,8 @@ +body{font-size: 15pt;} +button{font-size:16pt;} +img{text-align: center;} +input[type=checkbox] {transform: scale(2); vertical-align:middle; margin: 5pt;} +input {font-size: 16pt;} +select {font-size: 16pt;} +table {font-size: 14pt;} +#title {text-align: center;} \ No newline at end of file diff --git a/templates/basic.html b/templates/basic.html new file mode 100644 index 00000000..269988e8 --- /dev/null +++ b/templates/basic.html @@ -0,0 +1,15 @@ + +Joustmania! + + + +Joustmania! +{% block header %} +{% endblock %} + + +


+{% block body %} +{% endblock %} + + \ No newline at end of file diff --git a/templates/battery.html b/templates/battery.html index c9d26527..076ee833 100644 --- a/templates/battery.html +++ b/templates/battery.html @@ -1,6 +1,7 @@ - +{% extends "basic.html" %} +{% block header %} +{% endblock %} -Joustmania! - - - - -
-

-
+{% block body %} Note: Does not update during games.

{% for move in ns.battery_status %} @@ -32,5 +27,4 @@
- - \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/templates/joustmania.html b/templates/joustmania.html index 7a4134cf..756079a4 100644 --- a/templates/joustmania.html +++ b/templates/joustmania.html @@ -1,7 +1,5 @@ - -Joustmania! - - +{% extends "basic.html" %} +{% block header %} - - -
- -

-
+{% endblock %} +{% block body %}
Curent mode: Joust Null
Game status: False
@@ -222,4 +216,4 @@ Cannot connect to Joustmania!
- +{% endblock %} diff --git a/templates/settings.html b/templates/settings.html index 7d36d8a6..4e04b994 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -1,7 +1,5 @@ - -Joustmania! - - +{% extends "basic.html" %} +{% block header %} - + +{% endblock %} -
- -

-
+{% block body %}
{% with message = get_flashed_messages() %} {% if message %} @@ -54,7 +52,7 @@

Admin Settings

{{ form.sensitivity }} {{form.sensitivity.label}}

-

+

Random Mode Game Selection
{% for item in form.random_modes %} {{ item(checked=item.data in settings.con_games) }} {{ item.label }}
@@ -64,5 +62,4 @@

Admin Settings

- - \ No newline at end of file +{% endblock %} \ No newline at end of file
MAC AddressBatteryActive