forked from dotnetsatya/UI-Practices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI-Applicagtion1
85 lines (69 loc) · 2.65 KB
/
UI-Applicagtion1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Case Study using below UI technologies
• HTML5
• CSS3
• JavaScript
• jQuery
• jQuery UI
• JavaScript OOP
Application Name: Web Admin System
Tasks: UI
Create a Standard Layout which can be shared across the pages.
Layout includes header, footer, sidebar and content section.
Include navigation section in the header, so that the user can navigate across the pages using hyperlinks.
You can use HTML 5 semantic elements and CSS3 styles for better UX.
Include: Home, Contacts, about links in the navigation section.
When the start page (index.html) page is loaded, you must display
[Welcome, Guest!][Login/Register] on the top right of the page.
So that, you use can Login with the existing account. Or the user can create a new Account.
When the user clicks on the Login link, login.html page must be loaded.
When the user clicks on the Register, Register.html page must be loaded.
If the user login to the system using existing account, you must display
[Welcome Username!] [Logout] on the top right of the page.
And you must enable some links like View Details, Edit/Update Details, and Reset Password links in the sidebar section.
For View Details, you must display the UserInfo for readonly.
For Edit/Update, you must able to edit and update the user info.
For Reset Password, you must able to reset the current password with new password.
Pages:
Index.html (single page /main page)
The below are partials :
About.html
Contacts.html
Login.html
Register.html
UserInfo.html
EditUserInfo.html
ResetPassword.html
Signout.html
Create User UI:
You need the below fields:
Username, Password, Email, Mobile
Include the validations
Business Logic:
Use JavaScript OOP for the complete application
Steps: app.js
var webAdminApp = {};
webAdminApp.appName = 'Web administration Application';
webAdminApp.version = 1.0;
webAdminApp.UserModule = {
data: [{ id: 1, username: 'admin', password: 'admin', email: '[email protected]', mobile: '12345' }],
addUser: function (user) {
//add user here...
},
getUser: function (username) {
//get user by name
},
updateUser: function (user) {
//update the existing user with current user
},
deleteUser: function (username) {
//delete the existing user with current user
},
login: function (username, password) {
//check whether user exists or not with given username and password
}
};
Sample Screens:
Login.html
Register.html
After Login:
Change Password: