website/public/internal/menu.php

58 lines
2.6 KiB
PHP
Raw Normal View History

<?php
function getMenu($page){
$startpage = $page == "home" ? "class=\"menueSelected\"" : "";
$projects = $page == "projekte" ? "class=\"menueSelected\"" : "";
$status = $page == "status" ? "class=\"menueSelected\"" : "";
return <<<EOF
2021-01-20 22:20:10 +01:00
<div id="burgerMenu" onclick="handleBurger()">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
2021-01-20 22:20:10 +01:00
<div id="mainMenuContainer">
<a href="/" $startpage>Startseite</a>
<div class="dropdown">
<a href="#" $projects>Projekte</a>
<div class="dropdown-content">
<a href="/Projekte/proxdroid.php">Proxdroid - Proxmox Android App</a><br>
<a href="/Projekte/websitecloner.php">Website Cloner</a><br>
<a href="/Projekte/youtubedownloader.php">YouTube Downloader</a><br>
<a href="/Projekte/mqttpush.php">MQTT Push</a><br>
<a href="/Projekte/gclogLink.php">Geocaching Premium Log link Generator</a><br>
<a href="/Projekte/ledtisch1.php">LED Tisch Version 1</a><br>
<a href="/Projekte/ledtisch2.php">LED Tisch Version 2</a><br>
<a href="/Projekte/regensensor.php">Regensensor</a><br>
<a href="/Projekte/blitzortung.php">Blitzortung</a><br>
<a href="/Projekte/insecam.php">Insecam</a><br>
<a href="/Projekte/URLkuerzer1.php">URL K&uuml;rzer V1</a><br>
<a href="/Projekte/URLkuerzer2.php">URL K&uuml;rzer V2</a><br>
<a href="/Projekte/smartmirror.php">Smart Mirror</a><br>
<a href="/Projekte/snowboy.php">Installation von Snowboy</a><br>
</div>
</div>
2021-02-26 22:56:20 +01:00
<div class="dropdown">
<a href="#">Services</a>
2021-02-26 22:56:20 +01:00
<div class="dropdown-content">
<a href="//kuerzer.ml">URL K&uuml;rzer</a><br>
2021-03-03 23:31:26 +01:00
<a href="//privnote.jonasled.de">Privnote</a><br>
2021-02-26 22:56:20 +01:00
<a href="//paste.jonasled.de">Hastebin</a><br>
<a href="//gitlab.jonasled.de">Gitlab</a><br>
<a href="//apt.jonasled.de">APT mirror</a><br>
<a href="//speed.jonasled.de">Speedtest</a><br>
<a href="//matrix.jonasled.de">Matrix</a><br>
<a href="//xmltv.jonasled.de">XMLTV TV Programm</a><br>
</div>
</div>
2021-01-20 22:20:10 +01:00
<div class="dropdown">
<a href="#" $status>Status</a>
<div class="dropdown-content">
<a href="//status.jonasled.de">Server</a><br>
<a href="/ntpstatus.php">NTP Server</a><br>
</div>
</div>
</div>
EOF;
}
?>