Skip to content

Commit 5307ef9

Browse files
committed
Fix up BS5 layout.
1 parent e095f4a commit 5307ef9

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

templates/Migrations/drift_check.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function formatColumnType(array $columnData): string {
7878
<?php if ($conn === $connectionName) { ?>
7979
<span class="btn btn-primary btn-sm"><?= h($conn) ?></span>
8080
<?php } else { ?>
81-
<?= $this->Html->link($conn, ['?' => ['connection' => $conn]], ['class' => 'btn btn-default btn-sm']) ?>
81+
<?= $this->Html->link($conn, ['?' => ['connection' => $conn]], ['class' => 'btn btn-secondary btn-sm']) ?>
8282
<?php } ?>
8383
<?php } ?>
8484
</p>
@@ -320,7 +320,7 @@ function formatColumnType(array $columnData): string {
320320

321321
<hr>
322322
<p>
323-
<?= $this->Html->link('Run Again', ['?' => ['connection' => $connectionName]], ['class' => 'btn btn-default']) ?>
323+
<?= $this->Html->link('Run Again', ['?' => ['connection' => $connectionName]], ['class' => 'btn btn-secondary']) ?>
324324
</p>
325325
<?php } ?>
326326
</div>

templates/element/test_cases.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@
8787
<div class="modal-dialog modal-lg">
8888
<div class="modal-content">
8989
<div class="modal-header">
90-
<button type="button" class="close" data-dismiss="modal" data-bs-dismiss="modal" aria-label="Close">
91-
<span aria-hidden="true">&times;</span></button>
9290
<h4 class="modal-title">Running test suite</h4>
91+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
9392
</div>
9493
<div class="modal-body">
9594
<p>&hellip;</p>
@@ -101,7 +100,7 @@
101100
<?php if (false) { ?>
102101
<button type="button" class="btn btn-primary pull-left" style="display: none"><i class="fa fa-repeat"></i> Re-Run</button>
103102
<?php } ?>
104-
<button type="button" class="btn btn-secondary" data-dismiss="modal" data-bs-dismiss="modal">Close</button>
103+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
105104
</div>
106105
</div>
107106
</div>

templates/layout/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<div class="container">
9292
<!-- Flash Messages -->
9393
<div class="flash-messages">
94-
<?php echo $this->Flash->render(); ?>
94+
<?php echo $this->Flash->render('flash', ['plugin' => 'TestHelper']); ?>
9595
</div>
9696

9797
<!-- Page Content -->

0 commit comments

Comments
 (0)