summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers/network-controller.html
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-04-12 16:12:03 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-05-25 09:50:55 -0500
commit7ddc7274a98f518772efa96b93e9b331d7a61117 (patch)
tree8b0fc1a66c82fa0e3ab08883200b086f77997e4b /app/configuration/controllers/network-controller.html
parent7d6e62998fac2d905d17c1dbececb403a9ab8bdb (diff)
downloadphosphor-webui-7ddc7274a98f518772efa96b93e9b331d7a61117.tar.gz
phosphor-webui-7ddc7274a98f518772efa96b93e9b331d7a61117.zip
Set MAC address on "Save Settings"
Make a REST call to set the MAC address when the "Save Settings" button is pressed. Tested: Verified the MAC Address is set. Change-Id: I39f6d4688842b3453fd219795d07f819ba4ba481 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/network-controller.html')
-rw-r--r--app/configuration/controllers/network-controller.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/configuration/controllers/network-controller.html b/app/configuration/controllers/network-controller.html
index caa2913..6c494d0 100644
--- a/app/configuration/controllers/network-controller.html
+++ b/app/configuration/controllers/network-controller.html
@@ -81,9 +81,11 @@
</div>
</fieldset>
<div class="network-config__submit-wrapper">
- <button class="btn-primary inline">Save settings</button>
- <button class="btn-secondary inline">Cancel</button>
+ <button type="button" class="btn-primary inline" ng-click="setNetworkSettings()">Save settings</button>
+ <button type="button" class="btn-secondary inline">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> \ No newline at end of file
+</div>
OpenPOWER on IntegriCloud