Connection Manager
[dlux.git] / src / app / connection_manager / discover.tpl.html
1 <h3>Discover a new Node (Switch)</h3>
2 <form role="form" name="discoverForm" ng-submit="do">
3     <div class="form-inline">
4         <div class="form-group">
5             <label for="nodeId" class="control-label">ID / Name</label>
6             <input type="text" class="form-control input-sm" id="nodeId" ng-model="nodeId" placeholder="Example: management-switch01" required>
7         </div>
8
9         <div class="form-group">
10             <label for="nodeAddress" class="control-label">Address</label>
11             <input type="text" class="form-control input-sm" id="nodeAddress" ng-model="nodeAddress" placeholder="Example: 10.0.0.1" required>
12         </div>
13
14         <div class="form-group">
15             <label for="nodePort" class="control-label">Port</label>
16             <input type="text" class="form-control input-sm" id="nodePort" ng-model="nodePort" required>
17         </div>
18     </div>
19     <button class="btn btn-primary btn-xs" ng-disabled="discoverForm.$invalid" ng-click="doDiscover()">Discover Node</button>
20 </form>
21
22 <br/>
23 <span ng-if="error" class="alert alert-danger">Error: {{error}}</span>