del host web - ftp und http access
This commit is contained in:
parent
7737da0a1e
commit
ddddfe89b6
|
@ -29,18 +29,6 @@
|
|||
.form-group
|
||||
label(for="proxy") Proxy
|
||||
input.form-control(id="proxy",name="proxy",ng-model="obj.proxy")
|
||||
.form-group
|
||||
label FTP Access
|
||||
ui-select(ng-model="obj.ftpaccess",multiple,on-select="newUser(obj.ftpaccess, $model)")
|
||||
ui-select-match {{$item.login.username}}
|
||||
ui-select-choices(repeat="i in loginlist | afterKeyID:obj.ftpaccess:'login' | filter: $select.search")
|
||||
div(ng-bind-html="i.username | highlight: $select.search")
|
||||
.form-group
|
||||
label HTTP Access
|
||||
ui-select(ng-model="obj.httpaccess",multiple,on-select="newUser(obj.httpaccess, $model)")
|
||||
ui-select-match {{$item.login.username}}
|
||||
ui-select-choices(repeat="i in loginlist | afterKeyID:obj.httpaccess:'login' | filter: $select.search")
|
||||
div(ng-bind-html="i.username | highlight: $select.search")
|
||||
button.btn.btn-primary(type="submit")
|
||||
span.glyphicon.glyphicon-floppy-disk
|
||||
| Save
|
||||
|
@ -75,27 +63,9 @@
|
|||
.form-group
|
||||
label(for="proxy") Proxy
|
||||
input.form-control(id="proxy",name="proxy",ng-model="item.proxy")
|
||||
.form-group
|
||||
label FTP Access
|
||||
ui-select(ng-model="item.ftpaccess",multiple,on-select="newUser(item.ftpaccess, $model)")
|
||||
ui-select-match {{$item.login.username}}
|
||||
ui-select-choices(repeat="i in loginlist | afterKeyID:item.ftpaccess:'login' | filter: $select.search")
|
||||
div(ng-bind-html="i.username | highlight: $select.search")
|
||||
.form-group
|
||||
label HTTP Access
|
||||
ui-select(ng-model="item.httpaccess",multiple,on-select="newUser(item.httpaccess, $model)")
|
||||
ui-select-match {{$item.login.username}}
|
||||
ui-select-choices(repeat="i in loginlist | afterKeyID:item.httpaccess:'login' | filter: $select.search")
|
||||
div(ng-bind-html="i.username | highlight: $select.search")
|
||||
button.btn.btn-primary(type="submit",ng-click="edit(item)")
|
||||
span.glyphicon.glyphicon-floppy-disk
|
||||
| Save
|
||||
td(data-title="'FTPAccess'")
|
||||
ul
|
||||
li(ng-repeat="i in item.ftpaccess") {{i.login.username}}
|
||||
td(data-title="'HTTPAccess'")
|
||||
ul
|
||||
li(ng-repeat="i in item.httpaccess") {{i.login.username}}
|
||||
td(data-title="'Features'")
|
||||
span.glyphicon.glyphicon-cd(ng-if="item.php")
|
||||
span.glyphicon.glyphicon-lock(ng-if="item.ssl")
|
||||
|
|
Reference in New Issue