Remove tabs from HTML files
From https://google.github.io/styleguide/htmlcssguide.html
"Indentation
Indent by 2 spaces at a time.
Don't use tabs or mix tabs and spaces for indentation."
Tested: Manual regression testing on a Witherspoon.
Change-Id: Ief7137dabc869b73b73f9947337fbb0abb5ca497
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/configuration/controllers/network-controller.html b/app/configuration/controllers/network-controller.html
index 39a708a..3b2567c 100644
--- a/app/configuration/controllers/network-controller.html
+++ b/app/configuration/controllers/network-controller.html
@@ -1,113 +1,113 @@
<loader loading="loading"></loader>
<div id="configuration-network">
- <div class="row column">
- <h1>BMC network settings</h1>
- </div>
- <form class="net-config__form" role="form" action="">
- <section class="row column">
- <div class="column small-12 page-header">
- <h2 class="inline h4">Common settings</h2>
- </div>
- <fieldset>
- <div class="column small-12 large-3">
- <label for="net-config__mac">Hostname</label>
- <input id="net-config__mac" type="text" ng-model="hostname"/>
- </div>
- <div class="column small-12 large-3">
- <label for="netinterface-select">Network interface</label>
- <div id="netinterface-select" class="dropdown__wrapper">
- <button type="button" class="dropdown__button" ng-click="networkDevice = !networkDevice">{{selectedInterface}}</button>
- <ul class="dropdown__list inline" ng-show="networkDevice">
- <li ng-repeat="interface_id in network.interface_ids">
- <button type="button" ng-click="selectInterface(interface_id);">{{interface_id}}</button>
- </li>
- </ul>
- </div>
- </div>
- <div class="column small-12 large-3">
- <label for="net-config__host">MAC address</label>
- <input id="net-config__host" type="text" ng-model="interface.MACAddress"/>
- </div>
- <div class="column small-12 large-3">
- <label for="net-config__domain">Default Gateway</label>
- <input id="net-config__domain" type="text" ng-model="defaultgateway"/>
- </div>
- </fieldset>
- </section>
- <section class="row column">
- <div class="column small-12 page-header">
- <h2 class="inline h4">IPV4 settings</h2>
- </div>
- <fieldset>
- <div class="row column">
- <label class="control-radio" for="dhcp-address">Obtain an IP address automatically using DHCP
- <input type="radio" name="ip-address" id="dhcp-address" ng-checked="true" ng-model="interface.DHCPEnabled" ng-value="true">
- <span class="control__indicator control__indicator-on"></span>
- </label>
- </div>
- <div class="row column">
- <label class="control-radio" for="static-ip-address">Assign a static IP address
- <input type="radio" name="ip-address" id="static-ip-address" ng-model="interface.DHCPEnabled" ng-value="false"/>
- <span class="control__indicator control__indicator-on"></span>
- </label>
- </div>
- <fieldset class="net-config__static-ip-wrap" ng-repeat="ipv4 in interface.ipv4.values">
- <div class="column small-12 large-4">
- <label for="net-config__ipv4-address" class="inline">IPV4 address</label>
- <input id="net-config__ipv4-address" type="text" ng-disabled="interface.DHCPEnabled" ng-model="ipv4.Address"/>
- </div>
- <div class="column small-12 large-4">
- <label for="net-config__subnet" class="inline">Gateway</label>
- <input id="net-config__subnet" type="text" ng-disabled="interface.DHCPEnabled" value="" ng-model="ipv4.Gateway"/>
- </div>
- <!-- This netmask prefix length max only works with IPV4 -->
- <div class="column small-12 large-4">
- <label for="net-config__default-gateway" class="inline">Netmask Prefix Length</label>
- <input id="net-config__default-gateway" type="number" min="1" max="32" step="1" ng-disabled="interface.DHCPEnabled" ng-model="ipv4.PrefixLength"/>
- </div>
- </fieldset>
- </fieldset>
- </section>
- <section class="row column">
- <div class="column small-12 page-header">
- <h2 class="inline h4">DNS settings</h2>
- </div>
- <fieldset>
- <!-- Call Nameservers "DNS Servers" on the GUI -->
- <fieldset class="net-config__static-ip-wrap" ng-repeat="dns in interface.Nameservers track by $index">
- <div class="column small-12">
- <label for="net-config__prime-dns{{$index+1}}">DNS Server {{$index+1}}</label>
- <input id="net-config__prime-dns{{$index+1}}" class="network-input column small-6 large-4 inline" type="text" ng-model="dns" ng-blur="interface.Nameservers[$index] = dns" set-focus-on-new-input//>
- <button class="dns__server-remove inline" ng-click="removeDNSField($index)">Remove</button>
- </div>
- </fieldset>
- <div class="column small-12">
- <button type="button" class="btn-primary inline dns_add" ng-click="addDNSField()">Add new DNS server</button>
- </div>
- </fieldset>
- <div class="network-config__submit-wrapper">
- <button type="button" class="btn-primary inline" ng-click="confirm_settings=true;">Save settings</button>
- <button type="button" class="btn-secondary inline" ng-click="refresh()">Cancel</button>
- </div>
- <p class="success-msg set_network_success" ng-show="set_network_success" role="alert">Success! Network settings changed!</p>
- <p class="set_network_error error-msg" ng-show="set_network_error" role="alert">Error setting {{set_network_error}}!</p>
- </section>
- </form>
+ <div class="row column">
+ <h1>BMC network settings</h1>
+ </div>
+ <form class="net-config__form" role="form" action="">
+ <section class="row column">
+ <div class="column small-12 page-header">
+ <h2 class="inline h4">Common settings</h2>
+ </div>
+ <fieldset>
+ <div class="column small-12 large-3">
+ <label for="net-config__mac">Hostname</label>
+ <input id="net-config__mac" type="text" ng-model="hostname"/>
+ </div>
+ <div class="column small-12 large-3">
+ <label for="netinterface-select">Network interface</label>
+ <div id="netinterface-select" class="dropdown__wrapper">
+ <button type="button" class="dropdown__button" ng-click="networkDevice = !networkDevice">{{selectedInterface}}</button>
+ <ul class="dropdown__list inline" ng-show="networkDevice">
+ <li ng-repeat="interface_id in network.interface_ids">
+ <button type="button" ng-click="selectInterface(interface_id);">{{interface_id}}</button>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="column small-12 large-3">
+ <label for="net-config__host">MAC address</label>
+ <input id="net-config__host" type="text" ng-model="interface.MACAddress"/>
+ </div>
+ <div class="column small-12 large-3">
+ <label for="net-config__domain">Default Gateway</label>
+ <input id="net-config__domain" type="text" ng-model="defaultgateway"/>
+ </div>
+ </fieldset>
+ </section>
+ <section class="row column">
+ <div class="column small-12 page-header">
+ <h2 class="inline h4">IPV4 settings</h2>
+ </div>
+ <fieldset>
+ <div class="row column">
+ <label class="control-radio" for="dhcp-address">Obtain an IP address automatically using DHCP
+ <input type="radio" name="ip-address" id="dhcp-address" ng-checked="true" ng-model="interface.DHCPEnabled" ng-value="true">
+ <span class="control__indicator control__indicator-on"></span>
+ </label>
+ </div>
+ <div class="row column">
+ <label class="control-radio" for="static-ip-address">Assign a static IP address
+ <input type="radio" name="ip-address" id="static-ip-address" ng-model="interface.DHCPEnabled" ng-value="false"/>
+ <span class="control__indicator control__indicator-on"></span>
+ </label>
+ </div>
+ <fieldset class="net-config__static-ip-wrap" ng-repeat="ipv4 in interface.ipv4.values">
+ <div class="column small-12 large-4">
+ <label for="net-config__ipv4-address" class="inline">IPV4 address</label>
+ <input id="net-config__ipv4-address" type="text" ng-disabled="interface.DHCPEnabled" ng-model="ipv4.Address"/>
+ </div>
+ <div class="column small-12 large-4">
+ <label for="net-config__subnet" class="inline">Gateway</label>
+ <input id="net-config__subnet" type="text" ng-disabled="interface.DHCPEnabled" value="" ng-model="ipv4.Gateway"/>
+ </div>
+ <!-- This netmask prefix length max only works with IPV4 -->
+ <div class="column small-12 large-4">
+ <label for="net-config__default-gateway" class="inline">Netmask Prefix Length</label>
+ <input id="net-config__default-gateway" type="number" min="1" max="32" step="1" ng-disabled="interface.DHCPEnabled" ng-model="ipv4.PrefixLength"/>
+ </div>
+ </fieldset>
+ </fieldset>
+ </section>
+ <section class="row column">
+ <div class="column small-12 page-header">
+ <h2 class="inline h4">DNS settings</h2>
+ </div>
+ <fieldset>
+ <!-- Call Nameservers "DNS Servers" on the GUI -->
+ <fieldset class="net-config__static-ip-wrap" ng-repeat="dns in interface.Nameservers track by $index">
+ <div class="column small-12">
+ <label for="net-config__prime-dns{{$index+1}}">DNS Server {{$index+1}}</label>
+ <input id="net-config__prime-dns{{$index+1}}" class="network-input column small-6 large-4 inline" type="text" ng-model="dns" ng-blur="interface.Nameservers[$index] = dns" set-focus-on-new-input//>
+ <button class="dns__server-remove inline" ng-click="removeDNSField($index)">Remove</button>
+ </div>
+ </fieldset>
+ <div class="column small-12">
+ <button type="button" class="btn-primary inline dns_add" ng-click="addDNSField()">Add new DNS server</button>
+ </div>
+ </fieldset>
+ <div class="network-config__submit-wrapper">
+ <button type="button" class="btn-primary inline" ng-click="confirm_settings=true;">Save settings</button>
+ <button type="button" class="btn-secondary inline" ng-click="refresh()">Cancel</button>
+ </div>
+ <p class="success-msg set_network_success" ng-show="set_network_success" role="alert">Success! Network settings changed!</p>
+ <p class="set_network_error error-msg" ng-show="set_network_error" role="alert">Error setting {{set_network_error}}!</p>
+ </section>
+ </form>
</div>
<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': confirm_settings}">
- <div class="modal__tftp-unreachable" role="document">
- <div class="screen-reader-offscreen modal-description">Change network settings</div><!-- accessibility only; used for screen readers -->
- <div class="page-header ">
- <span class="icon icon__warning inline"><span class="accessible-text" role="alert">Warning</span></span>
- <h1 class="modal-title h4 inline">Change network settings</h1>
- </div>
- <div class="modal__content">
- <p>Changing network settings may cause the system to become unavailable (e.g. changing the BMC IP address).
- Proceed with caution and make note of any new settings that may affect connectivity.</p>
- </div>
- <div class="modal__button-wrapper">
- <button class="inline btn-secondary" ng-click="confirm_settings=false;">Cancel</button>
- <button class="inline btn-primary" ng-click="setNetworkSettings()">Continue</button>
- </div>
- </div>
+ <div class="modal__tftp-unreachable" role="document">
+ <div class="screen-reader-offscreen modal-description">Change network settings</div><!-- accessibility only; used for screen readers -->
+ <div class="page-header ">
+ <span class="icon icon__warning inline"><span class="accessible-text" role="alert">Warning</span></span>
+ <h1 class="modal-title h4 inline">Change network settings</h1>
+ </div>
+ <div class="modal__content">
+ <p>Changing network settings may cause the system to become unavailable (e.g. changing the BMC IP address).
+ Proceed with caution and make note of any new settings that may affect connectivity.</p>
+ </div>
+ <div class="modal__button-wrapper">
+ <button class="inline btn-secondary" ng-click="confirm_settings=false;">Cancel</button>
+ <button class="inline btn-primary" ng-click="setNetworkSettings()">Continue</button>
+ </div>
+ </div>
</section>