1
- <!DOCTYPE html>
2
- < html xmlns ="http://www.w3.org/1999/xhtml "
3
- xmlns:th ="http://www.thymeleaf.org "
4
- xmlns:sec ="http://www.thymeleaf.org/extras/spring-security "
5
- xmlns:sd ="http://www.thymeleaf.org/spring-data ">
6
-
7
- < section th:fragment ="navigation-taskstates(rootCategories ,thisProject) ">
8
- < div class ="container " id ="taskStateNavigationContainer " sec:authorize ="isAuthenticated() ">
9
- < ul id ="taskStateNavigation " class ="nav nav-tabs ">
10
- < li class ="nav-item " ondrop ="drop2inbox(event) " ondragover ="allowDropOfTask(event) ">
11
- < a id ="taskstate_inbox " th:href ="@{/taskstate/inbox} " th:class ="${taskstateType == null or taskstateType == 'inbox' ? 'nav-link active' : 'nav-link'} ">
12
- < i class ="fas fa-inbox "> </ i >
13
- < span th:text ="#{layout.page.inbox} "> Inbox</ span >
14
- </ a >
15
- </ li >
16
- < li class ="nav-item " ondrop ="drop2today(event) " ondragover ="allowDropOfTask(event) ">
17
- < a id ="taskstate_today " th:href ="@{/taskstate/today} " th:class ="${taskstateType == 'today' ? 'nav-link active' : 'nav-link'} ">
18
- < i class ="fas fa-clock "> </ i >
19
- < span th:text ="#{layout.page.today} "> Today</ span >
20
- </ a >
21
- </ li >
22
- < li class ="nav-item " ondrop ="drop2next(event) " ondragover ="allowDropOfTask(event) ">
23
- < a id ="taskstate_next " th:href ="@{/taskstate/next} " th:class ="${taskstateType == 'next' ? 'nav-link active' : 'nav-link'} ">
24
- < i class ="fas fa-cogs "> </ i >
25
- < span th:text ="#{layout.page.next} "> Next</ span >
26
- </ a >
27
- </ li >
28
- < li class ="nav-item " ondrop ="drop2waiting(event) " ondragover ="allowDropOfTask(event) ">
29
- < a id ="taskstate_waiting " th:href ="@{/taskstate/waiting} " th:class ="${taskstateType == 'waiting' ? 'nav-link active' : 'nav-link'} ">
30
- < i class ="fas fa-hourglass-half "> </ i >
31
- < span th:text ="#{layout.page.waiting} "> Waiting</ span >
32
- </ a >
33
- </ li >
34
- < li class ="nav-item ">
35
- < a id ="taskstate_scheduled " th:href ="@{/taskstate/scheduled} " th:class ="${taskstateType == 'scheduled' ? 'nav-link active' : 'nav-link'} ">
36
- < i class ="fas fa-calendar-alt "> </ i >
37
- < span th:text ="#{layout.page.scheduled} "> Scheduled</ span >
38
- </ a >
39
- </ li >
40
- < li class ="nav-item " ondrop ="drop2someday(event) " ondragover ="allowDropOfTask(event) ">
41
- < a id ="taskstate_someday " th:href ="@{/taskstate/someday} " th:class ="${taskstateType == 'someday' ? 'nav-link active' : 'nav-link'} ">
42
- < i class ="fas fa-road "> </ i >
43
- < span th:text ="#{layout.page.someday} "> Someday</ span >
44
- </ a >
45
- </ li >
46
- < li class ="nav-item " ondrop ="drop2focus(event) " ondragover ="allowDropOfTask(event) ">
47
- < a id ="taskstate_focus " th:href ="@{/taskstate/focus} " th:class ="${taskstateType == 'focus' ? 'nav-link active' : 'nav-link'} ">
48
- < i class ="fas fa-star "> </ i >
49
- < span th:text ="#{layout.page.focus} "> Focus</ span >
50
- </ a >
51
- </ li >
52
- < li class ="nav-item " ondrop ="drop2completed(event) " ondragover ="allowDropOfTask(event) ">
53
- < a id ="taskstate_completed " th:href ="@{/taskstate/completed} " th:class ="${taskstateType == 'completed' ? 'nav-link active' : 'nav-link'} ">
54
- < i class ="fas fa-check-square "> </ i >
55
- < span th:text ="#{layout.page.completed} "> Completed Tasks</ span >
56
- </ a >
57
- </ li >
58
- < li class ="nav-item " ondrop ="drop2trash(event) " ondragover ="allowDropOfTask(event) ">
59
- < a id ="taskstate_trash " th:href ="@{/taskstate/trash} " th:class ="${taskstateType == 'trash' ? 'nav-link active' : 'nav-link'} ">
60
- < i class ="fas fa-trash-alt "> </ i >
61
- < span th:text ="#{layout.page.trash} "> Trash</ span >
62
- </ a >
63
- </ li >
64
- </ ul >
65
- </ div >
66
- </ section >
67
-
68
- </ html >
1
+ <!DOCTYPE html>
2
+ < html xmlns ="http://www.w3.org/1999/xhtml "
3
+ xmlns:th ="http://www.thymeleaf.org "
4
+ xmlns:sec ="http://www.thymeleaf.org/extras/spring-security "
5
+ xmlns:sd ="http://www.thymeleaf.org/spring-data ">
6
+
7
+ < section th:fragment ="navigation-taskstates(rootProjects ,thisProject) ">
8
+ < div class ="container " id ="taskStateNavigationContainer " sec:authorize ="isAuthenticated() ">
9
+ < ul id ="taskStateNavigation " class ="nav nav-tabs ">
10
+ < li class ="nav-item " ondrop ="drop2inbox(event) " ondragover ="allowDropOfTask(event) ">
11
+ < a id ="taskstate_inbox " th:href ="@{/taskstate/inbox} " th:class ="${taskstateType == null or taskstateType == 'inbox' ? 'nav-link active' : 'nav-link'} ">
12
+ < i class ="fas fa-inbox "> </ i >
13
+ < span th:text ="#{layout.page.inbox} "> Inbox</ span >
14
+ </ a >
15
+ </ li >
16
+ < li class ="nav-item " ondrop ="drop2today(event) " ondragover ="allowDropOfTask(event) ">
17
+ < a id ="taskstate_today " th:href ="@{/taskstate/today} " th:class ="${taskstateType == 'today' ? 'nav-link active' : 'nav-link'} ">
18
+ < i class ="fas fa-clock "> </ i >
19
+ < span th:text ="#{layout.page.today} "> Today</ span >
20
+ </ a >
21
+ </ li >
22
+ < li class ="nav-item " ondrop ="drop2next(event) " ondragover ="allowDropOfTask(event) ">
23
+ < a id ="taskstate_next " th:href ="@{/taskstate/next} " th:class ="${taskstateType == 'next' ? 'nav-link active' : 'nav-link'} ">
24
+ < i class ="fas fa-cogs "> </ i >
25
+ < span th:text ="#{layout.page.next} "> Next</ span >
26
+ </ a >
27
+ </ li >
28
+ < li class ="nav-item " ondrop ="drop2waiting(event) " ondragover ="allowDropOfTask(event) ">
29
+ < a id ="taskstate_waiting " th:href ="@{/taskstate/waiting} " th:class ="${taskstateType == 'waiting' ? 'nav-link active' : 'nav-link'} ">
30
+ < i class ="fas fa-hourglass-half "> </ i >
31
+ < span th:text ="#{layout.page.waiting} "> Waiting</ span >
32
+ </ a >
33
+ </ li >
34
+ < li class ="nav-item ">
35
+ < a id ="taskstate_scheduled " th:href ="@{/taskstate/scheduled} " th:class ="${taskstateType == 'scheduled' ? 'nav-link active' : 'nav-link'} ">
36
+ < i class ="fas fa-calendar-alt "> </ i >
37
+ < span th:text ="#{layout.page.scheduled} "> Scheduled</ span >
38
+ </ a >
39
+ </ li >
40
+ < li class ="nav-item " ondrop ="drop2someday(event) " ondragover ="allowDropOfTask(event) ">
41
+ < a id ="taskstate_someday " th:href ="@{/taskstate/someday} " th:class ="${taskstateType == 'someday' ? 'nav-link active' : 'nav-link'} ">
42
+ < i class ="fas fa-road "> </ i >
43
+ < span th:text ="#{layout.page.someday} "> Someday</ span >
44
+ </ a >
45
+ </ li >
46
+ < li class ="nav-item " ondrop ="drop2focus(event) " ondragover ="allowDropOfTask(event) ">
47
+ < a id ="taskstate_focus " th:href ="@{/taskstate/focus} " th:class ="${taskstateType == 'focus' ? 'nav-link active' : 'nav-link'} ">
48
+ < i class ="fas fa-star "> </ i >
49
+ < span th:text ="#{layout.page.focus} "> Focus</ span >
50
+ </ a >
51
+ </ li >
52
+ < li class ="nav-item " ondrop ="drop2completed(event) " ondragover ="allowDropOfTask(event) ">
53
+ < a id ="taskstate_completed " th:href ="@{/taskstate/completed} " th:class ="${taskstateType == 'completed' ? 'nav-link active' : 'nav-link'} ">
54
+ < i class ="fas fa-check-square "> </ i >
55
+ < span th:text ="#{layout.page.completed} "> Completed Tasks</ span >
56
+ </ a >
57
+ </ li >
58
+ < li class ="nav-item " ondrop ="drop2trash(event) " ondragover ="allowDropOfTask(event) ">
59
+ < a id ="taskstate_trash " th:href ="@{/taskstate/trash} " th:class ="${taskstateType == 'trash' ? 'nav-link active' : 'nav-link'} ">
60
+ < i class ="fas fa-trash-alt "> </ i >
61
+ < span th:text ="#{layout.page.trash} "> Trash</ span >
62
+ </ a >
63
+ </ li >
64
+ </ ul >
65
+ </ div >
66
+ </ section >
67
+
68
+ </ html >
0 commit comments