This commit is contained in:
@@ -50,16 +50,6 @@ CURRENT TODOs
|
||||
@@@@@@@@@@@ ROADMAP STAGE 2:
|
||||
|
||||
|
||||
todo: ops-dashboard for ops user with the basic server state controls and status of the server
|
||||
server state control is a toggle, open or opsonly
|
||||
|
||||
todo: SERVER STATE
|
||||
- check server status on attempt to login for first time or whatever, it should give a prominent warning if the server is unavailable due to closed for maint or whatever rather than just timing out.
|
||||
- Also it allows login which is good but it should restrict the UI if it's a fresh login to a closed server rather than just failing to do certain things
|
||||
- Maybe overall testing is needed with a closed server just to suss out what to do in the UI for that, we want ops people and admins in there but not other biz users if it's locked out
|
||||
- Maybe an alternative page when it's locked out instead of the normal view of each view saying server down for maintenance or something
|
||||
- NEED LOCKOUT PAGE WITH SERVER STATUS
|
||||
- for ops they can do some things, for non-ops they can just view and see latest info, goes home when server is back online
|
||||
|
||||
todo: login form, if trial or dev then needs to display list of sample users to login as and it fills in the login and password
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ export default {
|
||||
initForm(vm)
|
||||
.then(() => {
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.ServerState);
|
||||
vm.formState.ready = true;
|
||||
// vm.formState.ready = true;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
vm.getDataFromApi();
|
||||
})
|
||||
@@ -144,6 +144,7 @@ export default {
|
||||
window.$gz.api
|
||||
.get(url)
|
||||
.then(res => {
|
||||
vm.formState.ready = true;
|
||||
if (res.error != undefined) {
|
||||
vm.formState.serverError = res.error;
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
|
||||
Reference in New Issue
Block a user