salix/modules/account/front/index/index.html

48 lines
1.5 KiB
HTML
Raw Normal View History

<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
label="Id"
2021-11-25 10:30:55 +00:00
value="{{::user.id}}">
</vn-label-value>
<vn-label-value
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>
</vn-card>
</vn-data-viewer>
<vn-popup vn-id="summary">
<vn-user-summary user="$ctrl.selectedUser"></vn-user-summary>
</vn-popup>
<a
2021-11-25 07:08:47 +00:00
fixed-bottom-right
ui-sref="account.create"
vn-tooltip="New user"
vn-bind="+"
vn-acl="itManagement"
2021-11-25 07:08:47 +00:00
vn-acl-action="remove">
<vn-float-button icon="add"></vn-float-button>
</a>