From f057297e427a9c05e1a9b58ff3538356de45dfa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 23 Jul 2026 18:11:27 +0400 Subject: [PATCH] Add logo and version v1.0.1 --- site/app.py | 3 +++ site/templates/index.html | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/site/app.py b/site/app.py index 536f840..adcb57d 100644 --- a/site/app.py +++ b/site/app.py @@ -5,9 +5,12 @@ from flask import Flask from routes.main import bp as main_bp from routes.api import bp as api_bp +VERSION = "1.0.1" + app = Flask(__name__, template_folder="templates", static_folder="static") app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc") app.config["NUBES_API_TOKEN"] = os.getenv("NUBES_API_TOKEN", "") +app.config["VERSION"] = VERSION app.register_blueprint(main_bp) app.register_blueprint(api_bp) diff --git a/site/templates/index.html b/site/templates/index.html index b621811..3ea5528 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -13,7 +13,11 @@ -
+
+ Nubes + v{{ config.VERSION if config else '?' }} + + {% if has_user_token %}