UI fixes & refactoring

This commit is contained in:
Čarodej
2021-10-29 15:58:54 +02:00
parent 2d7b6e4e05
commit 351d57b103
15 changed files with 216 additions and 768 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
<FileActionsMobile>
<MobileActionButton @click.native="$openSpotlight" icon="search">
{{ $t('actions.search') }}
{{ $t('Spotlight') }}
</MobileActionButton>
<MobileActionButton @click.native="$showMobileMenu('file-filter')" icon="filter">
{{ $getCurrentSectionName() }}
+1 -1
View File
@@ -65,7 +65,7 @@
<FileActionsMobile>
<MobileActionButton @click.native="$openSpotlight" icon="search">
{{ $t('actions.search') }}
{{ $t('Spotlight') }}
</MobileActionButton>
<MobileActionButton @click.native="$showMobileMenu('file-filter')" icon="filter">
{{ $getCurrentSectionName() }}
+1 -1
View File
@@ -89,7 +89,7 @@
<FileActionsMobile>
<MobileActionButton @click.native="$openSpotlight" icon="search">
{{ $t('actions.search') }}
{{ $t('Spotlight') }}
</MobileActionButton>
<MobileActionButton @click.native="$showMobileMenu('file-filter')" icon="filter">
{{ $getCurrentSectionName() }}
@@ -1,7 +1,8 @@
<template>
<div id="single-file">
<div class="single-file-wrapper">
<FileItemGrid v-if="sharedFile" :item="sharedFile.data.attributes" :context-menu="false"/>
<!-- TODO: fix-->
<!-- <FileItemGrid v-if="sharedFile" :item="sharedFile.data.attributes" :context-menu="false"/>-->
<ButtonBase @click.native="download" class="download-button" button-style="theme">
{{ $t('page_shared.download_file') }}
@@ -11,14 +12,12 @@
</template>
<script>
import FileItemGrid from '/resources/js/components/FilesView/FileItemGrid'
import ButtonBase from '/resources/js/components/FilesView/ButtonBase'
import {mapGetters} from "vuex";
export default {
name: 'SharedSingleItem',
components: {
FileItemGrid,
ButtonBase,
},
computed: {