Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9df27855c4 | ||
|
|
92ffd3075f | ||
|
|
19530f563d | ||
|
|
1910b1508c | ||
|
|
4b6dd21b2b | ||
|
|
f0e62807c2 | ||
|
|
a9451dc54f | ||
|
|
3183c66c35 | ||
|
|
af3310db46 | ||
|
|
9646eacbd1 | ||
|
|
0cba718699 | ||
|
|
c0cdd1e618 | ||
|
|
2e20618641 | ||
|
|
5a2813b344 | ||
|
|
7eff9aa08f |
@@ -1,5 +1,6 @@
|
||||
from os import system as console
|
||||
from configparser import ConfigParser
|
||||
from htmlmin import minify
|
||||
from flask import (
|
||||
Flask,
|
||||
g,
|
||||
@@ -63,16 +64,16 @@ if app.debug:
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
return minify(render_template('index.html'), remove_empty_space=True)
|
||||
|
||||
@app.route("/host")
|
||||
def host():
|
||||
return render_template('host.html')
|
||||
return minify(render_template('host.html'), remove_empty_space=True)
|
||||
|
||||
@app.route("/us")
|
||||
def us():
|
||||
return render_template('us.html')
|
||||
return minify(render_template('us.html'), remove_empty_space=True)
|
||||
|
||||
@app.route("/risdeveau")
|
||||
def risdeveau():
|
||||
return render_template('personal/risdeveau.html')
|
||||
return minify(render_template('personal/risdeveau.html'), remove_empty_space=True)
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
Flask==3.1.1
|
||||
gunicorn
|
||||
htmlmin
|
||||
|
||||
@@ -8,7 +8,6 @@ pkgs.mkShell {
|
||||
buildInputs = with pypkgs; [
|
||||
python
|
||||
virtualenv
|
||||
# pkgs.nodejs
|
||||
pkgs.nodePackages.sass
|
||||
];
|
||||
|
||||
|
||||
@@ -95,6 +95,10 @@ 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 i9@3.4GHz (4 cores)</li>
|
||||
<li>RAM: 8 GiB</li>
|
||||
<li>CPU: Ryzen 9@3.4GHz (4 cores)</li>
|
||||
<li>RAM: 8 GB</li>
|
||||
<li>SSD: 150 GB</li>
|
||||
<li>ETH: 500Mb/s</li>
|
||||
<li>Loc: Deutchland, Frankfurt am Mein</li>
|
||||
<li>Loc: Deutschland, Frankfurt am Main</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user