Skip to content

Commit 24a2429

Browse files
authored
Merge pull request #2075 from RaspAP/fix/hostapd-control-modal
Hostapd Modal Fix
2 parents 0bbf52e + e6d9617 commit 24a2429

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

templates/hostapd.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,6 @@
3030
<i class="fas fa-sync-alt"></i>
3131
</button>
3232
<?php endif ?>
33-
<!-- Modal -->
34-
<div class="modal fade" id="hostapdModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
35-
<div class="modal-dialog" role="document">
36-
<div class="modal-content">
37-
<div class="modal-header">
38-
<div class="modal-title" id="ModalLabel"><i class="fas fa-sync-alt fa-spin me-2"></i><?php echo $msg ?></div>
39-
</div>
40-
<div class="modal-body">
41-
<div class="col-md-12 mb-3 mt-1"><?php echo _("Executing RaspAP service start") ?>...</div>
42-
<div class="progress" style="height: 20px;">
43-
<div class="progress-bar bg-info" role="progressbar" id="progressBar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="9"></div>
44-
</div>
45-
</div>
46-
<div class="modal-footer">
47-
<button type="button" class="btn btn-outline btn-primary" data-bs-dismiss="modal"><?php echo _("Close"); ?></button>
48-
</div>
49-
</div>
50-
</div>
51-
</div>
5233
<?php endif ?>
5334
<button type="button" class="btn btn-light btn-icon-split btn-sm service-status float-end">
5435
<span class="icon text-gray-600"><i class="fas fa-circle hostapd-led service-status-<?php echo $serviceStatus ?>"></i></span>
@@ -95,3 +76,22 @@
9576
</div><!-- /.col-lg-12 -->
9677
</div><!-- /.row -->
9778

79+
<!-- Modal service-start -->
80+
<div class="modal fade" id="hostapdModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
81+
<div class="modal-dialog" role="document">
82+
<div class="modal-content">
83+
<div class="modal-header">
84+
<div class="modal-title" id="ModalLabel"><i class="fas fa-sync-alt fa-spin me-2"></i><?php echo $msg ?></div>
85+
</div>
86+
<div class="modal-body">
87+
<div class="col-md-12 mb-3 mt-1"><?php echo _("Executing RaspAP service start") ?>...</div>
88+
<div class="progress" style="height: 20px;">
89+
<div class="progress-bar bg-info" role="progressbar" id="progressBar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="9"></div>
90+
</div>
91+
</div>
92+
<div class="modal-footer">
93+
<button type="button" class="btn btn-outline btn-primary" data-bs-dismiss="modal"><?php echo _("Close"); ?></button>
94+
</div>
95+
</div>
96+
</div>
97+
</div>

0 commit comments

Comments
 (0)