Skip to content

Commit

Permalink
"Bootstrap 5 Migration - Rebuilt diffs"
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRiese committed Jun 25, 2024
1 parent 763d38d commit 2e27cfb
Showing 1 changed file with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<script type="text/html" id="sub-group-fullform-ko-template">
<!-- ko if: isDummy -->
- <div style="margin-bottom: 10px; margin-right: 10px">
- <button class="btn btn-default add" href="#"
- <button type="button" class="btn btn-default add" href="#"
+ <div class="mb-1 mr-1">
+ <button class="btn btn-outline-primary add" href="#"
+ <button type="button" class="btn btn-outline-primary add" href="#"
data-bind="click: newRepeat, text: addChoice"
id="repeat-add-new">
<i class="fa fa-plus"></i>
Expand All @@ -28,27 +28,36 @@
clickable: collapsible
},
attr: collapsible ? {
@@ -48,7 +48,7 @@
data-bind="
@@ -49,7 +49,7 @@
html: ko.utils.unwrapObservable($data.caption_markdown) || caption(),
"></span>
- <button class="btn btn-danger del pull-right" href="#" aria-label="{% trans_html_attr 'Delete Repeat' %}"
+ <button class="btn btn-outline-danger del float-end" href="#" aria-label="{% trans_html_attr 'Delete Repeat' %}"
<button type="button"
- class="btn btn-danger del pull-right"
+ class="btn btn-outline-danger del float-end"
href="#"
aria-label="{% trans_html_attr 'Delete Repeat' %}"
data-bind="
visible: showDelete,
enabled: hasNoPendingAnswer(),
@@ -64,8 +64,8 @@
@@ -67,16 +67,16 @@
"></i>
</div>
<span class="webapp-markdown-output caption" data-bind="html: caption_markdown() || caption(), attr: {id: captionId()}"></span>
- <i class="fa fa-warning text-danger pull-right" data-bind="visible: hasError() && !showChildren()"></i>
- <button class="btn btn-danger del pull-right" href="#" aria-label="{% trans_html_attr 'Delete Repeat' %}"
+ <i class="fa fa-warning text-danger float-end" data-bind="visible: hasError() && !showChildren()"></i>
+ <button class="btn btn-outline-danger del float-end" href="#" aria-label="{% trans_html_attr 'Delete Repeat' %}"
data-bind="
<button type="button"
- class="btn btn-danger del pull-right"
+ class="btn btn-outline-danger del float-end"
href="#"
aria-label="{% trans_html_attr 'Delete Repeat' %}"
data-bind="
visible: showDelete,
enabled: hasNoPendingAnswer(),
@@ -86,7 +86,7 @@
click: deleteRepeat
- "><i class="fa fa-remove"></i></button>
+ "><i class="fa fa-remove"></i></button>
</div>
</div>
<span class="ix"></span>
@@ -92,7 +92,7 @@
afterRender: focusNewRepeat,
},
css: {
Expand Down

0 comments on commit 2e27cfb

Please sign in to comment.