DockerStaticSite/index.html

68 lines
4.0 KiB
HTML
Raw Normal View History

2023-11-18 18:52:46 +00:00
<!DOCTYPE html>
<html>
2023-11-18 18:52:46 +00:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div class="fixed w-full text-center z-50 flex flex-col">
<h1 class="z-50 w-full text-center m-0 mt-3 text-2xl font-semibold">Dashboard</h1>
<div class="z-50 w-1/2 text-center self-center m-0 mt-20 text-2xl font-semibold">
<form onsubmit="return searchDDG(event)">
<label for="default-search" class="mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white">Search</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
<svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"/>
</svg>
</div>
<input type="search" id="default-search" class="block w-full p-4 pl-10 text-sm border-2 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 outline-none shadow-lg focus:shadow-2xl" placeholder="Search DuckDuckGo" required>
<button type="submit" class="text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Search</button>
</div>
<!-- <div class="z-50 block w-full p-4 pl-10 mt-4 text-sm border-2 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 shadow-2xl ">
1
</div> -->
</form>
</div>
</div>
<div class="bg-gray-200 h-screen w-screen absolute flex-auto flex justify-center">
<div onclick="appLink('http://nas.local:8080')" class="rounded-lg shadow-lg p-2 bg-white m-3 w-40 h-40 flex self-center flex-col cursor-pointer hover:shadow-2xl">
<div class="border-black border-solid border-2 h-full flex items-center content-center justify-center m-2">And me!</div>
<h1 class="text-center font-semibold mt-auto">OpenMediaVault</h1>
</div>
<div onclick="appLink('http://nas.local:9000')" class="rounded-lg shadow-lg p-2 bg-white m-3 w-40 h-40 flex self-center flex-col cursor-pointer hover:shadow-2xl">
<div class="border-black border-solid border-2 h-full flex items-center content-center justify-center m-2">And me!</div>
<h1 class="text-center font-semibold mt-auto">Portainer</h1>
</div>
<div onclick="appLink('http://nas.local:2283')" class="rounded-lg shadow-lg p-2 bg-white m-3 w-40 h-40 flex self-center flex-col cursor-pointer hover:shadow-2xl">
<div class="border-black border-solid border-2 h-full flex items-center content-center justify-center m-2">And me!</div>
<h1 class="text-center font-semibold mt-auto">Immich</h1>
</div>
<div onclick="appLink('http://nas.local:631')" class="rounded-lg shadow-lg p-2 bg-white m-3 w-40 h-40 flex self-center flex-col cursor-pointer hover:shadow-2xl">
<div class="border-black border-solid border-2 h-full flex items-center content-center justify-center m-2">And me!</div>
<h1 class="text-center font-semibold mt-auto">Print Server</h1>
</div>
</div>
<script type="text/javascript">
function appLink(link) {
document.location.href = link
}
function searchDDG(e) {
event.preventDefault()
document.location.href = "https://duckduckgo.com/?q=" + document.getElementById("default-search").value
return false
}
</script>
</body>
</html>