mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
removed unused directive attributes
This commit is contained in:
parent
ccceb36e3a
commit
b44e114316
5 changed files with 8 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<div class="form-group" class="col-md-6">
|
||||
<div class="col-md-5">
|
||||
<label class="{{labelClass}}">{{label|translate}}</label>
|
||||
<label class="detail-strong-input">{{label|translate}}</label>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<div class="col-sm-2 no-side-padding col-sm-offset-1">
|
||||
|
|
|
|||
|
|
@ -5,10 +5,8 @@ $juci.module("core")
|
|||
templateUrl: plugin_root + "/widgets/luci.input.ipaddress.html",
|
||||
restrict: 'E',
|
||||
scope: {
|
||||
id: "@",
|
||||
label: "@",
|
||||
ngModel: "=",
|
||||
labelClass: "@"
|
||||
ngModel: "="
|
||||
},
|
||||
require: "^ngModel",
|
||||
link: function (scope, element, attrs, ctrl) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="radio radio-info">
|
||||
<input id="{{id}}" type="radio" ng-model="ngModel.value" value="{{value}}"/>
|
||||
<label for="{{id}}" class="{{labelClass}}" translate>{{label}}</label>
|
||||
<input type="radio" ng-model="ngModel.value" value="{{value}}"/>
|
||||
<label class="detail-strong-input" translate>{{label}}</label>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ $juci.module("core")
|
|||
scope: {
|
||||
id: "=",
|
||||
label: "=",
|
||||
labelClass: "=",
|
||||
value: "=",
|
||||
ngModel: "=",
|
||||
inline: "="
|
||||
|
|
|
|||
|
|
@ -6,20 +6,20 @@
|
|||
<luci-config-lines>
|
||||
<luci-config-line title="{{'DNS configuration'|translate}}">
|
||||
<div class="col-md-6">
|
||||
<luci-input-radio id="autoDns" value="0" ng-model="wan.peerdns" label="'automatically'" label-class="detail-strong-input" inline="true" />
|
||||
<luci-input-radio ng-model="wan.peerdns" label="'automatically'" value="0" />
|
||||
</div>
|
||||
<div class="col-md-5 col-lg-offset-1">
|
||||
<luci-input-radio id="manualDns" value="1" ng-model="wan.peerdns" label="'manually'" label-class="detail-strong-input" inline="true"/>
|
||||
<luci-input-radio ng-model="wan.peerdns" label="'manually'" value="1" />
|
||||
</div>
|
||||
</luci-config-line>
|
||||
<div ng-show="wan.peerdns.value == 1">
|
||||
<br/>
|
||||
<div class="col-md-12">
|
||||
<luci-input-ip-address id="firstDNSAddress" ng-model="dns.primary" label="Domain Name Server (DNS) Address" label-class="detail-strong-input" />
|
||||
<luci-input-ip-address ng-model="dns.primary" label="Domain Name Server (DNS) Address" />
|
||||
</div>
|
||||
<hr class="col-md-12"/>
|
||||
<div class="col-md-12">
|
||||
<luci-input-ip-address id="secondDNSAddress" ng-model="dns.secondary" label="Secondary DNS Address (optional)" label-class="detail-strong-input" />
|
||||
<luci-input-ip-address ng-model="dns.secondary" label="Secondary DNS Address (optional)" />
|
||||
</div>
|
||||
</div>
|
||||
</luci-config-lines>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue