Skip to content

Commit e7d84d4

Browse files
committed
work
1 parent 3525c79 commit e7d84d4

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

src/main/java/org/woehlke/java/simpleworklist/domain/task/Task.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public class Task extends AuditModel implements Serializable, ComparableById<Tas
183183

184184
@Temporal(DATE)
185185
@Column(name = "due_date", nullable = true)
186-
@DateTimeFormat(pattern="MM/dd/yyyy")
186+
@DateTimeFormat(pattern="yyyy-MM-dd")
187187
private Date dueDate;
188188

189189
@Column(name = "order_id_project", nullable = false)

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="border-top shadow-lg" id="projectNavigationWell" sec:authorize="isAuthenticated()">
99
<div class="row col" id="tw-project-submenu-col">
1010
<nav>
11-
<ul id="rootProject">
11+
<ul id="rootProject" style="list-style: none;">
1212
<li>
1313
<span id="tw-project-submenu-root">
1414
<i class="fas fa-folder-open"></i>
@@ -19,7 +19,7 @@
1919
</a>
2020
</span>
2121
<span th:if="${rootProjects != null and rootProjects.size() gt 0}">
22-
<ul th:include="this :: tw-project-submenu(projectList=${rootProjects},thisProject=${thisProject})"></ul>
22+
<ul th:include="this :: tw-project-submenu(projectList=${rootProjects},thisProject=${thisProject})" style="list-style: none;"></ul>
2323
</span>
2424
</li>
2525
</ul>
@@ -28,25 +28,27 @@
2828
</div>
2929
</section>
3030

31-
<ul th:fragment="tw-project-submenu(projectList, thisProject)">
31+
<ul th:fragment="tw-project-submenu(projectList, thisProject)" style="list-style: none;">
3232
<li th:each="project : ${projectList}">
33-
<span th:if="${project == thisProject}">
33+
<span th:if="${project == thisProject}" class="btn btn-outline-dark">
34+
<i class="fa-solid fa-diagram-project"></i>
3435
<strong th:id="'project_' + ${project.id}"
3536
th:text="${project.name}"
3637
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
3738
draggable="true" ondragstart="dragProject(event)">
3839
</strong>
3940
</span>
40-
<span th:if="${project != thisProject}">
41+
<span th:if="${project != thisProject}" class="btn btn-outline-dark">
42+
<i class="fa-solid fa-diagram-project"></i>
4143
<a th:id="'project_' + ${project.id}"
4244
th:text="${project.name}"
4345
th:href="@{/project/{id}(id=${project.id})}"
4446
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
45-
draggable="true" ondragstart="dragProject(event)">
47+
draggable="true" ondragstart="dragProject(event)" class="m-2 btm btn-outline-dark">
4648
</a>
4749
</span>
4850
<span th:if="${project.children.size() gt 0}">
49-
<ul th:include="this :: tw-project-submenu(projectList=${project.children},thisProject=${thisProject})"></ul>
51+
<ul th:include="this :: tw-project-submenu(projectList=${project.children},thisProject=${thisProject})" style="list-style: none;"></ul>
5052
</span>
5153
</li>
5254
</ul>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
<div th:fragment="tw-tasks-modal(task,myUrlPath)">
168168
<span class="d-grid gap-2">
169169
<button type="button" data-bs-toggle="modal"
170-
class="btn btn-primary btn-sm task_col_content task_col_content_task_details twtooltip"
170+
class="btn btn-outline-primary btn-sm task_col_content task_col_content_task_details twtooltip"
171171
th:attr="data-bs-target='#taskModalScrollable_'+${task.id}"
172172
th:id="'task_' + ${task.id} + '_col_button_modal'"
173173
draggable="true" ondragstart="dragTask(event)"

0 commit comments

Comments
 (0)