Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/Widgets/UserSearch.vue
<template> | <template> | ||||
<div id="search-box" class="card"> | <div id="search-box" class="card"> | ||||
<div class="card-body"> | <div class="card-body"> | ||||
<form @submit.prevent="searchUser" class="row justify-content-center"> | <form @submit.prevent="searchUser" class="row justify-content-center"> | ||||
<div class="input-group col-sm-8"> | <div class="input-group col-sm-8"> | ||||
<input class="form-control" type="text" :placeholder="$t('user.search-pl')" v-model="search"> | <input class="form-control" type="text" :placeholder="$t('user.search-pl')" v-model="search"> | ||||
<btn type="submit" class="btn-primary" icon="search">{{ $t('btn.search') }}</btn> | <btn type="submit" class="btn-primary" icon="magnifying-glass">{{ $t('btn.search') }}</btn> | ||||
</div> | </div> | ||||
</form> | </form> | ||||
<table v-if="users.length" class="table table-sm table-hover mt-4"> | <table v-if="users.length" class="table table-sm table-hover mt-4"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th scope="col">{{ $t('form.primary-email') }}</th> | <th scope="col">{{ $t('form.primary-email') }}</th> | ||||
<th scope="col">{{ $t('form.id') }}</th> | <th scope="col">{{ $t('form.id') }}</th> | ||||
<th scope="col" class="d-none d-md-table-cell">{{ $t('form.created') }}</th> | <th scope="col" class="d-none d-md-table-cell">{{ $t('form.created') }}</th> | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |