mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 21:54:41 +08:00
Manual fixes
This commit is contained in:
@@ -5,7 +5,3 @@
|
||||
<script>
|
||||
export default {}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
</style>
|
||||
|
@@ -50,7 +50,3 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -12,11 +12,11 @@ export default {
|
||||
props: {
|
||||
value: [String, Number],
|
||||
time: {
|
||||
Number,
|
||||
type: Number,
|
||||
default: 0.3,
|
||||
},
|
||||
unit: {
|
||||
String,
|
||||
type: String,
|
||||
default: "ms",
|
||||
},
|
||||
},
|
||||
@@ -61,7 +61,3 @@ export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -35,7 +35,3 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -69,7 +69,7 @@ export default {
|
||||
let width
|
||||
if (this.maxBeat > 0) {
|
||||
width = (this.beatWidth + this.beatMargin * 2) * this.maxBeat + (leftRight * 2) + "px"
|
||||
} {
|
||||
} else {
|
||||
width = "100%"
|
||||
}
|
||||
|
||||
|
@@ -496,7 +496,3 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -17,8 +17,8 @@ export default {
|
||||
} if (this.status === 2) {
|
||||
return "warning"
|
||||
}
|
||||
return "secondary"
|
||||
|
||||
return "secondary"
|
||||
},
|
||||
|
||||
text() {
|
||||
@@ -29,8 +29,8 @@ export default {
|
||||
} if (this.status === 2) {
|
||||
return "Pending"
|
||||
}
|
||||
return "Unknown"
|
||||
|
||||
return "Unknown"
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@ export default {
|
||||
monitor: Object,
|
||||
type: String,
|
||||
pill: {
|
||||
Boolean,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
@@ -57,7 +57,3 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -5,7 +5,3 @@
|
||||
<script>
|
||||
export default {}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -91,4 +91,3 @@ app.use(Toast, options);
|
||||
app.component("FontAwesomeIcon", FontAwesomeIcon)
|
||||
|
||||
app.mount("#app")
|
||||
|
||||
|
@@ -254,8 +254,8 @@ export default {
|
||||
if (this.userTimezone === "auto") {
|
||||
return dayjs.tz.guess()
|
||||
}
|
||||
return this.userTimezone
|
||||
|
||||
return this.userTimezone
|
||||
},
|
||||
|
||||
lastHeartbeatList() {
|
||||
@@ -322,4 +322,3 @@ export default {
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
@@ -146,7 +146,9 @@ export default {
|
||||
result.sort((a, b) => {
|
||||
if (a.time > b.time) {
|
||||
return -1;
|
||||
} if (a.time < b.time) {
|
||||
}
|
||||
|
||||
if (a.time < b.time) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@@ -45,7 +45,7 @@
|
||||
<span class="num"><CountUp :value="ping" /></span>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4>Avg.{{ pingTitle }}</h4>
|
||||
<h4>Avg. {{ pingTitle }}</h4>
|
||||
<p>(24-hour)</p>
|
||||
<span class="num"><CountUp :value="avgPing" /></span>
|
||||
</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
|
||||
<div v-if="certInfo" class="col">
|
||||
<h4>CertExp.</h4>
|
||||
<h4>Cert Exp.</h4>
|
||||
<p>(<Datetime :value="certInfo.validTo" date-only />)</p>
|
||||
<span class="num">
|
||||
<a href="#" @click.prevent="toggleCertInfoBox = !toggleCertInfoBox">{{ certInfo.daysRemaining }} days</a>
|
||||
|
Reference in New Issue
Block a user