2020-08-10 09:27:52 +02:00
|
|
|
<!doctype html>
|
2021-06-21 14:05:07 +02:00
|
|
|
<html class="light" lang="en">
|
2020-09-20 18:38:52 +02:00
|
|
|
|
2021-05-22 16:00:08 +02:00
|
|
|
<head>
|
2021-06-21 14:05:07 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.1.4/dist/tailwind-dark.min.css" rel="stylesheet">
|
|
|
|
<script src="https://cdn.fluidplayer.com/v3/current/fluidplayer.min.js">
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
|
|
document.documentElement.className = 'dark';
|
|
|
|
} else {
|
|
|
|
document.documentElement.className = 'light';
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
|
|
* {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<title>
|
|
|
|
{% if title %} {{title}} {% else %} Telegram Index {% endif %}
|
|
|
|
</title>
|
2020-09-20 18:38:52 +02:00
|
|
|
|
2021-05-22 16:00:08 +02:00
|
|
|
</head>
|
2020-08-10 09:27:52 +02:00
|
|
|
|
2021-06-22 15:23:45 +02:00
|
|
|
<body class="bg-white text-black dark:bg-black dark:text-white">
|
2021-05-22 16:00:08 +02:00
|
|
|
|
2021-06-22 15:23:45 +02:00
|
|
|
<header class="bg-blue-300 dark:bg-red-500 text-white mb-2 p-2 w-full shadow">
|
|
|
|
<div class="flex mx-auto justify-between items-center max-w-screen-xl">
|
|
|
|
<a href="/" id="title-a" class="text-left font-bold text-xl lg:text-2xl xl:text-3xl"> Telegram index </a>
|
|
|
|
<div class="space-x-1">
|
|
|
|
<button onclick="toggleTheme()" class="rounded-full bg-white">
|
|
|
|
<img src="https://s3.imgcdn.dev/nW9YV.png" class="h-8" alt="Theme">
|
|
|
|
</button>
|
|
|
|
{% if authenticated %}
|
|
|
|
<button class="rounded-full bg-white"><a href="/logout">
|
|
|
|
<img src="https://s3.imgcdn.dev/ndsjh.png" class="h-8" alt="Logout">
|
|
|
|
</a>
|
2021-06-22 07:30:57 +02:00
|
|
|
</button>
|
2021-06-22 15:23:45 +02:00
|
|
|
{% else %} {% endif %}
|
2021-06-22 07:30:57 +02:00
|
|
|
</div>
|
2021-06-21 14:05:07 +02:00
|
|
|
</div>
|
2021-05-22 16:00:08 +02:00
|
|
|
|
2021-06-21 14:05:07 +02:00
|
|
|
</header>
|
|
|
|
<div class="m-auto w-full min-h-screen max-w-screen-xl">
|