Mobile and help improvements

Former-commit-id: b17f1ebb3f8b9ad396260f209d9d573371e2bf69 [formerly 7ff584e34ab7fbd6806c7fcfaeb98ea2d5932851] [formerly f9ee613a0e003945cde25998ca91313a1780ffeb [formerly 2104b8b897]]
Former-commit-id: 6e2bbe716f9ef26abfa441c80052bd236fc870f6 [formerly 3bc10da20f94145cbffbd9864f6b753663466370]
Former-commit-id: 0dcfdd7a546a070f71b754f313464ac9d8d6b024
pull/726/head
Henrique Dias 2017-07-04 12:11:43 +01:00
parent 8dc1f2d407
commit b12d955657
5 changed files with 24 additions and 1 deletions

View File

@ -36,7 +36,7 @@
</button>
</div>
<p class="credits">Served with <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>.</p>
<p class="credits">Served with <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>.<br><a @click="help">Help</a></p>
</nav>
</template>
@ -59,6 +59,9 @@ export default {
}
},
methods: {
help: function () {
this.$store.commit('showPrompt', 'help')
},
logout: auth.logout
}
}

View File

@ -212,3 +212,4 @@ header > div:last-child {
#search:-ms-input-placeholder {
color: rgba(255, 255, 255, .5);
}

View File

@ -0,0 +1,12 @@
@media (max-width: 1024px) {
nav {
width: 10em
}
}
@media (max-width: 1024px) {
#listing.list .item.header,
main {
width: calc(100% - 13em)
}
}

View File

@ -185,6 +185,7 @@
.credits a,
.credits a:hover {
color: inherit;
cursor: pointer;
}
@ -198,3 +199,5 @@
transform: rotate(-360deg);
}
}
@import './mobile.css';

View File

@ -42,6 +42,10 @@ const router = new Router({
path: '/files/*',
name: 'Files'
},
{
path: '/dashboard',
name: 'Dashboard'
},
{
path: '/*',
redirect: {