mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 03:32:56 +00:00
Mobile and help improvements
Former-commit-id: b17f1ebb3f8b9ad396260f209d9d573371e2bf69 [formerly 7ff584e34ab7fbd6806c7fcfaeb98ea2d5932851] [formerly f9ee613a0e003945cde25998ca91313a1780ffeb [formerly 2104b8b8979baac15ccf9584f5f99d4af4385577]] Former-commit-id: 6e2bbe716f9ef26abfa441c80052bd236fc870f6 [formerly 3bc10da20f94145cbffbd9864f6b753663466370] Former-commit-id: 0dcfdd7a546a070f71b754f313464ac9d8d6b024
This commit is contained in:
parent
8dc1f2d407
commit
b12d955657
@ -36,7 +36,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</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>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -59,6 +59,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
help: function () {
|
||||||
|
this.$store.commit('showPrompt', 'help')
|
||||||
|
},
|
||||||
logout: auth.logout
|
logout: auth.logout
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -212,3 +212,4 @@ header > div:last-child {
|
|||||||
#search:-ms-input-placeholder {
|
#search:-ms-input-placeholder {
|
||||||
color: rgba(255, 255, 255, .5);
|
color: rgba(255, 255, 255, .5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
12
_assets/src/css/mobile.css
Normal file
12
_assets/src/css/mobile.css
Normal 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)
|
||||||
|
}
|
||||||
|
}
|
@ -185,6 +185,7 @@
|
|||||||
.credits a,
|
.credits a,
|
||||||
.credits a:hover {
|
.credits a:hover {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -198,3 +199,5 @@
|
|||||||
transform: rotate(-360deg);
|
transform: rotate(-360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import './mobile.css';
|
||||||
|
@ -42,6 +42,10 @@ const router = new Router({
|
|||||||
path: '/files/*',
|
path: '/files/*',
|
||||||
name: 'Files'
|
name: 'Files'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/dashboard',
|
||||||
|
name: 'Dashboard'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/*',
|
path: '/*',
|
||||||
redirect: {
|
redirect: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user