Skip to content
Snippets Groups Projects
interfaces.html 732 B
<!doctype html>
<html ng-app="inventoryApp">
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.5/angular.min.js"></script>
    <script src="interfaces.js"></script>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>

    <div ng-controller="interfaces">
      <h2>Interfaces</h2>
      <div>
      <select
              ng-options="r for r in routers"
              ng-change="update_interfaces()"
              ng-model="router"></select>
      <select
              ng-options="i for i in interfaces"
              ng-change="update_status()"
              ng-model="interface">
      </select>
      </div>

      <div>
        STATUS: {{status}}
      </div>
    </div>
  </body>
</html>