diff --git a/app.py b/app.py index a56e3e2..57b3f63 100644 --- a/app.py +++ b/app.py @@ -4,10 +4,12 @@ from flask import Flask, render_template from flask_scss import Scss app = Flask(__name__) -app.debug = True -# if not os.path.exists("static/css/main.css"): os.system("sass static/scss/main.scss static/style/main.css") @app.route("/") def index(): return render_template('index.html') + +@app.route("/host") +def host(): + return render_template('host.html') diff --git a/requirements.txt b/requirements.txt index 4bc7ffb..aa4b129 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ Flask==3.1.1 -Flask-Scss diff --git a/static/scss/main.scss b/static/scss/main.scss index b8f937a..7a65840 100644 --- a/static/scss/main.scss +++ b/static/scss/main.scss @@ -74,7 +74,7 @@ header { width: fit-content; } -.services { +.block { background-color: $surface0; border-radius: 8px; padding: 8px; diff --git a/templates/header.tmpl b/templates/header.tmpl index c5b2b9b..29314e3 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -1,10 +1,18 @@
{%- if request.path != url_for('index') %} Coders Squad - {% endif %} + {%- endif %}
\ No newline at end of file diff --git a/templates/host.html b/templates/host.html new file mode 100644 index 0000000..fc1ac2e --- /dev/null +++ b/templates/host.html @@ -0,0 +1,29 @@ + + + Хост - Coders Squad + + + + + + {% include 'header.tmpl' %} + +

О сервере

+ +
+ Хостер: play2go +

Неплохой, недорогой. В прошлом были проблемы с сетью

+
+ +
+ Характеристики: + +
+ + \ No newline at end of file diff --git a/templates/services.tmpl b/templates/services.tmpl index 2d4aceb..14b714e 100644 --- a/templates/services.tmpl +++ b/templates/services.tmpl @@ -1,5 +1,5 @@
-
+
Sharkey

Федеративная микроблогинговая система поверх протокола ActivityPub

@@ -10,13 +10,13 @@
-
+

Matrix — федеративный мессанджер

Copyparty — облачное хранилище файлов

4get — прокси-поисковик

-
+
DNS:
    @@ -31,7 +31,7 @@
-
+
Ещё у нас есть GlitchTip и Baikal для участников нашей группы!
\ No newline at end of file