2020-05-07 06:10:53 -07:00
|
|
|
<template>
|
|
|
|
<div
|
|
|
|
id="nav"
|
|
|
|
class="panel-default panel chat-new"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
ref="header"
|
|
|
|
class="panel-heading"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="go-back-button"
|
|
|
|
@click="goBack"
|
|
|
|
>
|
2020-10-20 14:31:16 -07:00
|
|
|
<FAIcon
|
|
|
|
size="lg"
|
|
|
|
icon="chevron-left"
|
|
|
|
/>
|
2020-05-07 06:10:53 -07:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="input-wrap">
|
|
|
|
<div class="input-search">
|
2020-10-20 14:31:16 -07:00
|
|
|
<FAIcon
|
2020-10-28 12:31:16 -07:00
|
|
|
class="search-icon fa-scale-110 fa-old-padding"
|
2020-10-20 14:31:16 -07:00
|
|
|
icon="search"
|
|
|
|
/>
|
2020-05-07 06:10:53 -07:00
|
|
|
</div>
|
|
|
|
<input
|
|
|
|
ref="search"
|
|
|
|
v-model="query"
|
|
|
|
placeholder="Search people"
|
|
|
|
@input="onInput"
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
<div class="member-list">
|
|
|
|
<div
|
|
|
|
v-for="user in availableUsers"
|
|
|
|
:key="user.id"
|
|
|
|
class="member"
|
|
|
|
>
|
|
|
|
<div @click.capture.prevent="goToChat(user)">
|
|
|
|
<BasicUserCard :user="user" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./chat_new.js"></script>
|
|
|
|
<style lang="scss">
|
|
|
|
@import '../../_variables.scss';
|
|
|
|
@import './chat_new.scss';
|
|
|
|
</style>
|