Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c36a3e3a6 | ||
|
|
4b6449a7a0 | ||
|
|
3fefa976ea | ||
|
|
d0e38f14ac | ||
|
|
f56c7831ed | ||
|
|
01600d8e50 | ||
|
|
befb88d498 | ||
|
|
217ba01f12 | ||
|
|
96a3ca543b | ||
|
|
3a5e991870 | ||
|
|
5da241b62e | ||
|
|
74c4f1c1f8 | ||
|
|
f42d2f887f |
@@ -1,6 +1,5 @@
|
||||
from os import system as console
|
||||
from configparser import ConfigParser
|
||||
from htmlmin import minify
|
||||
from flask import (
|
||||
Flask,
|
||||
g,
|
||||
@@ -64,16 +63,16 @@ if app.debug:
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return minify(render_template('index.html'), remove_empty_space=True)
|
||||
return render_template('index.html')
|
||||
|
||||
@app.route("/host")
|
||||
def host():
|
||||
return minify(render_template('host.html'), remove_empty_space=True)
|
||||
return render_template('host.html')
|
||||
|
||||
@app.route("/us")
|
||||
def us():
|
||||
return minify(render_template('us.html'), remove_empty_space=True)
|
||||
return render_template('us.html')
|
||||
|
||||
@app.route("/risdeveau")
|
||||
def risdeveau():
|
||||
return minify(render_template('personal/risdeveau.html'), remove_empty_space=True)
|
||||
return render_template('personal/risdeveau.html')
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Flask==3.1.1
|
||||
gunicorn
|
||||
htmlmin
|
||||
|
||||
@@ -8,6 +8,7 @@ pkgs.mkShell {
|
||||
buildInputs = with pypkgs; [
|
||||
python
|
||||
virtualenv
|
||||
# pkgs.nodejs
|
||||
pkgs.nodePackages.sass
|
||||
];
|
||||
|
||||
|
||||
@@ -95,10 +95,6 @@ header {
|
||||
background-color: $mantle;
|
||||
padding: .5rem;
|
||||
font-size: larger;
|
||||
|
||||
.header-links * + * {
|
||||
padding-left: 1ch;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
|
||||
+3
-3
@@ -11,11 +11,11 @@
|
||||
<div class="block">
|
||||
<strong>{{ _("host:specifications") }}</strong>:
|
||||
<ul>
|
||||
<li>CPU: Ryzen 9@3.4GHz (4 cores)</li>
|
||||
<li>RAM: 8 GB</li>
|
||||
<li>CPU: Ryzen i9@3.4GHz (4 cores)</li>
|
||||
<li>RAM: 8 GiB</li>
|
||||
<li>SSD: 150 GB</li>
|
||||
<li>ETH: 500Mb/s</li>
|
||||
<li>Loc: Deutschland, Frankfurt am Main</li>
|
||||
<li>Loc: Deutchland, Frankfurt am Mein</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user