summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html47
-rw-r--r--templates/hyde.html102
-rw-r--r--templates/index.html59
-rw-r--r--templates/login.html19
4 files changed, 227 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..8adc8df
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title>Drosera Springs | {% block title %}Website{% endblock %}</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='style/style.css') }}">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="application-name" content="Drosera Springs" lang="en" />
+ <meta name="author" content="Morgana Hyde" />
+ <meta name="description"
+ content="Welcome to Drosera Springs! Find all the information you need about our vibrant resort city here. Located in Evergreen, Colorado, you're sure to have the time of your life!" />
+ {% block robots %}
+ <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex" />
+ {% endblock %}
+ {% block head %}{% endblock %}
+</head>
+
+<body>
+ {% block header %}
+ <div id="header-bg">
+ <header>
+ <a href="/">
+ <h1>Drosera Springs</h1><span>COLORADO, USA</span>
+ </a>
+ </header>
+ </div>
+ {% endblock %}
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <dialog id="flashes" closedby="any" open>
+ <ul>
+ {% for message in messages %}
+ <li>{{ message }}</li>
+ {% endfor %}
+ </ul>
+ </dialog>
+ {% endif %}
+ {% endwith %}
+ {% block content %}{% endblock %}
+ <footer>
+ <span>City of Drosera Springs</span>
+ <span>4180 Absidy Street, Drosera Springs, CO 80439, United States</span>
+ <span>Website Managed by the Absidy Team</span>
+ </footer>
+</body>
+
+</html> \ No newline at end of file
diff --git a/templates/hyde.html b/templates/hyde.html
new file mode 100644
index 0000000..603c270
--- /dev/null
+++ b/templates/hyde.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <title>HYDEMATCH</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='style/hyde.css') }}">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+</head>
+
+<body>
+ <header>
+ <div>
+ <div>
+ <h1>HYDEMATCH</h1>
+ <strong>DROSERA SPRINGS WRESTLING DATABASE</strong>
+ </div>
+ <span></span>
+ <a href="/">Return to Main Site</a>
+ </div>
+ </header>
+ <main>
+ <h2>Morgana Hyde</h2>
+ <h3>General Data</h3>
+ <table class="datatable">
+ <tr>
+ <th>Current gimmick:</th>
+ <td>Morgana Hyde</td>
+ </tr>
+ <tr>
+ <th>Promotion:</th>
+ <td>Freelancer</td>
+ </tr>
+ </table>
+ <hr>
+ <h3>Personal Data</h3>
+ <table class="datatable">
+ <tr>
+ <th>Birthplace:</th>
+ <td>Drosera Springs, CO, USA</td>
+ </tr>
+ <tr>
+ <th>Gender:</th>
+ <td>Transfem</td>
+ </tr>
+ <tr>
+ <th>Height:</th>
+ <td>5'9"</td>
+ </tr>
+ <tr>
+ <th>WWW:</th>
+ <td><a href="/">https://icolotl.com/</a></td>
+ </tr>
+ </table>
+ <hr>
+ <h3>Career Data</h3>
+ <table class="datatable">
+ <tr>
+ <th>Alter egos:</th>
+ <td>Morgan Hyde</td>
+ </tr>
+ <tr>
+ <th>Roles:</th>
+ <td>Singles Wrestler</td>
+ </tr>
+ <tr>
+ <th>Beginning of in-ring career:</th>
+ <td>08.29.2026</td>
+ </tr>
+ </table>
+ <hr>
+ <h3>Matches</h3>
+ <table id="matchtable">
+ <tr>
+ <th id="matchno">#</th>
+ <th id="matchdate">Date</th>
+ <th id="matchdata">Match</th>
+ </tr>
+ {% for match in matches %}
+ <tr>
+ <td>{{ match.id }}</td>
+ <td>{{ match.date }}</td>
+ <td>
+ <div>{% if match.special %}<b>{{ match.special }}: </b>{% endif %}<strong>{{ match.victor
+ }}</strong>
+ defeats
+ {% with others = match.others.split(";") %}
+ <strong>{{ others[0] }}</strong>
+ {% for other in others[1:] %}
+ and <strong>{{ other }}</strong>
+ {% endfor %}
+ {% endwith %}
+ </div>
+ <small><strong>{{ match.event }}</strong> - Event @ {{ match.location }}</small>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </main>
+ <footer>Disclaimer: This is a parody website and not associated with nor endorsed by CAGEMATCH.net</footer>
+</body>
+
+</html> \ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..2618a68
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,59 @@
+{% extends "base.html" %}
+
+{% block head %}
+<link rel="stylesheet" href="{{ url_for('static', filename='style/index.css') }}">
+{% endblock %}
+
+{% block title %} Homepage {%endblock%}
+
+{% block robots %}
+<meta name="robots" content="index, nofollow" />
+{% endblock %}
+{% block header %}{% endblock %}
+
+{% block content %}
+<main>
+ <header>
+ <a href="/">
+ <h1>Drosera Springs</h1><span>COLORADO, USA</span>
+ </a>
+ </header>
+ <form method="post" action="/search" id="search">
+ <input type="search" name="query" aria-label="Search"><button type="submit">Search</button>
+ </form>
+ <nav>
+ {% if session.username %}
+ <a href="/logout">Log Off</a>
+ {% else %}
+ <a href="/login">Resident Portal</a>
+ <a href="/guest">Guest Access</a>
+ {% endif %}
+ <a href="/eguide">Visitor's Guide</a>
+ <a href="/permits">Permits</a>
+ <a href="/news">eNewsletter</a>
+ <a href="/radio">Community Radio</a>
+ <a href="/absidy">Absidy Center</a>
+ <a href="/hyde">Local Wrestling</a>
+ <a href="https://git.icolotl.com">Open Data</a>
+ </nav>
+</main>
+<section>
+ <div>
+ <h2><a href="/absidy">Spotlight</a></h2>
+ <img src="/static/img/photography.webp" alt="Absidy Center Photography Showcase">
+ <a href="/absidy">For more photography and art, click here.</a>
+ </div>
+ <div>
+ <h2><a href="/news">News</a></h2>
+ <h3>{{ news.title }}</h3>
+ <small>Published {{ news.date }}</small>
+ <p>{{ news.content }}</p>
+ <a href="/news">For more, click here.</a>
+ </div>
+ <div>
+ <h2>Events</h2>
+ No events are planned.<br>
+ Check back later!
+ </div>
+</section>
+{% endblock %} \ No newline at end of file
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..f0b450e
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+
+{% block head %}
+<link rel="stylesheet" href="{{ url_for('static', filename='style/login.css') }}">
+{% endblock %}
+
+{% block content %}
+<main class="centered">
+ <h2>D.S. Resident Login</h2>
+ <form method="post">
+ <label for="username">Username: </label>
+ <input type="text" name="username" autocomplete="username">
+ <label for="password">Password: </label>
+ <input type="password" name="password" autocomplete="current-password">
+ <button type="submit">Log In</button>
+ <input type="hidden" name="register" value="0">
+ </form>
+</main>
+{% endblock %} \ No newline at end of file