Dialogs and Vuetify styling changes
This commit is contained in:
parent
2ba0d57aa8
commit
a97211afdf
45 changed files with 320 additions and 346 deletions
|
|
@ -58,7 +58,7 @@
|
|||
maxlength="50"
|
||||
@blur="updateRoomName()"
|
||||
@keyup.enter="updateRoomName()"
|
||||
solo
|
||||
variant="solo"
|
||||
></v-text-field>
|
||||
</div>
|
||||
<div :class="{'topic':true,'cursor-default':!userCanPurgeRoom}">
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
autofocus
|
||||
@blur="updateRoomTopic()"
|
||||
@keyup.enter="updateRoomTopic()"
|
||||
solo
|
||||
variant="solo"
|
||||
>
|
||||
</v-text-field>
|
||||
</div>
|
||||
|
|
@ -108,36 +108,26 @@
|
|||
{{ item.text }}
|
||||
</template>
|
||||
<template v-slot:item="{ item, attrs, on }">
|
||||
<v-list-item v-on="on" v-bind="attrs" #default="{ active }">
|
||||
<v-list-item v-on="on" v-bind="attrs">
|
||||
<template v-slot:prepend>
|
||||
<v-avatar color="grey">
|
||||
<v-icon color="black">{{ item.icon }}</v-icon>
|
||||
</v-avatar>
|
||||
</template>
|
||||
<v-list-item-title v-text="item.text"></v-list-item-title>
|
||||
<v-list-item-action>
|
||||
<v-btn icon v-if="active">
|
||||
<v-icon color="grey lighten-1">check</v-icon>
|
||||
</v-btn>
|
||||
</v-list-item-action>
|
||||
<v-list-item-title>{{ item.text }}</v-list-item-title>
|
||||
<template v-slot:append="{ isActive }">
|
||||
<v-list-item-action>
|
||||
<v-btn icon v-if="isActive">
|
||||
<v-icon color="grey-lighten-1">check</v-icon>
|
||||
</v-btn>
|
||||
</v-list-item-action>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</template>
|
||||
</v-select>
|
||||
|
||||
<!-- <div v-if="anyoneCanJoin">
|
||||
<div>Anyone with a link can join.</div>
|
||||
<v-text-field
|
||||
:value="publicRoomLink"
|
||||
readonly
|
||||
append-icon="content_copy"
|
||||
filled
|
||||
type="text"
|
||||
@click:append="copyRoomLink"
|
||||
></v-text-field>
|
||||
</div> -->
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
|
||||
<v-card class="account ma-3" flat>
|
||||
<v-card-title class="h2">{{ $t("room_info.message_retention") }}</v-card-title>
|
||||
<v-card-text v-if="canViewRetentionPolicy">
|
||||
|
|
@ -168,7 +158,7 @@
|
|||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
|
||||
|
||||
<v-card class="account ma-3" flat v-if="canChangeReadOnly()">
|
||||
<v-card-title class="h2">{{ $t("room_info.moderation") }}</v-card-title>
|
||||
<v-card-text class="" v-if="canChangeReadOnly()">
|
||||
|
|
@ -179,7 +169,7 @@
|
|||
<div class="option-text">{{ $t('room_info.read_only_room_info') }}</div>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
|
||||
<v-card class="account ma-3" flat>
|
||||
<v-card-title class="h2">{{ $t("room_info.report") }}</v-card-title>
|
||||
<v-card-text class="">
|
||||
|
|
@ -188,21 +178,21 @@
|
|||
<v-btn
|
||||
color="black"
|
||||
depressed
|
||||
small
|
||||
size="small"
|
||||
class="outlined-button"
|
||||
@click.stop="report"
|
||||
>{{ $t("room_info.report") }}</v-btn>
|
||||
</div>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
|
||||
<v-card class="members ma-3" flat>
|
||||
<v-card-title class="h2"
|
||||
>{{ $t("room_info.members") }}<v-spacer></v-spacer>
|
||||
<div>{{ members.length }}</div></v-card-title
|
||||
>
|
||||
<v-list>
|
||||
<template v-for="(member, index) in members" :key="member.userId">
|
||||
<template v-for="(member, index) in members" :key="member.userId">
|
||||
<v-list-item
|
||||
class="member"
|
||||
v-show="showAllMembers || index < SHOW_MEMBER_LIMIT"
|
||||
|
|
@ -266,35 +256,30 @@
|
|||
</div>
|
||||
|
||||
<UserProfileDialog
|
||||
:show="showMemberActionConfirmation"
|
||||
v-model="showMemberActionConfirmation"
|
||||
:activeMember="activeMember || members[0]"
|
||||
:room="room"
|
||||
@close="showMemberActionConfirmation = false"
|
||||
/>
|
||||
|
||||
<LeaveRoomDialog
|
||||
:show="showLeaveConfirmation"
|
||||
v-model="showLeaveConfirmation"
|
||||
:room="room"
|
||||
@close="showLeaveConfirmation = false"
|
||||
/>
|
||||
|
||||
<PurgeRoomDialog
|
||||
:show="showPurgeConfirmation"
|
||||
v-model="showPurgeConfirmation"
|
||||
:room="room"
|
||||
@close="showPurgeConfirmation = false"
|
||||
/>
|
||||
|
||||
<MessageRetentionDialog
|
||||
:show="showMessageRetentionDialog"
|
||||
v-model="showMessageRetentionDialog"
|
||||
:room="room"
|
||||
@close="showMessageRetentionDialog = false"
|
||||
v-on:message-retention-update="onMessageRetention"
|
||||
/>
|
||||
|
||||
<ReportRoomDialog
|
||||
:show="showReportDialog"
|
||||
v-model="showReportDialog"
|
||||
:room="room"
|
||||
@close="showReportDialog = false"
|
||||
/>
|
||||
|
||||
<RoomExport :room="room" v-if="exporting" v-on:close="exporting = false" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue