typos, css

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-10-18 11:18:29 +02:00
parent 08ef55c950
commit 23e88a7e15
4 changed files with 22 additions and 14 deletions

View File

@@ -27,11 +27,11 @@
@close="closeSidebar"> @close="closeSidebar">
<AppSidebarTab :order="0" name="Sharing" icon="icon-shared"> <AppSidebarTab :order="0" name="Sharing" icon="icon-shared">
<SharingTabSidebard :board="board" /> <SharingTabSidebar :board="board" />
</AppSidebarTab> </AppSidebarTab>
<AppSidebarTab :order="1" name="Tags" icon="icon-tag"> <AppSidebarTab :order="1" name="Tags" icon="icon-tag">
<TagsTabSidebard :board="board" /> <TagsTabSidebar :board="board" />
</AppSidebarTab> </AppSidebarTab>
<AppSidebarTab :order="2" name="Deleted items" icon="icon-delete"> <AppSidebarTab :order="2" name="Deleted items" icon="icon-delete">
@@ -39,7 +39,7 @@
</AppSidebarTab> </AppSidebarTab>
<AppSidebarTab :order="3" name="Timeline" icon="icon-activity"> <AppSidebarTab :order="3" name="Timeline" icon="icon-activity">
<TimelineTabSidebard :board="board" /> <TimelineTabSidebar :board="board" />
</AppSidebarTab> </AppSidebarTab>
</app-sidebar> </app-sidebar>
@@ -47,10 +47,10 @@
<script> <script>
import { mapState } from 'vuex' import { mapState } from 'vuex'
import SharingTabSidebard from './SharingTabSidebard' import SharingTabSidebar from './SharingTabSidebar'
import TagsTabSidebard from './TagsTabSidebard' import TagsTabSidebar from './TagsTabSidebar'
import DeletedTabSidebar from './DeletedTabSidebar' import DeletedTabSidebar from './DeletedTabSidebar'
import TimelineTabSidebard from './TimelineTabSidebard' import TimelineTabSidebar from './TimelineTabSidebar'
import { AppSidebar, AppSidebarTab } from 'nextcloud-vue' import { AppSidebar, AppSidebarTab } from 'nextcloud-vue'
export default { export default {
@@ -58,10 +58,10 @@ export default {
components: { components: {
AppSidebar, AppSidebar,
AppSidebarTab, AppSidebarTab,
SharingTabSidebard, SharingTabSidebar,
TagsTabSidebard, TagsTabSidebar,
DeletedTabSidebar, DeletedTabSidebar,
TimelineTabSidebard TimelineTabSidebar
}, },
props: { props: {
id: { id: {

View File

@@ -21,10 +21,12 @@
</li> </li>
<li v-for="acl in board.acl" :key="acl.participant.uid"> <li v-for="acl in board.acl" :key="acl.participant.uid">
<avatar v-if="acl.type===0" :user="acl.participant.uid" /> <avatar v-if="acl.type===0" :user="acl.participant.uid" />
<div v-if="acl.type===1" class="icon icon-group" /> <div v-if="acl.type===1" class="avatardiv icon icon-group" />
<div v-if="acl.type===7" class="icon icon-circles" /> <div v-if="acl.type===7" class="avatardiv icon icon-circles" />
<span class="has-tooltip username"> <span class="has-tooltip username">
{{ acl.participant.displayname }} {{ acl.participant.displayname }}
<span v-if="acl.type===1">{{ t('deck', '(Group)') }}</span>
<span v-if="acl.type===7">{{ t('deck', '(Circle)') }}</span>
</span> </span>
<Actions> <Actions>
@@ -49,7 +51,7 @@ import { CollectionList } from 'nextcloud-vue-collections'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
export default { export default {
name: 'SharingTabSidebard', name: 'SharingTabSidebar',
components: { components: {
Avatar, Avatar,
Actions, Actions,
@@ -162,4 +164,10 @@ export default {
.avatarLabel { .avatarLabel {
padding: 6px padding: 6px
} }
.avatardiv {
background-color: #f5f5f5;
border-radius: 16px;
width: 32px;
height: 32px;
}
</style> </style>

View File

@@ -49,7 +49,7 @@ import { Compact } from 'vue-color'
import ColorPicker from '../ColorPicker' import ColorPicker from '../ColorPicker'
export default { export default {
name: 'TagsTabSidebard', name: 'TagsTabSidebar',
components: { components: {
ColorPicker, ColorPicker,
'compact-picker': Compact 'compact-picker': Compact

View File

@@ -13,7 +13,7 @@ import { mapState } from 'vuex'
import ActivityEntry from '../ActivityEntry' import ActivityEntry from '../ActivityEntry'
export default { export default {
name: 'TimelineTabSidebard', name: 'TimelineTabSidebar',
components: { components: {
ActivityEntry ActivityEntry
}, },