|
17 | 17 | <div class="max-w-md"> |
18 | 18 | <h1 class="text-2xl font-bold mb-2">${context.localize("bookings.conflict.resolution")}</h1> |
19 | 19 |
|
20 | | - <ul class="list bg-base-100 rounded-box shadow-md text-left"> |
21 | | - <li class="mb-4">${context.localize("bookings.conflict.recommend")}</li> |
| 20 | + <ul class="list bg-base-100 rounded-box shadow-md text-left p-8 mb-3"> |
| 21 | + <li>${context.localize("bookings.conflict.recommend")}</li> |
22 | 22 |
|
23 | 23 | @if (!bookingResult.contact().isEmpty()) |
24 | | - <h2>${context.localize("bookings.conflict.contact")}</h2> |
| 24 | + <h2 class="mt-4">${context.localize("bookings.conflict.contact")}</h2> |
| 25 | + <p class="text-gray-500 text-sm">${context.localize("bookings.conflict.contact.message")}</p> |
25 | 26 | @for (Booking booking : bookingResult.contact()) |
26 | 27 | <li class="list-row"> |
27 | 28 | <div class="text-xs uppercase font-semibold opacity-60 list-col-grow"> |
|
38 | 39 | @endif |
39 | 40 |
|
40 | 41 | @if (!bookingResult.override().isEmpty()) |
41 | | - <h2>${context.localize("bookings.conflict.delete")}</h2> |
| 42 | + <h2 class="mt-4">${context.localize("bookings.conflict.delete")}</h2> |
42 | 43 | <p class="text-gray-500 text-sm">${context.localize("bookings.conflict.delete.message")}</p> |
43 | 44 | @for (Booking booking : bookingResult.override()) |
44 | 45 | <li class="list-row"> |
|
56 | 57 | @endif |
57 | 58 |
|
58 | 59 | @if (!bookingResult.cooperate().isEmpty()) |
59 | | - <h2>${context.localize("bookings.conflict.cooperate")}</h2> |
| 60 | + <h2 class="mt-4">${context.localize("bookings.conflict.cooperate")}</h2> |
60 | 61 | <p class="text-gray-500 text-sm">${context.localize("bookings.conflict.cooperate.message")}</p> |
61 | 62 | @for (Booking booking : bookingResult.cooperate()) |
62 | 63 | <li class="list-row"> |
|
73 | 74 | @endfor |
74 | 75 | @endif |
75 | 76 | </ul> |
76 | | - @template.util.form(csrf = csrf, action = "/" + attemptedBooking.getRoom().getId() + "/bookings/new/conflict", method = POST, content = @` |
77 | | - <button class="btn btn-primary" type="submit" title="${context.localize("bookings.conflict.solve.tooltip")}">${context.localize("bookings.conflict.solve")}</button> |
78 | | - `) |
| 77 | + |
| 78 | + <div class="modal-action"> |
| 79 | + <a class="btn" href="/${attemptedBooking.getRoom().getId()}">${context.localize("generic.cancel")}</a> |
| 80 | + @template.util.form(csrf = csrf, action = "/" + attemptedBooking.getRoom().getId() + "/bookings/new/conflict", method = POST, content = @` |
| 81 | + <button class="btn btn-primary" type="submit" title="${context.localize("bookings.conflict.solve.tooltip")}">${context.localize("bookings.conflict.solve")}</button> |
| 82 | + `) |
| 83 | + </div> |
79 | 84 | </div> |
80 | 85 | </div> |
81 | 86 | `) |
0 commit comments