From 2d4625ed6677eaeeb46f7dfd3444acc06bc1e8cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A2n?= Date: Sun, 8 Jul 2018 18:55:25 +0700 Subject: [PATCH 1/2] Change a little bit about css and add validate for drop down list --- .../navigation/navigation.component.scss | 2 +- .../user-create/user-create.component.html | 30 +++++++++++-------- .../user/user-edit/user-edit.component.html | 6 +++- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/GoGo/Applications/GoGoSpa/Client-App/src/app/layout/navigation/navigation.component.scss b/GoGo/Applications/GoGoSpa/Client-App/src/app/layout/navigation/navigation.component.scss index acd057b..087f9e7 100644 --- a/GoGo/Applications/GoGoSpa/Client-App/src/app/layout/navigation/navigation.component.scss +++ b/GoGo/Applications/GoGoSpa/Client-App/src/app/layout/navigation/navigation.component.scss @@ -43,5 +43,5 @@ $main-color: #0073e6; } .layout { - width: 20px; + width: 17.5px; } diff --git a/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-create/user-create.component.html b/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-create/user-create.component.html index 37cf11a..8995812 100644 --- a/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-create/user-create.component.html +++ b/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-create/user-create.component.html @@ -96,25 +96,29 @@

Create User

+
+ Role is required. +
+ + +
+ Role is required. +
+ --> diff --git a/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-edit/user-edit.component.html b/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-edit/user-edit.component.html index cbfe7ab..f625f96 100644 --- a/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-edit/user-edit.component.html +++ b/GoGo/Applications/GoGoSpa/Client-App/src/app/modules/identity/user/user-edit/user-edit.component.html @@ -53,9 +53,13 @@

Update User

+ name="role" #role="ngModel" + required> +
+ Role is required. +