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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
<!DOCTYPE html>
<!--
NetUseMod is a program to moderate Usenet posts via web interface.
Copyright (C) 2024 Salahuddin <salahuddin@member.fsf.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<html lang="en">
<head>
<meta charset="<% settings.charset %>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<style>
body {
margin: 0;
margin-bottom: 25px;
padding: 0;
background-color: #ddd;
background-repeat: no-repeat;
background-position: top left;
font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
font-size: 16px;
color: #333;
}
* {
box-sizing: border-box;
}
input, button, select, option, textarea {
font-size: 100%;
}
header {
background-color: #777;
padding: 15px;
text-align: center;
font-size: 18px;
color: white;
}
header a {
color: white;
}
footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #777;
padding: 10px;
text-align: center;
color: white;
font-size: 14px;
}
footer a {
color: white;
}
section {
padding: 20px;
display: inline-block;
width: 100%;
background-color: white;
}
article {
margin: auto;
width: 100%;
font-size: 16px;
border: 2px solid #777;
padding: 15px;
background-color: f1f1f1;
max-width: 900px;
}
table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
table td, table th {
border: 1px solid #ddd;
padding: 8px;
}
table tr:nth-child(even) {
background-color: #f2f2f2;
}
table tr:hover {background-color: #ddd;}
table th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #777;
color: white;
}
</style>
<title><% title %></title>
</head>
<body>
<header>
<a href="<% request.uri_base %>/">Home</a> <a href="<% request.uri_base %>/logout">Logout</a>
</header>
<section>
<article>
<% content %>
</article>
</section>
<footer>
Powered by <a href="http://perldancer.org/">Dancer2</a> <% dancer_version %>
</footer>
</body>
</html>
|