Missing files

This commit is contained in:
Kumi 2021-10-24 16:51:12 +02:00
parent 4d2e04435a
commit 98ab024d8c
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,6 @@
from django.urls import path
from api.views import StatusView
urlpatterns = [
path('status/', StatusView.as_view(), name="status")
]

View file

@ -7,6 +7,9 @@ class NavSection:
def add_item(self, item):
self.items.append(item)
def get_html(self):
pass
class NavItem:
def __init__(self, name, url, icon="fas fa-fw fa-smile", title=None):
self.name = name