diff --git a/projects/account/src/app/profile/agreements/agreements.component.html b/projects/account/src/app/profile/agreements/agreements.component.html new file mode 100644 index 0000000..5d5f9b2 --- /dev/null +++ b/projects/account/src/app/profile/agreements/agreements.component.html @@ -0,0 +1,44 @@ + + AGREEMENTS + + + + + Terms of Use + + + Accepted July 10, 2018 + + + Terms of Use goes here. + + + + + + Privacy Policy + + + Accepted July 10, 2018 + + + Privacy Policy goes here. + + + + + + Open Data Set + + + Opted In July 10, 2018 + + + Open Data Set agreement goes here. + + + + + + + diff --git a/projects/account/src/app/profile/agreements/agreements.component.scss b/projects/account/src/app/profile/agreements/agreements.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/projects/account/src/app/profile/agreements/agreements.component.ts b/projects/account/src/app/profile/agreements/agreements.component.ts new file mode 100644 index 0000000..a029f67 --- /dev/null +++ b/projects/account/src/app/profile/agreements/agreements.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'account-agreements', + templateUrl: './agreements.component.html', + styleUrls: ['./agreements.component.scss'] +}) +export class AgreementsComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/projects/account/src/app/profile/delete/delete.component.html b/projects/account/src/app/profile/delete/delete.component.html index 606c913..b18a62f 100644 --- a/projects/account/src/app/profile/delete/delete.component.html +++ b/projects/account/src/app/profile/delete/delete.component.html @@ -1,8 +1,8 @@ - + DELETE ACCOUNT
CAUTION {{deleteWarning}} - +
diff --git a/projects/account/src/app/profile/delete/delete.component.scss b/projects/account/src/app/profile/delete/delete.component.scss index ab93a61..eded124 100644 --- a/projects/account/src/app/profile/delete/delete.component.scss +++ b/projects/account/src/app/profile/delete/delete.component.scss @@ -1,5 +1,14 @@ mat-card { - max-width: 400px; + button { + color: white; + margin-bottom: 10px; + margin-left: auto; + margin-right: auto; + } + .mat-body { + margin-bottom: 20px; + text-align: center; + } .mat-h3 { text-align: center; font-weight: bold; diff --git a/projects/account/src/app/profile/login/login.component.html b/projects/account/src/app/profile/login/login.component.html index fb858f7..bed4f55 100644 --- a/projects/account/src/app/profile/login/login.component.html +++ b/projects/account/src/app/profile/login/login.component.html @@ -1,8 +1,8 @@ - + LOGIN
-
-
+
+
Email Address Required when no external account is linked
-
+ +
diff --git a/projects/account/src/app/profile/login/login.component.scss b/projects/account/src/app/profile/login/login.component.scss index 7942d8e..3426fa4 100644 --- a/projects/account/src/app/profile/login/login.component.scss +++ b/projects/account/src/app/profile/login/login.component.scss @@ -3,14 +3,14 @@ } mat-card { - max-width: 400px; mat-form-field { - width: 100%; + max-width: 400px; } mat-slide-toggle { height: 50px; + max-width: 400px; fa-icon { font-size: 30px; diff --git a/projects/account/src/app/profile/personal/personal.component.html b/projects/account/src/app/profile/personal/personal.component.html index f89060a..b0a2b30 100644 --- a/projects/account/src/app/profile/personal/personal.component.html +++ b/projects/account/src/app/profile/personal/personal.component.html @@ -1,8 +1,10 @@ - + PERSONAL
-
+ + +
First Name + Last Name
+ + +
+ + Country + + Option 1 + Option 2 (disabled) + Option 3 + + Filter for postal code and time zone + + + + Postal Code + + Option 1 + Option 2 (disabled) + Option 3 + + Default postal code for skills (e.g. weather) + + + + Time Zone + + Option 1 + Option 2 (disabled) + Option 3 + + Default time zone for skills (e.g. alarm clock) + +
+
diff --git a/projects/account/src/app/profile/personal/personal.component.scss b/projects/account/src/app/profile/personal/personal.component.scss index 9184963..ada81ff 100644 --- a/projects/account/src/app/profile/personal/personal.component.scss +++ b/projects/account/src/app/profile/personal/personal.component.scss @@ -29,10 +29,9 @@ } mat-card { - max-width: 400px; mat-form-field { - width: 100%; + max-width: 400px; } fieldset { diff --git a/projects/account/src/app/profile/profile.component.html b/projects/account/src/app/profile/profile.component.html index 07e7fa3..acbc3ba 100644 --- a/projects/account/src/app/profile/profile.component.html +++ b/projects/account/src/app/profile/profile.component.html @@ -2,5 +2,6 @@ +
diff --git a/projects/account/src/app/profile/profile.module.ts b/projects/account/src/app/profile/profile.module.ts index 510ecc4..ab0400a 100644 --- a/projects/account/src/app/profile/profile.module.ts +++ b/projects/account/src/app/profile/profile.module.ts @@ -12,6 +12,7 @@ import { MatExpansionModule, MatFormFieldModule, MatInputModule, + MatSelectModule, MatSlideToggleModule, MatToolbarModule } from '@angular/material'; @@ -21,6 +22,7 @@ import { LoginComponent } from './login/login.component'; import { PersonalComponent } from './personal/personal.component'; import { SubscriptionComponent } from './subscription/subscription.component'; import { DeleteComponent } from './delete/delete.component'; +import { AgreementsComponent } from './agreements/agreements.component'; @NgModule({ declarations: [ @@ -28,7 +30,8 @@ import { DeleteComponent } from './delete/delete.component'; LoginComponent, PersonalComponent, SubscriptionComponent, - DeleteComponent + DeleteComponent, + AgreementsComponent ], entryComponents: [ LoginComponent @@ -45,6 +48,7 @@ import { DeleteComponent } from './delete/delete.component'; MatExpansionModule, MatFormFieldModule, MatInputModule, + MatSelectModule, MatSlideToggleModule, MatToolbarModule ] diff --git a/projects/account/src/app/profile/subscription/subscription.component.html b/projects/account/src/app/profile/subscription/subscription.component.html index 6be399b..c548e38 100644 --- a/projects/account/src/app/profile/subscription/subscription.component.html +++ b/projects/account/src/app/profile/subscription/subscription.component.html @@ -1,11 +1,13 @@ - + SUPPORT MYCROFT
- - - {{subscription.name}} - {{subscription.price}} - - +
+ + + {{subscription.name}} + {{subscription.price}} + + +
diff --git a/projects/account/src/app/profile/subscription/subscription.component.scss b/projects/account/src/app/profile/subscription/subscription.component.scss index e8c620c..d35b163 100644 --- a/projects/account/src/app/profile/subscription/subscription.component.scss +++ b/projects/account/src/app/profile/subscription/subscription.component.scss @@ -3,13 +3,17 @@ } mat-card { - max-width: 400px; + #subscription-types { + .subscription-card { + margin-bottom: 10px; + margin-top: 10px; + max-width: 300px; + min-width: 220px; + text-align: center; - .subscription-card { - text-align: center; - - mat-card-title { - font-size: 16px; + mat-card-title { + font-size: 16px; + } } } } diff --git a/projects/globalnav/src/lib/globalnav.component.html b/projects/globalnav/src/lib/globalnav.component.html index 96f665d..98246d4 100644 --- a/projects/globalnav/src/lib/globalnav.component.html +++ b/projects/globalnav/src/lib/globalnav.component.html @@ -1,4 +1,4 @@ -
+
+ diff --git a/projects/globalnav/src/lib/globalnav.component.scss b/projects/globalnav/src/lib/globalnav.component.scss index f495b38..a54245e 100644 --- a/projects/globalnav/src/lib/globalnav.component.scss +++ b/projects/globalnav/src/lib/globalnav.component.scss @@ -1,12 +1,12 @@ -.app-container { - display: flex; - flex-direction: column; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} +//.app-container { +// display: flex; +// flex-direction: column; +// position: absolute; +// top: 0; +// bottom: 0; +// left: 0; +// right: 0; +//} // Use inline css to display the logo at top of sidebar because Angular // libraries do not support static assets yet. @@ -40,6 +40,7 @@ mat-toolbar { } mat-sidenav-container { + .mat-drawer-container{ overflow: visible; } mat-sidenav { border: none; margin-top: 50px; @@ -53,7 +54,7 @@ mat-sidenav-container { } mat-sidenav-content { margin-top: 50px; - background-color: #f1f3f4; + //background-color: #f1f3f4; } } diff --git a/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.ts b/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.ts index c7fd6f2..c77dffd 100644 --- a/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.ts +++ b/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.ts @@ -73,7 +73,7 @@ export class SkillCardComponent implements OnInit { this.installSnackbar.open( notificationMessage, '', - {panelClass: 'login-snackbar', duration: fiveSeconds} + {panelClass: 'profile-snackbar', duration: fiveSeconds} ); } } diff --git a/projects/sso/src/app/app-routing.module.ts b/projects/sso/src/app/app-routing.module.ts index 5b43cc3..71aa959 100644 --- a/projects/sso/src/app/app-routing.module.ts +++ b/projects/sso/src/app/app-routing.module.ts @@ -6,9 +6,9 @@ import { LogoutComponent } from './logout/logout.component'; // import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; const routes: Routes = [ - { path: 'login', component: LoginComponent }, + { path: 'profile', component: LoginComponent }, { path: 'logout', component: LogoutComponent }, - { path: '', redirectTo: '/login', pathMatch: 'full' }, + { path: '', redirectTo: '/profile', pathMatch: 'full' }, // { path: '**', component: PageNotFoundComponent } ]; diff --git a/projects/sso/src/app/app.component.html b/projects/sso/src/app/app.component.html index 932b853..c5ce01e 100644 --- a/projects/sso/src/app/app.component.html +++ b/projects/sso/src/app/app.component.html @@ -1,10 +1,10 @@
diff --git a/src/theme.scss b/src/theme.scss index f17f626..6882bc7 100644 --- a/src/theme.scss +++ b/src/theme.scss @@ -176,7 +176,19 @@ $custom-theme: mycroft-light-theme( .form-title { background-color: mat-color($primary, 200); - color: mat-contrast($primary, 200) + border-radius: 6px; + color: mat-contrast($primary, 200); + margin-bottom: 20px; + max-width: 1000px; + min-width: 260px; + } + + .form-card { + margin-bottom: 40px; + margin-left: auto; + margin-right: auto; + max-width: 1000px; + min-width: 260px; } }