mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Add Settings page: Move theme & lang changer to settings page
This commit is contained in:
parent
7409c197ed
commit
2d5c701789
16 changed files with 279 additions and 60 deletions
|
|
@ -35,6 +35,7 @@ INSTALLED_APPS = [
|
|||
'nwfilters',
|
||||
'storages',
|
||||
'secrets',
|
||||
'appsettings',
|
||||
'logs',
|
||||
]
|
||||
|
||||
|
|
@ -186,9 +187,6 @@ SHOW_ACCESS_SSH_KEYS = False
|
|||
# available list style: default (grouped), nongrouped
|
||||
VIEW_INSTANCES_LIST_STYLE = 'grouped'
|
||||
|
||||
# available options: True, False
|
||||
VIEW_INSTANCE_DETAIL_BOTTOM_BAR = True
|
||||
|
||||
# available volume format: raw, qcow2, qcow
|
||||
INSTANCE_VOLUME_DEFAULT_FORMAT = 'qcow2'
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,17 @@ from django.urls import include, path
|
|||
|
||||
from instances.views import index
|
||||
from console.views import console
|
||||
from appsettings.views import appsettings
|
||||
|
||||
urlpatterns = [
|
||||
path('', index, name='index'),
|
||||
path('admin/', include(('admin.urls', 'admin'), namespace='admin')),
|
||||
path('instances/', include('instances.urls')),
|
||||
path('accounts/', include('accounts.urls')),
|
||||
path('appsettings/', appsettings, name='appsettings'),
|
||||
path('computes/', include('computes.urls')),
|
||||
path('logs/', include('logs.urls')),
|
||||
path('datasource/', include('datasource.urls')),
|
||||
path('console/', console, name='console'),
|
||||
path('datasource/', include('datasource.urls')),
|
||||
path('instances/', include('instances.urls')),
|
||||
path('i18n/', include('django.conf.urls.i18n')),
|
||||
path('logs/', include('logs.urls')),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue