Commit a970d29f by Bence Dányi

firewall_gui: model bindings added

parent 4b859f67
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="targetName">Target</label> <label class="control-label" for="targetName">Target</label>
<div class="controls"> <div class="controls">
<input type="text" data-provide="typeahead" autocomplete="off" id="targetName" value="{{rule.target.name}}" /> <input type="text" data-provide="typeahead" autocomplete="off" id="targetName" ng-model="rule.target.name" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="owner">Owner</label> <label class="control-label" for="owner">Owner</label>
<div class="controls"> <div class="controls">
<input type="text" autocomplete="off" id="owner" value="{{rule.owner.name}}" /> <input type="text" autocomplete="off" id="owner" ng-model="rule.owner.name" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
...@@ -65,9 +65,9 @@ ...@@ -65,9 +65,9 @@
<div class="control-group"> <div class="control-group">
<div class="controls"> <div class="controls">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox"> Remember me <input type="checkbox" ng-model="rule.accept"> Accept
</label> </label>
<button type="submit" class="btn">Sign in</button>
</div> </div>
</div> </div>
<button type="submit" class="btn">Sign in</button>
</form> </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