Format stuffs

This commit is contained in:
TwinProduction 2021-01-28 23:52:01 -05:00
parent 601d676e34
commit 8337f41425
2 changed files with 28 additions and 25 deletions

View File

@ -24,7 +24,7 @@ export default {
methods: { methods: {
setRefreshInterval(seconds) { setRefreshInterval(seconds) {
let that = this; let that = this;
this.refreshIntervalHandler = setInterval(function() { this.refreshIntervalHandler = setInterval(function () {
that.refreshData(); that.refreshData();
}, seconds * 1000); }, seconds * 1000);
}, },
@ -57,13 +57,14 @@ export default {
<style scoped> <style scoped>
#settings { #settings {
position: fixed; position: fixed;
left: 5px; left: 5px;
bottom: 5px; bottom: 5px;
padding: 5px; padding: 5px;
} }
#settings select:focus {
box-shadow: none; #settings select:focus {
} box-shadow: none;
}
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<div id="social"> <div id="social">
<a href="https://github.com/TwinProduction/gatus" target="_blank" title="Gatus on GitHub"> <a href="https://github.com/TwinProduction/gatus" target="_blank" title="Gatus on GitHub">
<img src="../assets/github.png" alt="GitHub" width="32" height="auto" /> <img src="../assets/github.png" alt="GitHub" width="32" height="auto"/>
</a> </a>
</div> </div>
</template> </template>
@ -15,18 +15,20 @@ export default {
<style scoped> <style scoped>
#social { #social {
position: fixed; position: fixed;
right: 5px; right: 5px;
bottom: 5px; bottom: 5px;
padding: 5px; padding: 5px;
margin: 0; margin: 0;
z-index: 100; z-index: 100;
} }
#social img {
opacity: 0.3; #social img {
} opacity: 0.3;
#social img:hover { }
opacity: 1;
} #social img:hover {
opacity: 1;
}
</style> </style>