mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-04 08:06:23 -07:00
fixed database handling, fixed http handles, fixed configuration handling, added preliminary templating, etc
This commit is contained in:
parent
e6f6124a1f
commit
68b8c03980
45 changed files with 2742 additions and 632 deletions
12
templates/error.html
Normal file
12
templates/error.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Error :c</title>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<h1>Error!</h1>
|
||||
<h2>{ERRORTEXT}</h2>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +1,14 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{SITE_NAME}</title>
|
||||
<script type="text/javascript" src="/javascript/jquery/jquery-1.7.2.min.js"></script>
|
||||
<script type="text/javascript" src="/javascript/gochan.js"></script>
|
||||
{link css}
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<h1>{SITE_NAME}</h1>
|
||||
<h2>{SITE_SLOGAN}</h2>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
</div>
|
||||
<div id="footer">
|
||||
<a href="{{.SiteWebfolder}}">Home</a> | <a href="{{.SiteWebfolder}}#boards">Boards</a> | <a href="{{.SiteWebfolder}}#rules">Rules</a> | <a href="{{.SiteWebfolder}}#faq">FAQ</a><br />
|
||||
Powered by Kusaba v{{.Version}}<br />
|
||||
Generated in over 9000 hours
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
var board_type = "img";
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/css/global/front.css" />
|
||||
{{range $i, $style := .Styles_img}}
|
||||
<link rel="{{if isStyleNotDefault_img $style}}alternate {{end}}stylesheet" href="/css/{{$style}}/img.css" />{{end}}
|
||||
<script type="text/javascript">
|
||||
var board_type = "img";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<link rel="stylesheet" href="/css/global/manage.css" />
|
||||
{{range $i, $style := .Styles_img}}
|
||||
<link rel="{{if isStyleNotDefault_img $style}}alternate {{end}}stylesheet" href="/css/{{$style}}/manage.css" />{{end}}
|
||||
|
||||
<title>Gochan Manage page</title>
|
||||
<script type="text/javascript" src="/javascript/jquery/jquery-1.7.2.min.js"></script>
|
||||
<script type="text/javascript" src="/javascript/gochan.js"></script>
|
||||
|
||||
{link css}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<body>
|
Loading…
Add table
Add a link
Reference in a new issue