diff --git a/_assets/src/components/Sidebar.vue b/_assets/src/components/Sidebar.vue index 37bc4000..4d92be61 100644 --- a/_assets/src/components/Sidebar.vue +++ b/_assets/src/components/Sidebar.vue @@ -36,7 +36,7 @@ -

Served with File Manager.

+

Served with File Manager.
Help

@@ -59,6 +59,9 @@ export default { } }, methods: { + help: function () { + this.$store.commit('showPrompt', 'help') + }, logout: auth.logout } } diff --git a/_assets/src/css/header.css b/_assets/src/css/header.css index 403000ad..f4492a8f 100644 --- a/_assets/src/css/header.css +++ b/_assets/src/css/header.css @@ -212,3 +212,4 @@ header > div:last-child { #search:-ms-input-placeholder { color: rgba(255, 255, 255, .5); } + diff --git a/_assets/src/css/mobile.css b/_assets/src/css/mobile.css new file mode 100644 index 00000000..2aaf54cc --- /dev/null +++ b/_assets/src/css/mobile.css @@ -0,0 +1,12 @@ +@media (max-width: 1024px) { + nav { + width: 10em + } +} + +@media (max-width: 1024px) { + #listing.list .item.header, + main { + width: calc(100% - 13em) + } +} diff --git a/_assets/src/css/styles.css b/_assets/src/css/styles.css index b1383dff..f88edfdf 100644 --- a/_assets/src/css/styles.css +++ b/_assets/src/css/styles.css @@ -185,6 +185,7 @@ .credits a, .credits a:hover { color: inherit; + cursor: pointer; } @@ -198,3 +199,5 @@ transform: rotate(-360deg); } } + +@import './mobile.css'; diff --git a/_assets/src/router/index.js b/_assets/src/router/index.js index 46be15ac..5695a74e 100644 --- a/_assets/src/router/index.js +++ b/_assets/src/router/index.js @@ -42,6 +42,10 @@ const router = new Router({ path: '/files/*', name: 'Files' }, + { + path: '/dashboard', + name: 'Dashboard' + }, { path: '/*', redirect: {