1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-20 09:19:27 +02:00
Files
OpenIntegrations/src/ru/cli/web/index.html
T
Anton Titovets be45ebcc4f Fastfix
2025-01-28 21:57:28 +03:00

54 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Actions Interface with HTMX</title>
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
height: 100vh;
}
.sidebar {
width: 200px;
background-color: #f4f4f4;
padding: 20px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar ul li {
margin: 15px 0;
cursor: pointer;
color: #0366d6;
}
.sidebar ul li:hover {
text-decoration: underline;
}
.main-content {
flex-grow: 1;
padding: 20px;
background-color: #fff;
}
</style>
</head>
<body>
<div class="sidebar">
<ul id="menu" hx-get="/api/menu" hx-trigger="load">
</ul>
</div>
<div class="main-content" id="content">
</div>
<template id="menu-item-template">
<li hx-get="/api/content/{id}" hx-target="#content">{name}</li>
</template>
</body>
</html>