|
12 | 12 | <button type="button" class="btn-close" onclick="hideCollaboratorsModal()" aria-label="Close"></button> |
13 | 13 | </div> |
14 | 14 | <div class="modal-body"> |
| 15 | + @if (showTwoColumns) |
| 16 | + { |
| 17 | + <div class="d-block d-md-none row"> |
| 18 | + <div class="d-flex flex-row justify-content-between btn-group"> |
| 19 | + <button type="button" onclick="addCollaboratorToVehicles()" class="btn btn-primary align-self-center">@translator.Translate(userLanguage, "Add Collaborator")</button> |
| 20 | + <button type="button" onclick="copySelectedPartialCollaborators()" class="btn btn-warning align-self-center"><i class="bi bi-arrow-left me-2"></i>@translator.Translate(userLanguage, "Move Selected")</button> |
| 21 | + <button type="button" onclick="removeSelectedCollaborators()" class="btn btn-danger align-self-center"><i class="bi bi-arrow-left me-2"></i>@translator.Translate(userLanguage, "Remove Selected")<i class="bi bi-arrow-right ms-2"></i></button> |
| 22 | + </div> |
| 23 | + </div> |
| 24 | + } |
15 | 25 | <div class="row"> |
16 | | - <div class="@(showTwoColumns ? "col-4" : "col-12")"> |
| 26 | + <div class="@(showTwoColumns ? "col-6 col-md-4" : "col-12")"> |
17 | 27 | <div class="d-flex justify-content-between"> |
18 | 28 | <span class="lead">@translator.Translate(userLanguage, "Common Collaborators")</span> |
19 | 29 | @if (showTwoColumns) |
|
60 | 70 | </div> |
61 | 71 | @if (showTwoColumns) |
62 | 72 | { |
63 | | - <div class="col-4"> |
| 73 | + <div class="d-none d-md-block col-md-4"> |
64 | 74 | <div class="d-flex flex-column"> |
65 | 75 | <button type="button" onclick="addCollaboratorToVehicles()" class="btn btn-primary align-self-center">@translator.Translate(userLanguage, "Add Collaborator")</button> |
66 | 76 | <button type="button" onclick="copySelectedPartialCollaborators()" class="mt-2 btn btn-warning align-self-center"><i class="bi bi-arrow-left me-2"></i>@translator.Translate(userLanguage, "Move Selected")</button> |
67 | 77 | <button type="button" onclick="removeSelectedCollaborators()" class="mt-2 btn btn-danger align-self-center"><i class="bi bi-arrow-left me-2"></i>@translator.Translate(userLanguage, "Remove Selected")<i class="bi bi-arrow-right ms-2"></i></button> |
68 | 78 | </div> |
69 | 79 | </div> |
70 | | - <div class="col-4"> |
| 80 | + <div class="col-6 col-md-4"> |
71 | 81 | <div class="d-flex justify-content-between"> |
72 | 82 | <span class="lead">@translator.Translate(userLanguage, "Partial Collaborators")</span> |
73 | 83 | <div> |
|
0 commit comments