From 533f36aac32f4a82bd1ba29f5420edf2ef2c66bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=B4=E3=81=AA=E3=81=9F=E3=81=BF=E3=81=BD?= Date: Tue, 20 Feb 2018 10:15:18 +0900 Subject: [PATCH] wip --- src/web/app/mobile/tags/drive/file.tag | 151 ---------------- src/web/app/mobile/tags/drive/folder.tag | 53 ------ .../mobile/views/components/drive.file.vue | 169 ++++++++++++++++++ .../mobile/views/components/drive.folder.vue | 58 ++++++ 4 files changed, 227 insertions(+), 204 deletions(-) delete mode 100644 src/web/app/mobile/tags/drive/file.tag delete mode 100644 src/web/app/mobile/tags/drive/folder.tag create mode 100644 src/web/app/mobile/views/components/drive.file.vue create mode 100644 src/web/app/mobile/views/components/drive.folder.vue diff --git a/src/web/app/mobile/tags/drive/file.tag b/src/web/app/mobile/tags/drive/file.tag deleted file mode 100644 index 8afac7982..000000000 --- a/src/web/app/mobile/tags/drive/file.tag +++ /dev/null @@ -1,151 +0,0 @@ - - -
-
-
-

{ file.name.lastIndexOf('.') != -1 ? file.name.substr(0, file.name.lastIndexOf('.')) : file.name }{ file.name.substr(file.name.lastIndexOf('.')) }

- -
-

{ file.type }

-

-

{ bytesToSize(file.datasize) }

-

-

- %fa:R clock% -

-
-
-
-
- - -
diff --git a/src/web/app/mobile/tags/drive/folder.tag b/src/web/app/mobile/tags/drive/folder.tag deleted file mode 100644 index 2fe6c2c39..000000000 --- a/src/web/app/mobile/tags/drive/folder.tag +++ /dev/null @@ -1,53 +0,0 @@ - - -
-

%fa:folder%{ folder.name }

%fa:angle-right% -
-
- - -
diff --git a/src/web/app/mobile/views/components/drive.file.vue b/src/web/app/mobile/views/components/drive.file.vue new file mode 100644 index 000000000..dfc69e249 --- /dev/null +++ b/src/web/app/mobile/views/components/drive.file.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/web/app/mobile/views/components/drive.folder.vue b/src/web/app/mobile/views/components/drive.folder.vue new file mode 100644 index 000000000..b776af7aa --- /dev/null +++ b/src/web/app/mobile/views/components/drive.folder.vue @@ -0,0 +1,58 @@ + + + + +