refactor admin.js, add initial ui elements for multi-use invites

multi-use invites will have a set limit of how many times they can be
used. They can also be set to have no limit. An additional menu is
planned for multi use invites to see when they have been used, and by
who.
This commit is contained in:
2020-07-09 23:00:59 +01:00
parent 89c132e92e
commit db3b992857
3 changed files with 437 additions and 423 deletions

View File

@@ -16,10 +16,11 @@ function serializeForm(id) {
case 'password':
case 'select-one':
case 'email':
case 'number':
formData[name] = el.value;
break;
};
};
};
return formData;
};
};