2020-03-09 08:00:03 +00:00
|
|
|
<vn-auto-search
|
|
|
|
model="model">
|
|
|
|
</vn-auto-search>
|
|
|
|
<vn-data-viewer
|
|
|
|
model="model"
|
|
|
|
class="vn-w-sm">
|
|
|
|
<vn-card>
|
2021-11-25 10:30:55 +00:00
|
|
|
<div class="vn-list separated">
|
|
|
|
<a
|
|
|
|
ng-repeat="user in model.data track by user.id"
|
|
|
|
ui-sref="account.card.summary(::{id: user.id})"
|
|
|
|
translate-attr="{title: 'View user'}"
|
|
|
|
class="vn-item search-result">
|
|
|
|
<vn-item-section>
|
|
|
|
<h6>{{::user.nickname}}</h6>
|
|
|
|
<vn-label-value
|
2023-05-23 06:45:03 +00:00
|
|
|
label="Id"
|
2021-11-25 10:30:55 +00:00
|
|
|
value="{{::user.id}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
2023-05-23 06:45:03 +00:00
|
|
|
label="User"
|
2021-11-25 10:30:55 +00:00
|
|
|
value="{{::user.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-item-section>
|
|
|
|
<vn-item-section side>
|
|
|
|
<vn-icon-button
|
|
|
|
vn-click-stop="$ctrl.preview(user)"
|
|
|
|
vn-tooltip="Preview"
|
|
|
|
icon="preview">
|
|
|
|
</vn-icon-button>
|
|
|
|
</vn-item-section>
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-03-09 08:00:03 +00:00
|
|
|
</vn-card>
|
|
|
|
</vn-data-viewer>
|
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-user-summary user="$ctrl.selectedUser"></vn-user-summary>
|
|
|
|
</vn-popup>
|
2023-05-23 06:45:03 +00:00
|
|
|
<a
|
2021-11-25 07:08:47 +00:00
|
|
|
fixed-bottom-right
|
|
|
|
ui-sref="account.create"
|
2020-03-09 08:00:03 +00:00
|
|
|
vn-tooltip="New user"
|
|
|
|
vn-bind="+"
|
2023-05-23 06:45:03 +00:00
|
|
|
vn-acl="itManagement"
|
2021-11-25 07:08:47 +00:00
|
|
|
vn-acl-action="remove">
|
2020-03-09 08:00:03 +00:00
|
|
|
<vn-float-button icon="add"></vn-float-button>
|
2023-05-23 06:45:03 +00:00
|
|
|
</a>
|