Main HTML Templates
This commit is contained in:
18
templates/inline/footer.html
Normal file
18
templates/inline/footer.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="content fit">
|
||||
<h2 class="titlebar">🚧 Footer</h2>
|
||||
<p class="text-center">I'm so sorry if you're viewing this shit on a phone</p>
|
||||
|
||||
<div class="centered"><img src="/images/under_construction_bar.gif"></div>
|
||||
<div class="button-container">
|
||||
{%for i in buttons%}
|
||||
<a {% if i[1] != "": %} href="{{i[1]}}" {% endif %} ><img src="/buttons/{{i[2]}}" alt="{{i[0]}}"></a>
|
||||
{%endfor%}
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<p>This site was last updated: {{updated}}</p>
|
||||
<p>Website licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></p>
|
||||
|
||||
<a href="{{url_for('homepage')}}">https://weingardt.dev/</a>
|
||||
</div>
|
||||
</div>
|
88
templates/inline/navbar.html
Normal file
88
templates/inline/navbar.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<nav id="navbar">
|
||||
<div class="rowsplitter">
|
||||
<div class="content fit">
|
||||
<h2 class="titlebar">🔗 Navbar</h2>
|
||||
{%for i in navContent%}
|
||||
|
||||
{% if i[0] == "P": %}
|
||||
|
||||
<a class="nav {% if i[1].find(navSel) != -1: %} selected-nav {% endif %}"
|
||||
href="{{url_for(i[2])}}">{% if i[1].find(navSel) != -1: %}> {% endif %}{{i[1]}}{% if i[1].find(navSel) != -1: %} <{% endif %}</a>
|
||||
|
||||
|
||||
{% elif i[0] == "SEP": %}
|
||||
<hr class="navSep">
|
||||
{% elif i[0] == "L": %}
|
||||
<a class="nav" href="{{i[2]}}">{{i[1]}}</a>
|
||||
{% elif i[0] == "D": %}
|
||||
<a class="nav disabled-nav">{{i[1]}}</a>
|
||||
{% endif %}
|
||||
{%endfor%}
|
||||
</div>
|
||||
|
||||
<!--div class="content fit">
|
||||
<h2 class="titlebar">🔀 Site Style</h2>
|
||||
<form method="post" action="/changestyle">
|
||||
|
||||
<select name="stylebox">
|
||||
<option value="A">A</option>
|
||||
<option value="B">B</option>
|
||||
<option value="-">Other</option>
|
||||
</select>
|
||||
|
||||
<input type="submit" name="change" value="Apply">
|
||||
</form>
|
||||
</div-->
|
||||
|
||||
<div class="content fit">
|
||||
<h2 class="titlebar"><marquee>💍 Webrings</marquee></h2>
|
||||
|
||||
<p class="text-center">--- Retronaut 🖥️ Webring ---</p>
|
||||
<p>
|
||||
<a href="https://webring.dinhe.net/prev/https://weingardt.dev">⬅️ Previous</a> |
|
||||
<a href="https://webring.dinhe.net/random">Random</a> |
|
||||
<a href="https://webring.dinhe.net/next/https://weingardt.dev">Next ➡️</a>
|
||||
</p>
|
||||
|
||||
<p class="text-center">--- Hotline 📞 Webring ---</p>
|
||||
<p>
|
||||
<a href="https://hotlinewebring.club/weingardt/previous">⬅️ Previous</a> |
|
||||
<a href="https://hotlinewebring.club/weingardt/next">Next ➡️</a>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="content fit">
|
||||
<h2 class="titlebar">🔀 Random Shit</h2>
|
||||
<div class="squeeze">{{rndShit | safe}}</div>
|
||||
</div>
|
||||
|
||||
<div class="content fit smol">
|
||||
<h2 class="titlebar">📖 Lesson of the Day <a class="leftpad" href="{{url_for('lessons')}}">>></a></h2>
|
||||
<div>{{randomQuote[0]}}<br><br>{{randomQuote[1] | safe}}</div>
|
||||
</div>
|
||||
|
||||
<div class="content fit smol">
|
||||
<h2 class="titlebar">🎯 Goals/Todo</h2>
|
||||
<div class="list-left">
|
||||
<ul>
|
||||
{%for i in todos%}
|
||||
{% if i[0] == "s": %} <s> {% endif %}
|
||||
<li> <input type="checkbox" disabled {% if i[0] == "1": %} checked {% endif %}>{{i[1]}}</li>
|
||||
{% if i[0] == "s": %} </s> {% endif %}
|
||||
{%endfor%}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content fit smol">
|
||||
<h2 class="titlebar">🆕 Site Updates</h2>
|
||||
<div class="list-left">
|
||||
<ul>
|
||||
{%for i in updates%} <li>{{i[0]}} {{i[1]}}</li> {%endfor%}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
Reference in New Issue
Block a user