Skip to content

Commit b90c84f

Browse files
committed
work
1 parent e7d84d4 commit b90c84f

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/main/resources/templates/layout/projects.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@
3030

3131
<ul th:fragment="tw-project-submenu(projectList, thisProject)" style="list-style: none;">
3232
<li th:each="project : ${projectList}">
33-
<span th:if="${project == thisProject}" class="btn btn-outline-dark">
33+
<span th:if="${project == thisProject}" class="btn btn-dark btn-sm">
3434
<i class="fa-solid fa-diagram-project"></i>
3535
<strong th:id="'project_' + ${project.id}"
3636
th:text="${project.name}"
3737
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
3838
draggable="true" ondragstart="dragProject(event)">
3939
</strong>
4040
</span>
41-
<span th:if="${project != thisProject}" class="btn btn-outline-dark">
42-
<i class="fa-solid fa-diagram-project"></i>
43-
<a th:id="'project_' + ${project.id}"
44-
th:text="${project.name}"
41+
<span th:if="${project != thisProject}">
42+
<a th:id="'project_' + ${project.id}"
4543
th:href="@{/project/{id}(id=${project.id})}"
4644
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
47-
draggable="true" ondragstart="dragProject(event)" class="m-2 btm btn-outline-dark">
45+
draggable="true" ondragstart="dragProject(event)" class="m-2 btn btn-outline-dark btn-sm">
46+
<i class="fa-solid fa-diagram-project"></i>
47+
<span th:text="${project.name}"></span>
4848
</a>
4949
</span>
5050
<span th:if="${project.children.size() gt 0}">

src/main/resources/templates/layout/tasks.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,13 @@
118118
</td>
119119
<td th:id="'task_' + ${task.id} + '_col_project'" class="task_col task_col_project"
120120
th:if="${myTaskState ne 'PROJECT'}">
121-
<a th:href="@{/project/{id}(id=${task.project.id})}" th:if="${task.project ne null}"
121+
<a th:href="@{/project/{id}(id=${task.project.id})}"
122+
th:if="${task.project ne null}"
122123
th:id="'task_' + ${task.id} + '_col_project'"
123124
draggable="true" ondragstart="dragTask(event)"
124-
class="task_col_content task_col_content_project twtooltip"
125+
class="btn btn-outline-dark btn-sm task_col_content task_col_content_project twtooltip"
125126
th:alt-title="#{task.col.twtooltip.project}">
126-
<i class="fas fa-folder-open"></i>
127+
<i class="fa-solid fa-diagram-project"></i>
127128
<span th:text="${task.project.name}"></span>
128129
</a>
129130
</td>

0 commit comments

Comments
 (0)