mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 19:48:45 +01:00
Updated network settings
This commit is contained in:
parent
28358865f3
commit
94cb86c6d7
4 changed files with 5 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<juci-theme-picker></juci-theme-picker>
|
||||
<!--<juci-theme-picker></juci-theme-picker>-->
|
||||
</div>
|
||||
<div id="info">
|
||||
WAN IP Address: {{wanip||'Not connected'}} | Firmware version: {{firmware}}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ UCI.network.$registerSectionType("interface", {
|
|||
"is_lan": { dvalue: false, type: Boolean },
|
||||
"ifname": { dvalue: '', type: String },
|
||||
"proto": { dvalue: 'dhcp', type: String },
|
||||
"ipaddr": { dvalue: '127.0.0.1', type: String },
|
||||
"netmask": { dvalue: '255.0.0.0', type: String },
|
||||
"ipaddr": { dvalue: '', type: String },
|
||||
"netmask": { dvalue: '', type: String },
|
||||
"type": { dvalue: '', type: String },
|
||||
"ip6assign": { dvalue: 60, type: Number },
|
||||
"bridge_instance": { dvalue: false, type: Boolean },
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
<div ng-controller="SettingsNetworkCtrl">
|
||||
<luci-config-heading>{{ 'Network Settings' | translate }}</luci-config-heading>
|
||||
<luci-config-info>{{ 'settings.network.info' | translate }}</luci-config-info>
|
||||
<p translate ng-hide="network">Missing uci config boardpanel.</p>
|
||||
<luci-config-section>
|
||||
<div ng-repeat="interface in interfaces">
|
||||
<uci-network-interface-edit ng-model="interface"></uci-network-interface-edit>
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
<switch ng-model="dhcp.ignore.value" class="green" inverted></switch>
|
||||
</luci-config-line>
|
||||
<luci-config-line title="{{'IP Address'|translate}}" ng-show="dhcp.ignore.value">
|
||||
<input class="form-control" ng-model="interface.ipaddr.value" ></input>
|
||||
<input class="form-control" ng-model="interface.ipaddr.value" placeholder="{{'Static IP Address'|translate}}"></input>
|
||||
</luci-config-line>
|
||||
<luci-config-line title="{{'Netmask'|translate}}" ng-show="dhcp.ignore.value">
|
||||
<input class="form-control" ng-model="interface.netmask.value" ></input>
|
||||
<input class="form-control" ng-model="interface.netmask.value" placeholder="{{'Network Mask'|translate}}"></input>
|
||||
</luci-config-line>
|
||||
</luci-config-lines>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue