.container h1 Web .panel.panel-default .panel-heading All a.pull-right.btn.btn-default.btn-xs(ng-click="isAdding=true") span.glyphicon.glyphicon-plus .panel-body(ng-if="isAdding") form(ng-submit="add()",name="addform") .form-group label(for="subdomain") Subdomain .input-group input.form-control(id="subdomain",name="subdomain",ng-model="obj.subdomain") span.input-group-addon .{{domain.fqdn}} .form-group label input(type="checkbox",ng-model="obj.php") | PHP .form-group label input(type="checkbox",ng-model="obj.ssl") | SSL .form-group label input(type="checkbox",ng-model="obj.sslredirect") | SSL-Redirect .form-group label(for="redirect") Redirect input.form-control(id="redirect",name="redirect",ng-model="obj.redirect") .form-group label(for="proxy") Proxy input.form-control(id="proxy",name="proxy",ng-model="obj.proxy") button.btn.btn-primary(type="submit") span.glyphicon.glyphicon-floppy-disk | Save table.table(ng-table="tableParams") tr(ng-hide='group.$hideRows',ng-repeat="item in $data") td(data-title="'Domain'") span(ng-if="!item.isEditing") span(ng-if="item.subdomain != ''") {{item.subdomain}}. | {{item.domain.fqdn}} h4(ng-if="item.isEditing") {{item.subdomain}}.{{item.domain.fqdn}} form(name="myform",ng-if="item.isEditing") .form-group label(for="subdomain") Subdomain .input-group input.form-control(id="subdomain",name="subdomain",ng-model="item.subdomain") span.input-group-addon .{{item.domain.fqdn}} .form-group label input(type="checkbox",ng-model="item.php") | PHP .form-group label input(type="checkbox",ng-model="item.ssl") | SSL .form-group label input(type="checkbox",ng-model="item.sslredirect") | SSL-Redirect .form-group label(for="redirect") Redirect input.form-control(id="redirect",name="redirect",ng-model="item.redirect") .form-group label(for="proxy") Proxy input.form-control(id="proxy",name="proxy",ng-model="item.proxy") button.btn.btn-primary(type="submit",ng-click="edit(item)") span.glyphicon.glyphicon-floppy-disk | Save td(data-title="'Features'") span.glyphicon.glyphicon-cd(ng-if="item.php") span.glyphicon.glyphicon-lock(ng-if="item.ssl") span.glyphicon.glyphicon-share(ng-if="item.sslredirect") span.glyphicon.glyphicon-share-alt(ng-if="item.redirect") span.glyphicon.glyphicon-send(ng-if="item.proxy") td(data-title="'Option'") .btn-group.btn-group-xs span.btn.btn-default(ng-click="item.isEditing = true",ng-if="!item.isEditing") span.glyphicon.glyphicon-pencil span.btn.btn-default(ng-click="edit(item)",ng-if="item.isEditing") span.glyphicon.glyphicon-remove-circle span.btn.btn-default(ng-click="delete(item)") span.glyphicon.glyphicon-trash