mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
The schedule and target lists kept their add forms open below the table, a long form always in the way. Each list now has a 'New schedule' or 'New target' button at its top right that opens the form on its own page, with Cancel; saving goes back to the schedule list, or to the new target, with a message.
20 lines
866 B
Python
20 lines
866 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "vmbackups"
|
|
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("<uuid:uuid>/delete/", views.delete, name="delete"),
|
|
path("<uuid:uuid>/restore/", views.restore, name="restore"),
|
|
path("<uuid:uuid>/restore-over/", views.restore_over, name="restore_over"),
|
|
path("<uuid:uuid>/restore-disk/", views.restore_disk, name="restore_disk"),
|
|
path("schedules/", views.policies, name="policies"),
|
|
path("schedules/new/", views.policy_new, name="policy_new"),
|
|
path("schedules/<int:policy_id>/", views.policy, name="policy"),
|
|
path("targets/", views.targets, name="targets"),
|
|
path("targets/new/", views.target_new, name="target_new"),
|
|
path("targets/<int:target_id>/", views.target, name="target"),
|
|
path("vm/<int:instance_id>/create/", views.create, name="create"),
|
|
]
|