Clean up HTML
[dlux.git] / src / app / node / 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         <div class="form-group">
9             <label for="nodeAddress" class="control-label">Address</label>
10             <input type="text" class="form-control input-sm" id="nodeAddress" ng-model="nodeAddress" placeholder="Example: 10.0.0.1" required>
11         </div>
12
13         <div class="form-group">
14             <label for="nodePort" class="control-label">Port</label>
15             <input type="text" class="form-control input-sm" id="nodePort" ng-model="nodePort" required>
16         </div>
17     </div>
18     <button class="btn btn-primary btn-xs" ng-disabled="discoverForm.$invalid" ng-click="doDiscover()">Discover Node</button>
19 </form>
20
21 <br/>
22 <span ng-if="error" class="alert alert-danger">Error: {{error}}</span>