mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
chore: remove files nothing uses
- noVNC's own web client (app/ except the bell sounds, vnc.html,
vnc_lite.html, defaults.json, mandatory.json): the console imports
only noVNC's core, and novncd serves no web pages. AUTHORS, LICENSE.txt
and package.json (the version) stay.
- 24 cached icons no {% bs_icon %} asks for; the icon cache test now
also fails on an icon nothing uses.
- Ace's ext-textarea.js, which nothing loads.
- instances/fixtures/initial_data.json, for an app ("create") that no
longer exists; migration 0006 seeds the flavors.
- webvirtcloud/asgi.py: gunicorn runs the WSGI application only.
- instances/templatetags/tags_active.py: a copy of common_tags'
class_active that no template loads.
- .github/linters/.hadolint.yaml, from super-linter, which no workflow
runs anymore.
This commit is contained in:
parent
764cbb3c43
commit
3ceca5f9f3
98 changed files with 6 additions and 8712 deletions
|
|
@ -1,62 +0,0 @@
|
|||
[
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 1,
|
||||
"fields": {
|
||||
"label": "micro",
|
||||
"vcpu": "1",
|
||||
"memory": "512",
|
||||
"disk": "20"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 2,
|
||||
"fields": {
|
||||
"label": "mini",
|
||||
"vcpu": "2",
|
||||
"memory": "1024",
|
||||
"disk": "30"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 3,
|
||||
"fields": {
|
||||
"label": "small",
|
||||
"vcpu": "2",
|
||||
"memory": "2048",
|
||||
"disk": "40"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 4,
|
||||
"fields": {
|
||||
"label": "medium",
|
||||
"vcpu": "2",
|
||||
"memory": "4096",
|
||||
"disk": "60"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 5,
|
||||
"fields": {
|
||||
"label": "large",
|
||||
"vcpu": "4",
|
||||
"memory": "8192",
|
||||
"disk": "80"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "create.Flavor",
|
||||
"pk": 6,
|
||||
"fields": {
|
||||
"label": "xlarge",
|
||||
"vcpu": "8",
|
||||
"memory": "16384",
|
||||
"disk": "160"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
import re
|
||||
|
||||
from django import template
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag
|
||||
def class_active(request, pattern):
|
||||
if re.search(pattern, request.path):
|
||||
return "active"
|
||||
return ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue