From f1ec968f38583cc50e1cdeee4763a722bf81ec24 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 3 Aug 2018 22:32:01 -0700 Subject: [PATCH] Add beginning of the file manager --- .../scripts/components/server/Server.vue | 2 + .../server/subpages/FileManager.vue | 122 +++++++++++++++++- .../assets/styles/components/filemanager.css | 28 ++++ resources/assets/styles/main.css | 1 + 4 files changed, 147 insertions(+), 6 deletions(-) create mode 100644 resources/assets/styles/components/filemanager.css diff --git a/resources/assets/scripts/components/server/Server.vue b/resources/assets/scripts/components/server/Server.vue index 7ac61f063..a42bf76bb 100644 --- a/resources/assets/scripts/components/server/Server.vue +++ b/resources/assets/scripts/components/server/Server.vue @@ -41,6 +41,7 @@
+
diff --git a/resources/assets/scripts/components/server/subpages/FileManager.vue b/resources/assets/scripts/components/server/subpages/FileManager.vue index 339739632..8d87e2d65 100644 --- a/resources/assets/scripts/components/server/subpages/FileManager.vue +++ b/resources/assets/scripts/components/server/subpages/FileManager.vue @@ -1,13 +1,123 @@ - - diff --git a/resources/assets/styles/components/filemanager.css b/resources/assets/styles/components/filemanager.css new file mode 100644 index 000000000..0e37d2f8b --- /dev/null +++ b/resources/assets/styles/components/filemanager.css @@ -0,0 +1,28 @@ +.filemanager { + & > .header { + @apply .flex .text-sm .pb-4 .font-bold .border-b .border-grey-light .mb-3; + + & > div { + @apply .pr-4; + } + } + + & > .row { + @apply .flex .text-sm .py-3 .text-sm .rounded .cursor-pointer .border .border-transparent; + + & > div { + @apply .pr-4; + } + + &:hover { + @apply .bg-grey-lightest .border-blue-light .text-blue-dark; + } + + & > .icon { + @apply .w-8 .text-center; + & > svg { + @apply .h-4; + } + } + } +} diff --git a/resources/assets/styles/main.css b/resources/assets/styles/main.css index 0af5be78b..de128a8ea 100644 --- a/resources/assets/styles/main.css +++ b/resources/assets/styles/main.css @@ -16,6 +16,7 @@ @import "components/navigation.css"; @import "components/notifications.css"; @import "components/spinners.css"; +@import "components/filemanager.css"; /** * Tailwind Utilities