Commit 87c7b63c by Bence Dányi

firewall_gui: domain details template

parent c5597513
<form class="form-horizontal">
<div class="span5">
<div class="control-group">
<label class="control-label" for="ID">ID</label>
<div class="controls">
<input class="input-mini" type="text" id="ID" placeholder="ID" value="{{entity.id}}" disabled="disabled">
</div>
</div>
<div class="control-group">
<label class="control-label" for="created_at">Created at</label>
<div class="controls">
<input class="input" type="text" id="created_at" ng-model="entity.created_at" disabled="disabled">
</div>
</div>
<div class="control-group">
<label class="control-label" for="modified_at">Modified at</label>
<div class="controls">
<input class="input" type="text" id="modified_at" ng-model="entity.modified_at" disabled="disabled">
</div>
</div>
<div class="control-group" ng-class="hasError('name')">
<label class="control-label" for="name">Name</label>
<div class="controls">
<input type="text" id="name" ng-model="entity.name" />
<span class="help-inline" ng-bind="getError('name')"></span>
</div>
</div>
</div>
<div class="span5">
<div class="control-group" ng-class="hasError('owner')">
<label class="control-label" for="owner">Owner</label>
<div class="controls">
<input type="text" class="owner" autocomplete="off" id="owner" ng-model="entity.owner.name" />
<span class="help-inline" ng-bind="getError('owner')"></span>
</div>
</div>
<div class="control-group" ng-class="hasError('ttl')">
<label class="control-label" for="ttl">TTL</label>
<div class="controls">
<input type="text" autocomplete="off" id="ttl" ng-model="entity.ttl" />
<span class="help-inline" ng-bind="getError('ttl')"></span>
</div>
</div>
<div class="control-group" ng-class="hasError('description')">
<label class="control-label" for="description">Description</label>
<div class="controls">
<textarea rows="2" id="description" ng-model="entity.description">
</textarea>
<span class="help-inline" ng-bind="getError('description')"></span>
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn" ng-click="save()">Save</button>
</div>
</div>
</div>
</form>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment