themes initialized! many new partials and scss integrations across most templates; core.settings contains COMPRESS test fallback; apps.dashboard.views updated for new alerts and styling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -8,10 +8,19 @@ from apps.lyric.models import User
|
||||
|
||||
|
||||
UNLOCKED_THEMES = frozenset(["theme-default"])
|
||||
THEMES = [
|
||||
{"name": "theme-default", "label": "Earthman", "locked": False},
|
||||
{"name": "theme-nirvana", "label": "Nirvana", "locked": True},
|
||||
{"name": "theme-sheol", "label": "Sheol", "locked": True},
|
||||
]
|
||||
|
||||
|
||||
def home_page(request):
|
||||
return render(request, "apps/dashboard/home.html", {"form": ItemForm()})
|
||||
return render(
|
||||
request, "apps/dashboard/home.html", {
|
||||
"form": ItemForm(),
|
||||
"themes": THEMES,
|
||||
})
|
||||
|
||||
def new_list(request):
|
||||
form = ItemForm(data=request.POST)
|
||||
|
||||
Reference in New Issue
Block a user