Small commit to add checkbox to hide completed areas.

This commit is contained in:
Ada Werefox 2024-03-17 20:03:32 -05:00
parent db8843bdbb
commit a8e9c19afb
5 changed files with 46 additions and 10 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:alpine
WORKDIR /app
ADD tunictracker /app
ADD requirements.txt /app
RUN python -m pip install -r requirements.txt
WORKDIR /app/tunictracker
EXPOSE 8000/tcp
CMD ["gunicorn", "tunictracker.wsgi"]

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
---
version: "3"
services:
"tunic-transition-tracker":
image: tunic-tracker
build:
context: .
volumes:
- ./tunictracker:/app
ports:
- "8090:8000"

View File

@ -1,5 +1,4 @@
asgiref==3.7.2 asgiref==3.7.2
autopep8==2.0.4
certifi==2024.2.2 certifi==2024.2.2
charset-normalizer==3.3.2 charset-normalizer==3.3.2
click==8.1.7 click==8.1.7
@ -7,8 +6,6 @@ colorama==0.4.6
cssbeautifier==1.15.1 cssbeautifier==1.15.1
Django==5.0.3 Django==5.0.3
django-browser-reload==1.12.1 django-browser-reload==1.12.1
django-tailwind==3.8.0
djlint==1.34.1
EditorConfig==0.12.4 EditorConfig==0.12.4
gunicorn==21.2.0 gunicorn==21.2.0
html-tag-names==0.1.2 html-tag-names==0.1.2
@ -19,9 +16,7 @@ json5==0.9.22
numpy==1.26.4 numpy==1.26.4
packaging==23.2 packaging==23.2
pathspec==0.12.1 pathspec==0.12.1
pyarrow==15.0.1
pycodestyle==2.11.1 pycodestyle==2.11.1
pylance==0.10.2
PyYAML==6.0.1 PyYAML==6.0.1
regex==2023.12.25 regex==2023.12.25
requests==2.31.0 requests==2.31.0

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -58,11 +58,25 @@
<summary class="justify-start">Settings</summary> <summary class="justify-start">Settings</summary>
{% include "tracker/settings/index.html" %} {% include "tracker/settings/index.html" %}
{% include "tracker/address/index.html" %} {% include "tracker/address/index.html" %}
<div class="p-2 flex"> <div class="p-2 m-auto justify-center align-middle flex flex-row space-x-2">
<button onclick="notices_ur_debug()" <input onclick="[].forEach.call(document.getElementsByClassName('from-highlight-empty-light'), x => x.classList[document.getElementById('hideDone').checked ? 'add' : 'remove']('hidden'))"
class="p-2 m-auto rounded-md bg-white bg-opacity-10 shadow-sm shadow-[#242424]" type="checkbox"
type="button" id="hideDone"
id="show-debug">Sh-OwO Debug</button> class="p-2 my-auto rounded-md bg-white bg-opacity-10 shadow-sm shadow-[#242424]" />
<label for="hideDone"
class="my-auto justify-left align-top min-w-fit text-md text-nowrap">
Hide completed areas
</label>
</div>
<div class="p-2 m-auto justify-center align-middle flex flex-row space-x-2">
<input onclick="notices_ur_debug()"
class="p-2 my-auto rounded-md bg-white bg-opacity-10 shadow-sm shadow-[#242424]"
type="checkbox"
id="show-debug" />
<label for="show-debug"
class="my-auto justify-left align-top min-w-fit text-md text-nowrap">
Sh-OwO Debug
</label>
</div> </div>
</details> </details>
</div> </div>