diff --git a/tunictracker/tracker/forms.py b/tunictracker/tracker/forms.py index d902d38..dff66d7 100644 --- a/tunictracker/tracker/forms.py +++ b/tunictracker/tracker/forms.py @@ -5,7 +5,7 @@ from json import loads class ServerAddressForm(forms.Form): server_address_form = forms.URLField( max_length=1312, initial="http://localhost:8000/", empty_value="http://localhost:8000/", label="") - server_address_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-white bg-opacity-10" + server_address_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-charcoal-translucent-light" class BackendFilepathForm(forms.Form): diff --git a/tunictracker/tracker/static/tracker/assets/main.js b/tunictracker/tracker/static/tracker/assets/main.js index cef91cc..c1bbf99 100644 --- a/tunictracker/tracker/static/tracker/assets/main.js +++ b/tunictracker/tracker/static/tracker/assets/main.js @@ -22,7 +22,7 @@ var all_scenes = []; window.onload = async () => { await get_updated_server_address(); await parse_cross_codes(); - // await initialize_elements(); + await initialize_elements(); await refresh_elements(); }; diff --git a/tunictracker/tracker/templates/tracker/about/index.html b/tunictracker/tracker/templates/tracker/about/index.html index 089efbd..c62f034 100644 --- a/tunictracker/tracker/templates/tracker/about/index.html +++ b/tunictracker/tracker/templates/tracker/about/index.html @@ -1,5 +1,5 @@ {% load static %} -
+
About this tracker @@ -11,25 +11,7 @@
{% include "tracker/howto/index.html" %} -
- Settings -
- {% include "tracker/address/index.html" %} -
- - -
- {% comment %}
- - -
{% endcomment %} -
+ {% include "tracker/settings/block.html" %} {% include "tracker/credits/index.html" %} {% include "tracker/src/index.html" with tracker_fe_link="https://gitea.werefox.cafe/ada/tunic-tracker-redux/src/branch/plugin-backend" tracker_be_link="https://github.com/spaceglace/tunic-randomizer/" %}
diff --git a/tunictracker/tracker/templates/tracker/address/index.html b/tunictracker/tracker/templates/tracker/address/index.html index 9ae569b..814bea1 100644 --- a/tunictracker/tracker/templates/tracker/address/index.html +++ b/tunictracker/tracker/templates/tracker/address/index.html @@ -1,13 +1,13 @@
- {% csrf_token %} + class="justify-center my-auto align-top min-w-fit text-md text-nowrap">Backend {% for field in server_address_form %}{{ field }}{% endfor %}
diff --git a/tunictracker/tracker/templates/tracker/breakdown/block.html b/tunictracker/tracker/templates/tracker/breakdown/block.html index 4332fee..bd20c31 100644 --- a/tunictracker/tracker/templates/tracker/breakdown/block.html +++ b/tunictracker/tracker/templates/tracker/breakdown/block.html @@ -1,13 +1,13 @@
-
+
{{ scene_title }}

-
+
-
+
-
+
+ + {% csrf_token %} + + {% for field in backend_filepath_form %}{{ field }}{% endfor %} + diff --git a/tunictracker/tracker/templates/tracker/src/index.html b/tunictracker/tracker/templates/tracker/src/index.html index e001aff..458725f 100644 --- a/tunictracker/tracker/templates/tracker/src/index.html +++ b/tunictracker/tracker/templates/tracker/src/index.html @@ -1,4 +1,4 @@ -
+ diff --git a/tunictracker/tracker/templates/tracker/status/index.html b/tunictracker/tracker/templates/tracker/status/index.html index 7aa2c97..dc703f4 100644 --- a/tunictracker/tracker/templates/tracker/status/index.html +++ b/tunictracker/tracker/templates/tracker/status/index.html @@ -1,4 +1,4 @@ -