mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-17 18:27:14 -05:00
Add links for status pages and maintenance for mobile (Fix #2257)
This commit is contained in:
parent
3040bd41d9
commit
5c5a339a36
@ -93,7 +93,7 @@
|
|||||||
<nav v-if="$root.isMobile && $root.loggedIn" class="bottom-nav">
|
<nav v-if="$root.isMobile && $root.loggedIn" class="bottom-nav">
|
||||||
<router-link to="/dashboard" class="nav-link">
|
<router-link to="/dashboard" class="nav-link">
|
||||||
<div><font-awesome-icon icon="tachometer-alt" /></div>
|
<div><font-awesome-icon icon="tachometer-alt" /></div>
|
||||||
{{ $t("Dashboard") }}
|
{{ $t("Home") }}
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<router-link to="/list" class="nav-link">
|
<router-link to="/list" class="nav-link">
|
||||||
|
@ -1,10 +1,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<div v-if="$root.isMobile" class="shadow-box mb-3">
|
||||||
|
<router-link to="/manage-status-page" class="nav-link">
|
||||||
|
<font-awesome-icon icon="stream" /> {{ $t("Status Pages") }}
|
||||||
|
</router-link>
|
||||||
|
<router-link to="/maintenance" class="nav-link">
|
||||||
|
<font-awesome-icon icon="wrench" /> {{ $t("Maintenance") }}
|
||||||
|
</router-link>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h1 v-show="show" class="mb-3">
|
<h1 v-show="show" class="mb-3">
|
||||||
{{ $t("Settings") }}
|
{{ $t("Settings") }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="shadow-box">
|
<div class="shadow-box shadow-box-settings">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div v-if="showSubMenu" class="settings-menu col-lg-3 col-md-5">
|
<div v-if="showSubMenu" class="settings-menu col-lg-3 col-md-5">
|
||||||
<router-link
|
<router-link
|
||||||
@ -192,7 +201,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "../assets/vars.scss";
|
@import "../assets/vars.scss";
|
||||||
|
|
||||||
.shadow-box {
|
.shadow-box-settings {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
min-height: calc(100vh - 155px);
|
min-height: calc(100vh - 155px);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user