1
- <!DOCTYPE html>
2
- < html th:lang ="${#locale.language} "
3
- xmlns ="http://www.w3.org/1999/xhtml "
4
- xmlns:th ="http://www.thymeleaf.org "
5
- xmlns:sec ="http://www.thymeleaf.org/extras/spring-security "
6
- xmlns:sd ="http://www.thymeleaf.org/spring-data ">
7
- < head th:replace ="layout/page :: tw-page-head(headtitle=~{::title},links=~{},refreshMessages=false) ">
8
- < title th:text ="'SimpleWorklist | ' + #{user.selfservice.profile.h1} "> Title</ title >
9
- </ head >
10
- < body th:replace ="layout/page :: tw-page-body(twcontent=~{::mytwcontent},twtitle=~{::mytwtitle},scripts=~{}) ">
11
-
12
- < div th:fragment ="mytwtitle ">
13
- < h1 >
14
- < i class ="fas fa-user "> </ i >
15
- < span th:utext ="#{user.selfservice.profile.h1} "> User Profile</ span >
16
- < small > < span sec:authentication ="name "> </ span > </ small >
17
- </ h1 >
18
- </ div >
19
-
20
- < div th:fragment ="mytwcontent ">
21
- < div th:if ="${users != null} ">
22
- < h5 >
23
- < span th:text ="#{pages.users.h1} "> List of registered Users</ span >
24
- </ h5 >
25
- < table class ="table table-striped ">
26
- < thead >
27
- < tr >
28
- < th >
29
- < span th:utext ="#{pages.users.messages} "> Messages</ span >
30
- </ th >
31
- < th > Name</ th >
32
- < th >
33
- < span th:utext ="#{pages.users.lastLogin} "> Last Login</ span >
34
- </ th >
35
- < th >
36
- < span th:utext ="#{pages.users.dateOfRegistration} "> Date of registration</ span >
37
- </ th >
38
- </ tr >
39
- </ thead >
40
- < tbody >
41
- < tr th:each ="user : ${users} ">
42
- < td >
43
- < span th:if ="${user.id != thisUser.id} ">
44
- < a th:href ="@{/user2user/{id}/messages/(id=${user.id})} ">
45
- < i class ="fas fa-envelope "> </ i >
46
- < span th:utext ="#{pages.users.messages} "> Messages</ span >
47
- < span class ="badge badge-pill badge-dark " th:if ="${usersToNewMessages.get(user.id) gt 0} ">
48
- < span th:text ="${usersToNewMessages.get(user.id)} "> Messages</ span >
49
- </ span >
50
- </ a >
51
- </ span >
52
- </ td >
53
- < td >
54
- < span th:text ="${user.userFullname} "> user.userFullname</ span >
55
- </ td >
56
- < td >
57
- < span th:text ="${#dates.format(user.lastLoginTimestamp,'dd.MM.yyyy HH:mm:ss')} "> </ span >
58
- </ td >
59
- < td >
60
- < span th:text ="${#dates.format(user.rowCreatedAt,'dd.MM.yyyy HH:mm:ss')} "> </ span >
61
- </ td >
62
- </ tr >
63
- </ tbody >
64
- </ table >
65
- </ div >
66
- < div class ="card card-body ">
67
- < ul >
68
- < li >
69
- < span th:utext ="#{user.selfservice.profile.userEmail} "> User Email:</ span >
70
- < strong >
71
- < span sec:authentication ="name "> </ span >
72
- </ strong >
73
- </ li >
74
- < li >
75
- < i class ="fas fa-edit "> </ i >
76
- < span th:utext ="#{user.selfservice.profile.name} "> Name:</ span >
77
- < a th:href ="@{/user/selfservice/name} ">
78
- < span th:text ="${thisUser.userFullname} "> thisUser.userFullname</ span >
79
- </ a >
80
- </ li >
81
- < li >
82
- < i class ="fas fa-edit "> </ i >
83
- < a th:href ="@{/user/selfservice/password} ">
84
- < span th:utext ="#{user.selfservice.profile.changePassword} "> Change Password</ span >
85
- </ a >
86
- </ li >
87
- < li >
88
- < i class ="fas fa-edit "> </ i >
89
- < a th:href ="@{/user/selfservice/contexts} ">
90
- < span th:utext ="#{user.selfservice.profile.changeContexts} "> Change Areas</ span >
91
- </ a >
92
- </ li >
93
- < li >
94
- < i class ="fas fa-edit "> </ i >
95
- < a th:href ="@{/user/selfservice/language} ">
96
- < span th:utext ="#{user.selfservice.profile.changeLanguage} "> Set Default Language</ span >
97
- </ a >
98
- </ li >
99
- < li >
100
- < i class ="fas fa-list-alt "> </ i >
101
- < a th:href ="@{/test/helper/project /createTree} ">
102
- < span th:text ="#{layout.page.createTestData} "> Create Test Data</ span >
103
- </ a >
104
- </ li >
105
- </ ul >
106
- </ div >
107
- </ div >
108
- </ body >
109
- </ html >
1
+ <!DOCTYPE html>
2
+ < html th:lang ="${#locale.language} "
3
+ xmlns ="http://www.w3.org/1999/xhtml "
4
+ xmlns:th ="http://www.thymeleaf.org "
5
+ xmlns:sec ="http://www.thymeleaf.org/extras/spring-security "
6
+ xmlns:sd ="http://www.thymeleaf.org/spring-data ">
7
+ < head th:replace ="layout/page :: tw-page-head(headtitle=~{::title},links=~{},refreshMessages=false) ">
8
+ < title th:text ="'SimpleWorklist | ' + #{user.selfservice.profile.h1} "> Title</ title >
9
+ </ head >
10
+ < body th:replace ="layout/page :: tw-page-body(twcontent=~{::mytwcontent},twtitle=~{::mytwtitle},scripts=~{}) ">
11
+
12
+ < div th:fragment ="mytwtitle ">
13
+ < h1 >
14
+ < i class ="fas fa-user "> </ i >
15
+ < span th:utext ="#{user.selfservice.profile.h1} "> User Profile</ span >
16
+ < small > < span sec:authentication ="name "> </ span > </ small >
17
+ </ h1 >
18
+ </ div >
19
+
20
+ < div th:fragment ="mytwcontent ">
21
+ < div th:if ="${users != null} ">
22
+ < h5 >
23
+ < span th:text ="#{pages.users.h1} "> List of registered Users</ span >
24
+ </ h5 >
25
+ < table class ="table table-striped ">
26
+ < thead >
27
+ < tr >
28
+ < th >
29
+ < span th:utext ="#{pages.users.messages} "> Messages</ span >
30
+ </ th >
31
+ < th > Name</ th >
32
+ < th >
33
+ < span th:utext ="#{pages.users.lastLogin} "> Last Login</ span >
34
+ </ th >
35
+ < th >
36
+ < span th:utext ="#{pages.users.dateOfRegistration} "> Date of registration</ span >
37
+ </ th >
38
+ </ tr >
39
+ </ thead >
40
+ < tbody >
41
+ < tr th:each ="user : ${users} ">
42
+ < td >
43
+ < span th:if ="${user.id != thisUser.id} ">
44
+ < a th:href ="@{/user2user/{id}/messages/(id=${user.id})} ">
45
+ < i class ="fas fa-envelope "> </ i >
46
+ < span th:utext ="#{pages.users.messages} "> Messages</ span >
47
+ < span class ="badge badge-pill badge-dark " th:if ="${usersToNewMessages.get(user.id) gt 0} ">
48
+ < span th:text ="${usersToNewMessages.get(user.id)} "> Messages</ span >
49
+ </ span >
50
+ </ a >
51
+ </ span >
52
+ </ td >
53
+ < td >
54
+ < span th:text ="${user.userFullname} "> user.userFullname</ span >
55
+ </ td >
56
+ < td >
57
+ < span th:text ="${#dates.format(user.lastLoginTimestamp,'dd.MM.yyyy HH:mm:ss')} "> </ span >
58
+ </ td >
59
+ < td >
60
+ < span th:text ="${#dates.format(user.rowCreatedAt,'dd.MM.yyyy HH:mm:ss')} "> </ span >
61
+ </ td >
62
+ </ tr >
63
+ </ tbody >
64
+ </ table >
65
+ </ div >
66
+ < div class ="card card-body ">
67
+ < ul >
68
+ < li >
69
+ < span th:utext ="#{user.selfservice.profile.userEmail} "> User Email:</ span >
70
+ < strong >
71
+ < span sec:authentication ="name "> </ span >
72
+ </ strong >
73
+ </ li >
74
+ < li >
75
+ < i class ="fas fa-edit "> </ i >
76
+ < span th:utext ="#{user.selfservice.profile.name} "> Name:</ span >
77
+ < a th:href ="@{/user/selfservice/name} ">
78
+ < span th:text ="${thisUser.userFullname} "> thisUser.userFullname</ span >
79
+ </ a >
80
+ </ li >
81
+ < li >
82
+ < i class ="fas fa-edit "> </ i >
83
+ < a th:href ="@{/user/selfservice/password} ">
84
+ < span th:utext ="#{user.selfservice.profile.changePassword} "> Change Password</ span >
85
+ </ a >
86
+ </ li >
87
+ < li >
88
+ < i class ="fas fa-edit "> </ i >
89
+ < a th:href ="@{/user/selfservice/contexts} ">
90
+ < span th:utext ="#{user.selfservice.profile.changeContexts} "> Change Areas</ span >
91
+ </ a >
92
+ </ li >
93
+ < li >
94
+ < i class ="fas fa-edit "> </ i >
95
+ < a th:href ="@{/user/selfservice/language} ">
96
+ < span th:utext ="#{user.selfservice.profile.changeLanguage} "> Set Default Language</ span >
97
+ </ a >
98
+ </ li >
99
+ < li >
100
+ < i class ="fas fa-list-alt "> </ i >
101
+ < a th:href ="@{/testdata /createTree} ">
102
+ < span th:text ="#{layout.page.createTestData} "> Create Test Data</ span >
103
+ </ a >
104
+ </ li >
105
+ </ ul >
106
+ </ div >
107
+ </ div >
108
+ </ body >
109
+ </ html >
0 commit comments