mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 01:57:02 +00:00
The main index template renders now!
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 8.7 KiB |
@@ -4,19 +4,21 @@ Design by Free CSS Templates
|
||||
http://www.freecsstemplates.org
|
||||
Released for free under a Creative Commons Attribution 2.5 License
|
||||
-->
|
||||
{{define "col1menu"}}{{/* Used inside #content div */}}
|
||||
<div id="colOne">
|
||||
<div id="logo">
|
||||
<h1><a href="#">inbucket</a></h1>
|
||||
<h2>email testing service</h2>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>{{.title}}</title>
|
||||
<link href="/public/stylesheets/main.css" rel="stylesheet" type="text/css" />
|
||||
<title>{{template "title" .}}</title>
|
||||
<link href="/public/main.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="shortcut icon" type="image/png" href="/public/images/favicon.png">
|
||||
<script src="/public/js/jquery-1.5.2.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
{{range .moreStyles}}
|
||||
<link rel="stylesheet" type="text/css" href="/public/{{.}}">
|
||||
{{end}}
|
||||
{{range .moreScripts}}
|
||||
<script src="/public/{{.}}" type="text/javascript" charset="utf-8"></script>
|
||||
{{end}}
|
||||
<script src="/public/jquery-1.5.2.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
@@ -32,3 +34,12 @@ Released for free under a Creative Commons Attribution 2.5 License
|
||||
</form>
|
||||
</div>
|
||||
<div id="content">
|
||||
{{template "content" .}}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p>Inbucket is an open source project hosted at
|
||||
<a href="http://github.com/jhillyerd/inbucket/">github</a>.
|
||||
Design by <a href="http://www.freecsstemplates.org/">FCT</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,8 +0,0 @@
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p>Inbucket is an open source project hosted at
|
||||
<a href="http://github.com/jhillyerd/inbucket/">github</a>.
|
||||
Design by <a href="http://www.freecsstemplates.org/">FCT</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,15 +1,11 @@
|
||||
{{set "title" "Inbucket" .}}
|
||||
{{template "header.html" .}}
|
||||
{{template "menu.html" .}}
|
||||
|
||||
{{define "title"}}Inbucket{{end}}
|
||||
{{define "content"}}
|
||||
{{template "col1menu" .}}
|
||||
<div id="colTwo">
|
||||
{{template "errors.html" .}}
|
||||
|
||||
<p>Inbucket is an email testing service; it will accept email for any email
|
||||
address and make it available to view without a password.</p>
|
||||
<p>To view email for a particular address, enter the username portion
|
||||
of the address into the box on the upper right and click <em>go</em>.</p>
|
||||
</div>
|
||||
|
||||
{{template "footer.html" .}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user