mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Updated wps
This commit is contained in:
parent
9e53cac16f
commit
0a144f6220
1 changed files with 13 additions and 11 deletions
|
|
@ -10,10 +10,10 @@
|
||||||
</luci-config-line>
|
</luci-config-line>
|
||||||
</luci-config-lines>
|
</luci-config-lines>
|
||||||
</luci-config-section>
|
</luci-config-section>
|
||||||
<luci-config-section ng-show="progress != 0">
|
<luci-config-section ng-show="progress == 1">
|
||||||
<p translate>wifi.wps.paired.info</p>
|
<p translate>wifi.wps.in.progress</p>
|
||||||
</luci-config-section>
|
</luci-config-section>
|
||||||
<luci-config-section ng-show="wireless.status.wps.value && progress == 0">
|
<luci-config-section ng-show="wireless.status.wps.value && progress != 1">
|
||||||
<luci-config-lines ng-repeat="interface in wireless['@wifi-iface']">
|
<luci-config-lines ng-repeat="interface in wireless['@wifi-iface']">
|
||||||
<luci-config-line title="{{'Enable WPS on '|translate}} {{interface.ssid.value}}">
|
<luci-config-line title="{{'Enable WPS on '|translate}} {{interface.ssid.value}}">
|
||||||
<switch id="enabled" name="enabled" ng-model="interface.wps_pbc.value" class="green" ng-change="save()" ></switch>
|
<switch id="enabled" name="enabled" ng-model="interface.wps_pbc.value" class="green" ng-change="save()" ></switch>
|
||||||
|
|
@ -49,22 +49,24 @@
|
||||||
<p translate>wifi.wps.otherpin.info</p>
|
<p translate>wifi.wps.otherpin.info</p>
|
||||||
<luci-config-lines>
|
<luci-config-lines>
|
||||||
<luci-config-line title="{{'Enter your device PIN'|translate}}">
|
<luci-config-line title="{{'Enter your device PIN'|translate}}">
|
||||||
<input type="text" class="form-control input-lg" ng-model="data.userPIN" />
|
<input type="text" class="form-control input-lg" ng-model="data.userPIN" placeholder="{{'Enter your PIN here'|translate}}"/>
|
||||||
</luci-config-line>
|
</luci-config-line>
|
||||||
<luci-config-line title="{{'Pair (within 2 minutes)'|translate}}">
|
<luci-config-line title="{{'Pair (within 2 minutes)'|translate}}">
|
||||||
<button ng-show="progress == 0" class="btn btn-lg btn-default" ng-click="onPairUserPIN()" translate>Pair</button>
|
<button class="btn btn-lg btn-default" ng-click="onPairUserPIN()" translate>Pair</button>
|
||||||
</luci-config-line>
|
</luci-config-line>
|
||||||
</luci-config-lines>
|
</luci-config-lines>
|
||||||
</luci-config-section>
|
</luci-config-section>
|
||||||
</luci-config>
|
</luci-config>
|
||||||
<modal title="{{'Attempting to Pair'|translate}}" ng-show="progress != 0 && progress != 2">
|
<modal title="{{'Attempting to Pair'|translate}}" ng-show="progress != 0 && progress != 2">
|
||||||
<div ng-show="progress != 0" >
|
<div style="text-align: center;">
|
||||||
<i class="fa fa-spinner fa-spin fa-3x"/>
|
<div ng-show="progress != 0" >
|
||||||
<p>{{timeRemaining}} <span translate>seconds remaining</span></p>
|
<i class="fa fa-spinner fa-spin fa-3x"/>
|
||||||
|
<!--<p>{{timeRemaining}} <span translate>seconds remaining</span></p>-->
|
||||||
|
</div>
|
||||||
|
<p ng-show="progress == 0" translate>wifi.wpspairmodal.progressinfo.0</p>
|
||||||
|
<p ng-show="progress == 1" translate>wifi.wpspairmodal.progressinfo.1</p>
|
||||||
|
<p ng-show="progress == 2" translate>wifi.wpspairmodal.progressinfo.2</p>
|
||||||
</div>
|
</div>
|
||||||
<p ng-show="progress == 0" translate>wifi.wpspairmodal.progressinfo.0</p>
|
|
||||||
<p ng-show="progress == 1" translate>wifi.wpspairmodal.progressinfo.1</p>
|
|
||||||
<p ng-show="progress == 2" translate>wifi.wpspairmodal.progressinfo.2</p>
|
|
||||||
</modal>
|
</modal>
|
||||||
</div>
|
</div>
|
||||||
</luci-layout-with-sidebar>
|
</luci-layout-with-sidebar>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue