SVNからのミラー

This commit is contained in:
2026-01-21 03:36:58 +09:00
commit 965aae7f57
26 changed files with 1101 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" .}}

14
view/footer.html Normal file
View File

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

22
view/header.html Normal file
View File

@@ -0,0 +1,22 @@
{{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="URLロリ" />
<meta name="description" content="クッソ小さいURL短縮作成ソフトだわ〜♡" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>URLロリ〜{{.Tit}}</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>
{{end}}

26
view/index.html Normal file
View File

@@ -0,0 +1,26 @@
{{template "header" .}}
<div class="form">
<form action="/" method="POST">
<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"}}"
/>
</form>
</div>
<hr />
{{.T "enterurl"}}
<div class="form">
<form action="/" method="POST">
<input type="text" name="newadd" value="" />
<div class="submit">
<input type="submit" name="sosin" value="{{.T "submit"}}" />
</div>
</form>
</div>
{{template "footer" .}}

7
view/submitted.html Normal file
View File

@@ -0,0 +1,7 @@
{{template "header" .}}
{{.T "canunderaccess"}}
<br />
<a href="{{ .Dom }}/{{ .Url }}">{{ .Dom }}/{{ .Url }}</a>
<br /><br />
<a href="/">{{.T "totop"}}</a>
{{template "footer" .}}