commit | 676f2fcaac7b81bc3a77c2ecc047d508927814d5 | [log] [tgz] |
---|---|---|
author | Derick Montague <derick.montague@ibm.com> | Mon Dec 23 20:53:49 2019 -0600 |
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | Tue Jan 28 14:18:05 2020 -0800 |
tree | 61268fd6178f6a86bc4d51e53217569ec628204e | |
parent | 126eaabea5edf8df4ed0dfb9c7af4ea246a5628a [diff] |
Add login form validation - Sending incorrect credentials returns a 401 and we don't want the page to redirect if we are trying to login. Wrapped the redirect in an if block. - Returning a promise used by the logout action, which is needed when not redirecting the page. Didn't add to the if block since other errors that use the router to redirect will need the Promise returned also, e.g. 403. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I6db706ef7c71ed13baed95dc4264e6ae11d13ad3
webui-vue is a web-based user interface for the OpenBMC firmware stack built on Vue.js.
phosphor-webui was built on AngularJS and AngularJS goes End of Life June 30, 2021, so this repository is hopefully its replacement. At this time, phosphor-webui still contains more features and you should consider using it.
The current plan is by June 2020!
As mentioned, this application is built using Vue.js, a modern open-source Model-View-ViewModel JavaScript framework supported by an active community and strong documentation. It has been architected to allow organizations to easily update the theme to support their brand. This rewrite takes advantage of front-end development best practices and does not suffer from some of the anti-patterns that exist in phosphor-webui today.
Visit the CONTRIBUTING.md for more on how to contribute code, review some code in Gerrit, or join us in the GUI design workgroup meeting.
npm install
npm run serve
npm run build
npm run test:unit
npm run lint