Skip to content

Commit a5c5caf

Browse files
authored
Feature/bump bootstrap (#899)
* 🐛 Bug(bo): improve style on guarantor checkbox * ✨ Feat(bo): improve see document button style * ✨ Feat(bo): avoid horizontal scrollbar
1 parent 5044a08 commit a5c5caf

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

dossierfacile-bo/src/main/resources/templates/bo/apartment-sharing-view.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,9 +937,9 @@ <h3 th:unless="${tenant.getGuarantors().isEmpty()}">Garants</h3>
937937
th:href="@{/bo/regeneratePdfDocument/} + ${document.getId()}">Update
938938
Document PDF</a>
939939

940-
<a style="font-size: smaller;margin-top: 9px;border-radius: .15em; margin-left: 2%; margin-bottom: auto;background: #efefef;padding: 1.5px;border-width: 2px;"
941-
th:href="${'/documents/'+ document.getName()}">See
942-
PDF Document</a>
940+
<a class="btn btn-light btn-sm ms-2"
941+
th:href="${'/documents/'+ document.getName()}" target="_blank">See
942+
Document PDF</a>
943943
</div>
944944
</div>
945945

dossierfacile-bo/src/main/resources/templates/bo/layout-bo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<head th:replace="~{include/head-bo :: head-bo}"></head>
77
</head>
8-
<body class="bg-body-secondary">
8+
<body class="bg-body-secondary container-fluid">
99
<header layout:fragment="header" class="fixed-header mb-4">
1010
<div th:replace="~{include/fixed-header-bo :: fixed-header-bo}">...</div>
1111
</header>

dossierfacile-bo/src/main/resources/templates/bo/process-file-layout.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
<head>
66
<head th:replace="~{include/process-file-layout-head :: head}"></head>
77
</head>
8-
<div layout:fragment="header">
9-
<div th:replace="~{include/fixed-header-bo :: fixed-header-bo}">...</div>
8+
<div class="container-fluid">
9+
<div layout:fragment="header">
10+
<div th:replace="~{include/fixed-header-bo :: fixed-header-bo}">...</div>
11+
</div>
1012
</div>
1113
<body class="bg-body-secondary">
1214
<div layout:fragment="content"></div>

dossierfacile-bo/src/main/resources/templates/bo/process-file.html

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -354,22 +354,23 @@ <h4>Lecture automatiques :</h4>
354354
th:value="${messageItem.getDocumentCategory()}" type="hidden"/>
355355
<input th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].documentId}"
356356
th:value="${messageItem.getDocumentId()}" type="hidden"/>
357-
<div class="margin-bottom">
358-
<div class="checkbox check-distance"
357+
<div class="margin-bottom mt-4">
358+
<div class="form-check mb-2 ms-2"
359359
th:each="itemDetail,j : ${messageItem.getItemDetailList()}">
360-
<label>
361-
<input style="padding-left: 10px;"
360+
<label class="form-check-label"
361+
>
362+
<input class="form-check-input"
362363
th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].itemDetailList[__${j.index}__].check}"
363364
type="checkbox"/>
364-
<input th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].itemDetailList[__${j.index}__].message}"
365-
th:value="${itemDetail.getMessage()}"
366-
type="hidden"/>
367-
<input th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].itemDetailList[__${j.index}__].idOptionMessage}"
368-
th:value="${itemDetail.getIdOptionMessage()}"
369-
type="hidden"/>
370-
<p class="span1" style="display:block;"
371-
th:utext="${itemDetail.getFormattedMessage()}">
372-
</p>
365+
<input
366+
th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].itemDetailList[__${j.index}__].message}"
367+
th:value="${itemDetail.getMessage()}"
368+
type="hidden"/>
369+
<input
370+
th:field="*{guarantorItems[__${k.index}__].messageItems[__${i.index}__].itemDetailList[__${j.index}__].idOptionMessage}"
371+
th:value="${itemDetail.getIdOptionMessage()}"
372+
type="hidden"/>
373+
<span th:utext="${itemDetail.getFormattedMessage()}"></span>
373374
</label>
374375
</div>
375376
</div>

0 commit comments

Comments
 (0)