Skip to content

Commit fa8dfd2

Browse files
committed
work
1 parent fb1a9ee commit fa8dfd2

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

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

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,22 @@
4444
ondrop="drop2project(event)"
4545
ondragover="allowDrop2Project(event)"
4646
draggable="true" ondragstart="dragProject(event)"
47-
class="btn btn-dark btn-sm">
47+
class="m-2 btn btn-dark btn-sm">
4848
<i class="fa-solid fa-diagram-project" th:id="'project_' + ${project.id} + '_i'"></i>
4949
<strong th:text="${project.name}" th:id="'project_' + ${project.id} + '_strong'"></strong>
5050
</span>
51-
<span th:id="'project_' + ${project.id}"
52-
th:if="${project != thisProject}"
53-
ondrop="drop2project(event)"
54-
ondragover="allowDrop2Project(event)"
55-
draggable="true" ondragstart="dragProject(event)"
56-
class="m-2 btn btn-outline-dark btn-sm">
57-
<a th:href="@{/project/{id}(id=${project.id})}" th:id="'project_' + ${project.id} + '_a'">
58-
<i class="fa-solid fa-diagram-project" th:id="'project_' + ${project.id} + '_a_i'"></i>
59-
<span th:text="${project.name}" th:id="'project_' + ${project.id} + '_a_span'"></span>
60-
</a>
61-
</span>
51+
52+
<a th:href="@{/project/{id}(id=${project.id})}"
53+
th:if="${project != thisProject}"
54+
th:id="'project_' + ${project.id} + '_a'"
55+
ondrop="drop2project(event)"
56+
ondragover="allowDrop2Project(event)"
57+
draggable="true" ondragstart="dragProject(event)"
58+
class="m-2 btn btn-outline-dark btn-sm">
59+
<i class="fa-solid fa-diagram-project" th:id="'project_' + ${project.id} + '_a_i'"></i>
60+
<span th:text="${project.name}" th:id="'project_' + ${project.id} + '_a_span'"></span>
61+
</a>
62+
6263
<span th:if="${project.children.size() gt 0}">
6364
<ul th:include="this :: tw-project-submenu(projectList=${project.children},thisProject=${thisProject})"
6465
style="list-style: none;">

0 commit comments

Comments
 (0)