Development

This commit is contained in:
Matthew Grotke 2026-05-27 22:04:04 -04:00
parent eed1d295dc
commit d9f3bd8289
45 changed files with 635 additions and 666 deletions

View file

@ -1,5 +1,4 @@
{
"id": "view_vpn",
"client_requirement": "client_is_viewer+",
"items": [
{
@ -89,7 +88,7 @@
"row_actions": [
{
"client_requirement": "client_is_administrator+",
"action": "/action/edit_vpn_peer",
"action": "/action/vpn/peers_edit",
"method": "inline_edit",
"text": "Edit",
"class": "btn-ghost btn-sm",
@ -113,14 +112,14 @@
},
{
"client_requirement": "client_is_administrator+",
"action": "/action/regenerate_vpn_peer",
"action": "/action/vpn/peers_regenerate",
"method": "post",
"text": "Regen Conf",
"class": "btn-ghost btn-sm"
},
{
"client_requirement": "client_is_administrator+",
"action": "/action/delete_vpn_peer",
"action": "/action/vpn/peers_delete",
"method": "post",
"text": "Delete",
"class": "btn-danger btn-sm"
@ -134,7 +133,7 @@
"items": [
{
"type": "form",
"action": "/action/add_vpn_peer",
"action": "/action/vpn/addpeer_add",
"method": "post",
"items": [
{
@ -181,7 +180,7 @@
"items": [
{
"type": "button_primary",
"action": "/action/add_vpn_peer",
"action": "/action/vpn/addpeer_add",
"method": "post",
"text": "Add Peer & Download Conf"
},
@ -202,7 +201,7 @@
"items": [
{
"type": "form",
"action": "/action/apply_vpn",
"action": "/action/vpn/wireguard_apply",
"method": "post",
"items": [
{
@ -259,7 +258,7 @@
"items": [
{
"type": "button_primary",
"action": "/action/apply_vpn",
"action": "/action/vpn/wireguard_apply",
"method": "post",
"text": "Save"
},