Add subtle Github link in bottom right corner

This commit is contained in:
TwinProduction 2020-09-08 18:28:19 -04:00
parent 2888254bda
commit 9f8a74f5b1
2 changed files with 20 additions and 0 deletions

BIN
static/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -76,6 +76,20 @@
#tooltip>.tooltip-title:first-child { #tooltip>.tooltip-title:first-child {
margin-top: 0; margin-top: 0;
} }
#social {
position: fixed;
right: 5px;
bottom: 5px;
padding: 5px;
margin: 0;
z-index: 100;
}
#social img {
opacity: 0.3;
}
#social img:hover {
opacity: 1;
}
</style> </style>
</head> </head>
<body> <body>
@ -108,6 +122,12 @@
<script src="/jquery.min.js"></script> <script src="/jquery.min.js"></script>
<div id="social">
<a href="https://github.com/TwinProduction/gatus" target="_blank" title="Gatus on GitHub">
<img src="/github.png" alt="GitHub" width="32" height="auto" />
</a>
</div>
<script> <script>
let serviceStatuses = {}; let serviceStatuses = {};
let timerHandler = 0; let timerHandler = 0;