Add the Coulobre operator interface
Provide a responsive sign-in flow, hosting account management, and Apache preview requests and status pages.
This commit is contained in:
1 parent
84d94f7efa
commit
64ee6ddcba
22 files changed
+1085
-14
No files matched your search
@@ -0,0 +1,27 @@
|
||||
from django.contrib.auth.views import LoginView, LogoutView
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = "panel"
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.AccountList.as_view(), name="accounts"),
|
||||
path(
|
||||
"sign-in/",
|
||||
LoginView.as_view(
|
||||
template_name="hosting/login.html",
|
||||
redirect_authenticated_user=True,
|
||||
),
|
||||
name="login",
|
||||
),
|
||||
path("sign-out/", LogoutView.as_view(), name="logout"),
|
||||
path("accounts/new/", views.AccountCreate.as_view(), name="account_create"),
|
||||
path("accounts/<int:pk>/", views.AccountDetail.as_view(), name="account"),
|
||||
path("accounts/<int:pk>/edit/", views.AccountEdit.as_view(), name="account_edit"),
|
||||
path(
|
||||
"accounts/<int:pk>/plans/", views.RequestWebPlan.as_view(), name="request_plan"
|
||||
),
|
||||
path("plans/", views.PlanList.as_view(), name="plans"),
|
||||
path("plans/<int:pk>/", views.PlanDetail.as_view(), name="plan"),
|
||||
]
|
||||
Reference in new issue
Block a user