Give each view its own page, and add a CNAME from an A record
Views open a page like a zone's, with Settings, Options and Zones tabs (and New zone in that view); the Views page lists and orders them. A and AAAA records get a + CNAME button that fills in the add form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7be0762f48
commit
c696d02513
6 files changed
+139
-49
No files matched your search
@@ -276,9 +276,9 @@ export function viewLink(v, name, back) {
|
||||
return h("a", { href: viewHref(v.id, back), class: v.color ? "vc-" + v.color : null, title: "View " + v.name }, v.name);
|
||||
}
|
||||
|
||||
// viewHref is the address of a view on the views page.
|
||||
// viewHref is the address of a view's page.
|
||||
export function viewHref(id, back) {
|
||||
return "#/views?view=" + id + (back ? "&back=" + encodeURIComponent(back) : "");
|
||||
return "#/views/" + id + (back ? "?back=" + encodeURIComponent(back) : "");
|
||||
}
|
||||
|
||||
// colorPicker picks a view colour; its value is "" for the default.
|
||||
|
||||
Reference in new issue
Block a user