4 Commits
Author SHA1 Message Date
Lucas e9066a2de6 Merge pull request #15 from TakeusV1/DEV
V2026.3
2026-03-16 12:44:27 +01:00
Lucas 963b960554 Update _config.py 2026-03-16 12:43:11 +01:00
Lucas aec29383c8 remove external img 2026-03-16 12:37:41 +01:00
Takeus bbec5d07db Update setup.py 2026-02-05 19:53:03 +01:00
5 changed files with 8 additions and 7 deletions

No files matched your search

+5 -5
View File
@@ -60,7 +60,7 @@ def create_app():
"401",
"Unauthorized",
"The server could not verify that you are authorized to access the URL requested. You are not authenticated, or your browser doesn't understand how to supply the credentials required...",
"https://takeus.ovh/static/img/login.svg"
"/static/img/403.png"
]
return render_template('srv_error.html',HTTP_ERROR=HTTP_ERROR), 401
@@ -70,7 +70,7 @@ def create_app():
"403",
"Forbidden",
"You don't have the permission to access the requested resource. It is either read-protected or not readable by the server...",
"https://takeus.ovh/static/img/login.svg"
"/static/img/403.png"
]
return render_template('srv_error.html',HTTP_ERROR=HTTP_ERROR), 403
@@ -80,7 +80,7 @@ def create_app():
"404",
"Not Found",
"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again...",
"https://takeus.ovh/static/img/404.svg"
"/static/img/404.png"
]
return render_template('srv_error.html',HTTP_ERROR=HTTP_ERROR), 404
@@ -90,7 +90,7 @@ def create_app():
"500",
"Internal Server Error",
"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.",
"https://takeus.ovh/static/img/500.svg"
"/static/img/403.png"
]
return render_template('srv_error.html',HTTP_ERROR=HTTP_ERROR), 500
@@ -100,7 +100,7 @@ def create_app():
"503",
"Service Unavailable",
"The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.",
"https://takeus.ovh/static/img/503.svg"
"/static/img/403.png"
]
return render_template('srv_error.html',HTTP_ERROR=HTTP_ERROR), 503
+2 -2
View File
@@ -10,8 +10,8 @@ app_debug = True
app_maintenance = False
app_name = 'takeus-ipam'
app_version = 'V2026.1'
app_release_date = '01/2026'
app_version = 'V2026.3'
app_release_date = '03/2026'
app_url = "http://0.0.0.0"
app_theme = ['default', 'lumen', 'simplex', 'zephyr']
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+1
View File
@@ -15,6 +15,7 @@ class User(db.Model):
is_admin = db.Column(db.Boolean(),default=False)
is_reado = db.Column(db.Boolean(),default=False)
ui_theme = db.Column(db.String(16))
ui_lmode = db.Column(db.Boolean(),default=False)
dat_last = db.Column(db.DateTime())
with app.app_context():