commit c3951e1
uint
·
2026-02-01 01:46:37 +0000 UTC
parent 08b5697
gorados: create web items (for site-gen)
3 files changed,
+78,
-0
+20,
-0
1@@ -0,0 +1,20 @@
2+<!doctype html>
3+<meta charset="utf-8">
4+<meta name="viewport" content="width=device-width, initial-scale=1">
5+<title>{{NAME}}</title>
6+<link rel="stylesheet" href="/style.css">
7+
8+<header>
9+ <h1>{{NAME}}</h1>
10+ <p><code>{{PATH}}</code></p>
11+ <p><a href="/library">back</a> | <a href="/stream/{{ID}}">stream</a></p>
12+</header>
13+
14+<main>
15+ <ul>
16+ {{META}}
17+ </ul>
18+
19+ {{PLAYER}}
20+</main>
21+
+17,
-0
1@@ -0,0 +1,17 @@
2+<!doctype html>
3+<meta charset="utf-8">
4+<meta name="viewport" content="width=device-width, initial-scale=1">
5+<title>parados</title>
6+<link rel="stylesheet" href="/style.css">
7+
8+<header>
9+ <h1>parados</h1>
10+ <p>items: {{COUNT}}</p>
11+</header>
12+
13+<main>
14+ <l>
15+ {{ITEMS}}
16+ </l>
17+</main>
18+
+41,
-0
1@@ -0,0 +1,41 @@
2+/* gorados */
3+body {
4+ color: #eeeeee;
5+ background-color: #1e1f21;
6+ font-family: serif;
7+ margin: 20px;
8+}
9+
10+video {
11+ width: 100%;
12+ max-width: 400px;
13+ background: #000;
14+ display: block;
15+}
16+
17+header {
18+ padding: 12px 16px;
19+ border-bottom: 1px solid #333;
20+}
21+
22+main {
23+ padding: 16px;
24+ max-width: 1000px;
25+}
26+
27+code {
28+ font-family: monospace;
29+}
30+
31+a {
32+ color: inherit;
33+}
34+
35+ul {
36+ padding-left: 18px;
37+}
38+
39+li {
40+ margin: 4px 0;
41+}
42+