commit 061959cf6f45678407fc497af8610bc9d2ad5d5c Author: Karl Hudgell Date: Sat Nov 2 17:06:56 2024 +0000 initial commit diff --git a/lib/__pycache__/reqs.cpython-310.pyc b/lib/__pycache__/reqs.cpython-310.pyc new file mode 100644 index 0000000..2cc4f9b Binary files /dev/null and b/lib/__pycache__/reqs.cpython-310.pyc differ diff --git a/static/styles.css b/static/styles.css new file mode 100644 index 0000000..c3f7a7b --- /dev/null +++ b/static/styles.css @@ -0,0 +1,27 @@ +/* Base styles */ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; +} + +header { + background-color: #4CAF50; + color: white; + padding: 1em; + text-align: center; +} + +main { + padding: 1em; +} + +/* Mobile styles */ +@media (max-width: 600px) { + header { + font-size: 1.5em; + } + main { + padding: 0.5em; + } +} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..75cede2 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,47 @@ + + + + + + + KTV Manager + + + + + + + + +
+

Welcome to KTV Manager

+ +
+ + + + + + + + diff --git a/templates/urls.html b/templates/urls.html new file mode 100644 index 0000000..d4caacc --- /dev/null +++ b/templates/urls.html @@ -0,0 +1,63 @@ + + + + + + + URLs List + + + + + + + + + +
+

URLs

+ + + + + + + + + {% for url in urls %} + + + + + {% endfor %} + +
#URL
{{ loop.index }}{{ url }}
+
+ + + + + + + + diff --git a/templates/user_accounts.html b/templates/user_accounts.html new file mode 100644 index 0000000..7415f62 --- /dev/null +++ b/templates/user_accounts.html @@ -0,0 +1,114 @@ + + + + + + + User Accounts + + + + + + + + + + +
+

User Accounts

+ + + + + + + + + + + + + {% for account in user_accounts %} + + + + + + + + + {% endfor %} + +
#UsernameStreamStream URLExpiry DatePassword
{{ loop.index }}{{ account.username }}{{ account.stream }}{{ account.streamURL }}{{ account.expiaryDate }} + ******** +
+
+ + + + + + + + + +