Revize 60bada5b
Přidáno uživatelem Pavel Fidranský před více než 6 roky(ů)
sources/src/main/webapp/userMenu.jsp | ||
---|---|---|
1 | 1 |
<c:if test="${isLoggedIn}"> |
2 |
<div class="login_box">
|
|
3 |
${user.username} <a href="api/log-out" id="logoutButton">Log out</a> |
|
2 |
<div class="user-menu">
|
|
3 |
${user.username} <a href="api/log-out" class="button" id="logoutButton">Log out</a>
|
|
4 | 4 |
</div> |
5 | 5 |
</c:if> |
6 | 6 |
|
7 | 7 |
<c:if test="${!isLoggedIn}"> |
8 |
<div class="login_box">
|
|
9 |
<button id="toggleLoginPopupButton">Log in</a> |
|
10 |
<button id="toggleRegisterPopupButton">Register</a> |
|
8 |
<div class="user-menu">
|
|
9 |
<button class="button" id="toggleLoginPopupButton">Log in</a>
|
|
10 |
<button class="button" id="toggleRegisterPopupButton">Register</a>
|
|
11 | 11 |
</div> |
12 | 12 |
</c:if> |
13 | 13 |
|
... | ... | |
35 | 35 |
<tr> |
36 | 36 |
<td></td> |
37 | 37 |
<td> |
38 |
<button type="submit">Login</button> |
|
38 |
<button type="submit" class="button">Login</button>
|
|
39 | 39 |
</td> |
40 | 40 |
</tr> |
41 | 41 |
</table> |
... | ... | |
50 | 50 |
Name: |
51 | 51 |
</td> |
52 | 52 |
<td> |
53 |
<input type="text" name="user_name" id="user_name">
|
|
53 |
<input type="text" name="name"> |
|
54 | 54 |
</td> |
55 | 55 |
</tr> |
56 | 56 |
<tr> |
... | ... | |
58 | 58 |
E-mail: |
59 | 59 |
</td> |
60 | 60 |
<td> |
61 |
<input type="text" name="user_email" id="user_email">
|
|
61 |
<input type="text" name="email"> |
|
62 | 62 |
</td> |
63 | 63 |
</tr> |
64 | 64 |
<tr> |
... | ... | |
66 | 66 |
Login name: |
67 | 67 |
</td> |
68 | 68 |
<td> |
69 |
<input type="text" name="user_nick" id="user_nick">
|
|
69 |
<input type="text" name="username">
|
|
70 | 70 |
</td> |
71 | 71 |
</tr> |
72 | 72 |
<tr> |
... | ... | |
74 | 74 |
Password: |
75 | 75 |
</td> |
76 | 76 |
<td> |
77 |
<input type="password" name="user_password" id="user_password">
|
|
77 |
<input type="password" name="password"> |
|
78 | 78 |
</td> |
79 | 79 |
</tr> |
80 | 80 |
<tr> |
... | ... | |
82 | 82 |
Password again: |
83 | 83 |
</td> |
84 | 84 |
<td> |
85 |
<input type="password" name="user_password_2" id="user_password_2">
|
|
85 |
<input type="password" name="passwordCheck">
|
|
86 | 86 |
</td> |
87 | 87 |
</tr> |
88 | 88 |
<tr> |
89 | 89 |
<td></td> |
90 | 90 |
<td> |
91 |
<button type="submit">Register</button> |
|
91 |
<button type="submit" class="button">Register</button>
|
|
92 | 92 |
</td> |
93 | 93 |
</tr> |
94 | 94 |
</table> |
Také k dispozici: Unified diff
fully working frontend User menu