Skip to content

Commit

Permalink
Index Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dzahariev committed Dec 20, 2024
1 parent 7a1dc66 commit 8e4e588
Showing 1 changed file with 20 additions and 65 deletions.
85 changes: 20 additions & 65 deletions dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,58 +93,13 @@

<body>
<script>
function grafana() {
newaddress = "https://grafana." + window.location.hostname;
window.location.replace(newaddress)
};
function qbittorrent() {
newaddress = "https://qbittorrent." + window.location.hostname;
window.location.replace(newaddress)
};
function files() {
newaddress = "https://files." + window.location.hostname;
window.location.replace(newaddress)
};
function plex() {
newaddress = "https://plex." + window.location.hostname;
window.location.replace(newaddress)
};
function calibre() {
newaddress = "https://calibre." + window.location.hostname;
window.location.replace(newaddress)
};
function freshrss() {
newaddress = "https://freshrss." + window.location.hostname;
window.location.replace(newaddress)
};
function pihole() {
newaddress = "https://pihole." + window.location.hostname;
window.location.replace(newaddress)
};
function wireguard() {
newaddress = "https://vpn." + window.location.hostname;
window.location.replace(newaddress)
};
function invval() {
newaddress = "https://invval." + window.location.hostname;
window.location.replace(newaddress)
};
function domo() {
newaddress = "https://domo." + window.location.hostname;
window.location.replace(newaddress)
};
function taskboard() {
newaddress = "https://taskboard." + window.location.hostname;
window.location.replace(newaddress)
};
function auth() {
newaddress = "https://auth." + window.location.hostname;
window.location.replace(newaddress)
};
function georgi() {
newaddress = "https://georgi." + window.location.hostname;
window.location.replace(newaddress)
};
function open(subdomain) {
var a = document.createElement('a');
a.href = "https://" + subdomain + "." + window.location.hostname;
a.rel = 'noreferrer';
a.target = '_self';
a.click();
};
</script>

<div class="wrap">
Expand All @@ -159,103 +114,103 @@
</a>
</div>
<div class="box">
<a href="javascript:grafana();">
<a href="javascript:open('grafana');">
<div class="boxInner">
<img src="images/grafana.png" alt="Grafana"/>
<div class="titleBox">Grafana</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:qbittorrent();">
<a href="javascript:open('qbittorrent');">
<div class="boxInner">
<img src="images/qbittorrent.png" alt="qBittorrent"/>
<div class="titleBox">qBittorrent</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:files();">
<a href="javascript:open('files');">
<div class="boxInner">
<img src="images/files.png" alt="File Browser"/>
<div class="titleBox">File Browser</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:plex();">
<a href="javascript:open('plex');">
<div class="boxInner">
<img src="images/plex.png" alt="Plex"/>
<div class="titleBox">Plex</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:calibre();">
<a href="javascript:open('calibre');">
<div class="boxInner">
<img src="images/calibre.png" alt="Calibre"/>
<div class="titleBox">Calibre</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:freshrss();">
<a href="javascript:open('freshrss');">
<div class="boxInner">
<img src="images/freshrss.png" alt="FreshRSS"/>
<div class="titleBox">FreshRSS</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:pihole();">
<a href="javascript:open('pihole');">
<div class="boxInner">
<img src="images/pihole.png" alt="Pi Hole"/>
<div class="titleBox">Pi Hole</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:wireguard();">
<a href="javascript:open('vpn');">
<div class="boxInner">
<img src="images/wireguard.png" alt="WireGuard VPN"/>
<div class="titleBox">WireGuard VPN</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:invval();">
<a href="javascript:open('invval');">
<div class="boxInner">
<img src="images/invval.png" alt="InvVal"/>
<div class="titleBox">InvVal</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:domo();">
<a href="javascript:open('domo');">
<div class="boxInner">
<img src="images/domo.png" alt="Domo"/>
<div class="titleBox">Domo</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:taskboard();">
<a href="javascript:open('taskboard');">
<div class="boxInner">
<img src="images/taskboard.png" alt="TaskBoard"/>
<div class="titleBox">TaskBoard</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:auth();">
<a href="javascript:open('auth');">
<div class="boxInner">
<img src="images/keycloak.png" alt="Keycloak"/>
<div class="titleBox">Auth</div>
</div>
</a>
</div>
<div class="box">
<a href="javascript:georgi();">
<a href="javascript:open('georgi');">
<div class="boxInner">
<img src="images/georgi.png" alt="Georgi Zahariev"/>
<div class="titleBox">Georgi Zahariev</div>
Expand Down

0 comments on commit 8e4e588

Please sign in to comment.