diff --git a/.eslintrc b/.eslintrc index d30cf2aa5..6caf8f532 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,6 +12,7 @@ "vue/html-indent": false, "vue/html-self-closing": false, "vue/no-unused-vars": false, - "no-console": 0 + "no-console": 0, + "no-unused-vars": 0 } } diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag deleted file mode 100644 index e9a89493e..000000000 --- a/src/web/app/mobile/tags/drive/file-viewer.tag +++ /dev/null @@ -1,282 +0,0 @@ - -
- { - -
- - { file.properties.width } - × - { file.properties.height } - px - - - - { file.properties.width / gcd(file.properties.width, file.properties.height) } - : - { file.properties.height / gcd(file.properties.width, file.properties.height) } - -
-
-
-
- { file.type } - - { bytesToSize(file.datasize) } - - %fa:R clock% -
-
- -
-
-

- %fa:camera%%i18n:mobile.tags.mk-drive-file-viewer.exif% -

-
{ exif ? JSON.stringify(exif, null, 2) : '' }
-
-
-
-
-

- %fa:hashtag%%i18n:mobile.tags.mk-drive-file-viewer.hash% -

- { file.md5 } -
-
- - -
diff --git a/src/web/app/mobile/views/components/drive.file-detail.vue b/src/web/app/mobile/views/components/drive.file-detail.vue new file mode 100644 index 000000000..db0c3c701 --- /dev/null +++ b/src/web/app/mobile/views/components/drive.file-detail.vue @@ -0,0 +1,290 @@ + + + + + diff --git a/src/web/app/mobile/views/components/drive.vue b/src/web/app/mobile/views/components/drive.vue index 0e5456332..59b2c256d 100644 --- a/src/web/app/mobile/views/components/drive.vue +++ b/src/web/app/mobile/views/components/drive.vue @@ -47,7 +47,7 @@ - +