1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#!/usr/bin/lua
package.path = ".zs/?.lua;" .. package.path
local html = require "components.html"
print(html {
tag = "div",
class = "webring",
{
tag = "span",
{
tag = "a",
class = "volatile",
href = "https://ring.acab.dev/prev/C1NMCp8IXr",
title = "go to the previous page in the webring",
"[<<]"
}
},
{
tag = "span",
{
tag = "a",
class = "volatile",
href = "https://ring.acab.dev/rand/C1NMCp8IXr",
title = "go to a random page in the webring",
"[?]"
}
},
{
tag = "span",
{
tag = "a",
class = "volatile",
href = "https://ring.acab.dev",
title = "hacker webring",
"[⠠⠵ ]"
}
},
{
tag = "span",
{
tag = "a",
class = "volatile",
href = "https://ring.acab.dev/next/C1NMCp8IXr",
title = "go to the next page in the webring",
"[>>]"
}
},
})
|