SVNからのミラー

This commit is contained in:
2026-01-21 03:59:11 +09:00
commit 8bc2fa7dfd
30 changed files with 1250 additions and 0 deletions

4
view/404.html Normal file
View File

@@ -0,0 +1,4 @@
{{template "header" .}}
{{ .Err }}<br />
<a href="/">{{.T "totop"}}</a>
{{template "footer" .}}

38
view/archive.html Normal file
View File

@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
.archhead {
background-color: #320202 !important;
display: block !important;
border: 4px #ff3b3b groove !important;
color: #ea8181 !important;
padding: 10px !important;
z-index: 999999 !important;
position: fixed !important;
left: 0 !important;
top: 0 !important;
font-size: 18px !important;
font-family: unset !important;
width: 100% !important;
text-align: left !important;
}
.archbody {
padding-top: 74px !important;
}
.archlink {
color: #ffeb3b !important;
}
</style>
</head>
<body>
<div class="archhead">
{{.T "archwhozonsite"}} <a class="archlink" href="https://technicalsuwako.moe/blog/hozonsite-{{.Ves}}">hozonsite-{{ .Ver }}</a><br />
<a class="archlink" href="/">{{.T "tophe"}}</a>
</div>
<div class="archbody">
{{ .Body }}
</div>
</body>
</html>

20
view/check.html Normal file
View File

@@ -0,0 +1,20 @@
{{template "header" .}}
<h3>{{.Url}}</h3>
{{.T "areadyhozon"}}<br />
{{range $i, $e := .Ext}}
<a href="{{$e.Url}}">
{{$e.Date}}
</a>
<br />
{{end}}
<p>
{{.T "willreallyhozon"}}
</p>
<form action="/" method="post">
<input type="hidden" name="hozonsite" value="{{.Url}}" />
<input type="hidden" name="agree" value="1" />
<div class="submit">
<input type="submit" name="submit" value="{{.T "yesreallyhozon"}}" />
</div>
</form>
{{template "footer" .}}

12
view/footer.html Normal file
View File

@@ -0,0 +1,12 @@
{{define "footer"}}
</div>
</div>
<div class="footer">
<a href="https://gitler.moe/suwako/hozonsite"><img src="/static/git.png" alt="Git" /></a> |
<a href="https://076.moe/"></a>
<br />
<a href="https://technicalsuwako.moe/blog/hozonsite-{{.Ves}}">hozonsite-{{.Ver}}</a>
</div>
</body>
</html>
{{end}}

32
view/header.html Normal file
View File

@@ -0,0 +1,32 @@
{{define "header"}}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="title" content="{{.T "hozonsite"}}" />
<meta name="description" content="{{.T "desc"}}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{.T "hozonsite"}}〜{{.T "top"}}</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>
<h1>
<img class="headerimg" src="/static/logo.jpg" alt="{{.T "logo"}}" />
</h1>
<div class="body">
<p>
<a href="/">{{.T "top"}}</a>
</p>
<form method="post" action="/">
<div class="central">
<select class="langchange" name="lang">
<option value="ja"{{if eq .Lan "ja"}} selected{{end}}>日本語</option>
<option value="en"{{if eq .Lan "en"}} selected{{end}}>English</option>
</select>
<input class="langchange" type="submit" name="langchange" value="{{.T "langchange"}}" />
</div>
</form>
<hr />
<div class="central">
{{end}}

9
view/index.html Normal file
View File

@@ -0,0 +1,9 @@
{{template "header" .}}
{{.T "topwhatsave"}}
<form action="/" method="post">
<input type="text" name="hozonsite" value="" />
<div class="submit">
<input type="submit" name="submit" value="{{.T "hozon"}}" />
</div>
</form>
{{template "footer" .}}