iopsys-feed/luciexpress/htdocs/plugins/internet/widgets/uci.network.interface.edit.html
2015-06-15 22:05:17 +02:00

32 lines
1.3 KiB
HTML

<div>
<div class="panel panel-default">
<div class="panel-heading">
<div class="btn-group pull-right">
<span class="btn " ng-click="expanded = !expanded">
<i class="fa fa-caret-down fa-2x" ng-show="expanded"></i>
<i class="fa fa-caret-left fa-2x" ng-hide="expanded"></i>
</span>
</div>
<h3 class="panel-title" style="font-size: 1.5em; padding-top: 0.4em; font-weight: bold; font-family: 'vodafont';">
{{interface[".name"]}}
</h3>
<div style="clear: both;"></div>
</div>
<div class="panel-body " ng-show="expanded" >
<luci-config-lines>
<!--<luci-config-line title="{{'Hostname'|translate}}">
<input class="form-control" ng-model="interface.hostname.value" ></input>
</luci-config-line>-->
<luci-config-line title="{{'DHCP'|translate}}">
<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>
</luci-config-line>
<luci-config-line title="{{'Netmask'|translate}}" ng-show="dhcp.ignore.value">
<input class="form-control" ng-model="interface.netmask.value" ></input>
</luci-config-line>
</luci-config-lines>
</div>
</div>
</div>