1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/templates/configure_client.php

55 lines
2.4 KiB
PHP
Raw Normal View History

2021-02-02 17:55:46 +01:00
<div class="row" id="wifiClientContent">
2019-08-19 00:48:37 +02:00
<div class="col-lg-12">
2019-10-13 00:04:27 +02:00
<div class="card">
2019-11-01 10:08:49 +01:00
<div class="card-header">
<div class="row">
<div class="col">
2020-02-29 18:07:24 +01:00
<i class="fas fa-wifi mr-2"></i><?php echo _("WiFi client"); ?>
2019-11-01 10:08:49 +01:00
</div>
<div class="col">
<button class="btn btn-light btn-icon-split btn-sm service-status float-right">
<span class="icon"><i class="fas fa-circle service-status-<?php echo $ifaceStatus ?>"></i></span>
<span class="text service-status"><?php echo strtolower($clientInterface) .' '. _($ifaceStatus) ?></span>
</button>
</div>
2019-11-01 10:08:49 +01:00
</div><!-- /.row -->
</div><!-- /.card-header -->
2019-10-13 00:04:27 +02:00
<div class="card-body">
<?php $status->showMessages(); ?>
<div class="row">
<div class="col">
<h4 class="mb-2"><?php echo _("Client settings"); ?></h4>
</div>
2019-10-15 22:07:44 +02:00
<div class="col-xs mr-3 mb-3">
<button type="button" class="btn btn-info btn-block float-right js-reload-wifi-stations"><?php echo _("Rescan"); ?></button>
</div>
2019-08-19 00:48:37 +02:00
</div>
<form method="POST" action="wpa_conf" name="wpa_conf_form" class="row">
<?php echo CSRFTokenFieldTag() ?>
2019-08-19 00:48:37 +02:00
<input type="hidden" name="client_settings" ?>
2020-09-23 20:45:21 +02:00
<div class="row js-wifi-stations w-100 loading-spinner"></div>
2019-08-19 00:48:37 +02:00
</form>
2019-10-13 00:04:27 +02:00
</div><!-- ./ card-body -->
<div class="card-footer"><?php echo _("<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP"); ?></div>
</div><!-- /.card -->
2019-08-19 00:48:37 +02:00
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->
2021-02-02 17:55:46 +01:00
<!-- Modal -->
<div class="modal fade" id="configureClientModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title" id="ModalLabel"><i class="fas fa-sync-alt mr-2"></i><?php echo _("Configuring WiFi Client"); ?></div>
</div>
<div class="modal-body">
<div class="col-md-12 mb-3 mt-1"><?php echo _("Configuring Wifi Client Interface..."); ?></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline btn-primary" data-dismiss="modal"><?php echo _("Close"); ?></button>
</div>
</div>
</div>
</div>