From b3a8b372f09b4511830c6468310d3f31aa40f5aa Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 5 Apr 2020 23:33:10 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 5 +++++ ayanova/src/views/login.vue | 8 +++---- ayanova/src/views/ops-server-state.vue | 31 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 ayanova/src/views/ops-server-state.vue diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 818776ad..7fcacc68 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -50,6 +50,9 @@ 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 @@ -58,6 +61,8 @@ todo: SERVER STATE - 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 + todo: Why is there an error in the console when a user is not logged in and opens client? - It should just go to login, no error should show in the console diff --git a/ayanova/src/views/login.vue b/ayanova/src/views/login.vue index 903e70cc..85f5cbaf 100644 --- a/ayanova/src/views/login.vue +++ b/ayanova/src/views/login.vue @@ -73,10 +73,10 @@ export default { data() { return { input: { - // username: "manager", - // password: "l3tm3in" - username: "CustomerLimited", - password: "CustomerLimited" + username: "manager", + password: "l3tm3in" + // username: "CustomerLimited", + // password: "CustomerLimited" }, errorBadCreds: false, reveal: false, diff --git a/ayanova/src/views/ops-server-state.vue b/ayanova/src/views/ops-server-state.vue new file mode 100644 index 00000000..b81f05ef --- /dev/null +++ b/ayanova/src/views/ops-server-state.vue @@ -0,0 +1,31 @@ + + +