23 lines
893 B
Plaintext
23 lines
893 B
Plaintext
.container
|
|
h1 Database
|
|
a.btn.btn-default(ng-click="isAdding=true")
|
|
span.glyphicon.glyphicon-plus
|
|
form.well(ng-submit="add()",name="addform",ng-if="isAdding")
|
|
.form-group
|
|
label(for="domain") Domain
|
|
input.form-control(id="domain",name="domain",ng-model="obj.domain",ng-minlength="3")
|
|
button.btn.btn-primary(type="submit")
|
|
span.glyphicon.glyphicon-floppy-disk
|
|
| Save
|
|
table.table.table-bordered(ng-table="tableParams")
|
|
tr(ng-hide='group.$hideRows',ng-repeat="item in $data")
|
|
td(data-title="'Database/User'")
|
|
span(ng-if="!item.isEditing") warehost_user{{item.profil}}_db{{item.ID}}
|
|
td(data-title="'Kommentar'")
|
|
span.glyphicon.glyphicon-lock(ng-if="item.password")
|
|
span(ng-if="!item.isEditing") {{item.comment}}
|
|
td(data-title="'Option'")
|
|
.btn-group.btn-group-xs
|
|
span.btn.btn-default(ng-click="delete(item)")
|
|
span.glyphicon.glyphicon-trash
|