diff --git a/gui/app/components/user-profile.js b/gui/app/components/user-profile.js
index 80260f69..a793842a 100644
--- a/gui/app/components/user-profile.js
+++ b/gui/app/components/user-profile.js
@@ -20,7 +20,10 @@ export default Component.extend(AuthProvider, {
password: { password: "", confirmation: "" },
hasFirstnameError: empty('model.firstname'),
hasLastnameError: empty('model.lastname'),
- hasEmailError: empty('model.email'),
+ hasEmailError: computed('model.email', function() {
+ let email = this.get('model.email');
+ return isEmpty(email) || is.not.email(email);
+ }),
hasPasswordError: computed('passwordError', 'password.password', {
get() {
if (isPresent(this.get('passwordError'))) {
@@ -35,10 +38,10 @@ export default Component.extend(AuthProvider, {
hasConfirmPasswordError: computed('confirmPasswordError', {
get() {
if (isPresent(this.get("confirmPasswordError"))) {
- return `error`;
+ return `is-invalid`;
}
- return;
+ return '';
}
}),
diff --git a/gui/app/pods/profile/template.hbs b/gui/app/pods/profile/template.hbs
index 60033775..c7de1b3a 100644
--- a/gui/app/pods/profile/template.hbs
+++ b/gui/app/pods/profile/template.hbs
@@ -1,15 +1,5 @@
-{{#layout/zone-container}}
- {{#layout/zone-sidebar}}
-
-
- {{/layout/zone-sidebar}}
- {{#layout/zone-content}}
- {{user-profile model=model save=(action 'save')}}
- {{/layout/zone-content}}
-{{/layout/zone-container}}
+{{layout/nav-bar}}
+
+
+ {{user-profile model=model save=(action 'save')}}
+
diff --git a/gui/app/styles/app.scss b/gui/app/styles/app.scss
index 40c7c6dc..b4570509 100644
--- a/gui/app/styles/app.scss
+++ b/gui/app/styles/app.scss
@@ -17,7 +17,6 @@
@import "widget/widget.scss";
@import "view/layout.scss"; // junk?
@import "view/page-search.scss";
-@import "view/page-profile.scss";
@import "view/page-customize.scss";
@import "view/page-auth.scss";
@import "view/page-onboard.scss";
diff --git a/gui/app/styles/view/page-auth.scss b/gui/app/styles/view/page-auth.scss
index 41659049..6e97dbce 100644
--- a/gui/app/styles/view/page-auth.scss
+++ b/gui/app/styles/view/page-auth.scss
@@ -1,7 +1,7 @@
.auth-box {
display: inline-block;
height: 500px;
- width: 500px;
+ max-width: 500px;
padding: 20px 50px;
background-color: $color-white;
color: $color-off-black;
diff --git a/gui/app/styles/view/page-profile.scss b/gui/app/styles/view/page-profile.scss
deleted file mode 100644
index 06b1e965..00000000
--- a/gui/app/styles/view/page-profile.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.page-profile {
- @include content-container();
-}
\ No newline at end of file
diff --git a/gui/app/templates/components/folder/category-admin.hbs b/gui/app/templates/components/folder/category-admin.hbs
index f9e4e83d..fab23a12 100644
--- a/gui/app/templates/components/folder/category-admin.hbs
+++ b/gui/app/templates/components/folder/category-admin.hbs
@@ -42,7 +42,7 @@
edit
-