This commit is contained in:
2025-01-14 11:51:45 +01:00
parent 7a64cfdf66
commit efd30e9a28
13 changed files with 69 additions and 115 deletions

View File

@@ -72,6 +72,13 @@
version: '11',
end_of_support: 2026-06-30
}
- model: dashboard.os
pk: null
fields: {
distribution: Debian,
version: '12',
end_of_support: 2028-06-30
}
# Ubuntu Server
- model: dashboard.os
@@ -207,6 +214,13 @@
version: '22.04',
end_of_support: 2027-04-01
}
- model: dashboard.os
pk: null
fields: {
distribution: Ubuntu,
version: '24.04',
end_of_support: 2029-04-01
}
# CentOS
- model: dashboard.os

View File

@@ -26,7 +26,7 @@
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}">Updates Dashboard</a>
<a class="navbar-brand" href="{% url 'index' %}">Hyrule - Servers information</a>
</div>
<div class="nav navbar-right top-nav">
<!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> -->

View File

@@ -31,7 +31,7 @@
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}">Updates Dashboard</a>
<a class="navbar-brand" href="{% url 'index' %}">Hyrule - Servers Informations</a>
</div>
<div class="nav navbar-right top-nav">
<!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> -->

View File

@@ -8,7 +8,7 @@ from . import views
urlpatterns = [
# home
re_path(r'^/?$',
re_path(r'^$',
views.index,
name='index'),

View File

@@ -5,4 +5,5 @@ server4;Debian;11;0;147
server5;Ubuntu;20.04;0;308
server6;Ubuntu;22.04;0;147
server7;OpenBSD;6.4;3;119
server8;Ubuntu;20.04;0;28
server8;Ubuntu;18.04;0;28
server9;Debian;12;0;147
1 server1 Debian 8 0 5
5 server5 Ubuntu 20.04 0 308
6 server6 Ubuntu 22.04 0 147
7 server7 OpenBSD 6.4 3 119
8 server8 Ubuntu 20.04 18.04 0 28
9 server9 Debian 12 0 147

View File

@@ -1,9 +1,9 @@
GUNICORN_CMD_ARGS=--bind=127.0.0.1:3000 --workers=3 --timeout=300 --error-logfile=/var/log/gunicorn-error.log
GUNICORN_CMD_ARGS=--bind=127.0.0.1:3001 --workers=3 --timeout=300 --error-logfile=/var/log/gunicorn-error.log
DJANGO_SUPERUSER_PASSWORD=admin
SECRET_KEY=uv88xpv8kb2r6j7rubtnhkps
DATABASE_NAME=updates_dashboard
DATABASE_USER=updates_dashboard
DATABASE_PASSWORD=miengetBatheajOf
DATABASE_NAME=infra_dashboard
DATABASE_USER=infra_dashboard
DATABASE_PASSWORD=sebisdown
DATABASE_HOST=mysql
DATABASE_PORT=3306
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1

View File

@@ -110,13 +110,10 @@ DEBUG_TOOLBAR = True
# Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'