Frontend: Added forms to delete nodes.

This commit is contained in:
baldo 2022-08-23 17:05:13 +02:00
parent a0d186da3a
commit 3a2f0799eb
13 changed files with 531 additions and 13 deletions
shared/validation

View file

@ -5,14 +5,14 @@
(function () {
var constraints = {
id:{
id: {
type: 'string',
regex: /^[1-9][0-9]*$/,
optional: false
},
token:{
token: {
type: 'string',
regex: /^[0-9a-f]{16}$/i,
regex: /^[0-9a-fA-F]{16}$/,
optional: false
},
node: {