diff --git a/app/views/Application/Index.html b/app/views/Application/Index.html index d20729a..2f603c1 100644 --- a/app/views/Application/Index.html +++ b/app/views/Application/Index.html @@ -3,13 +3,10 @@ {{template "menu.html" .}}
-

Inbucket

- -
- Enter a username to view their mailbox - - -
+

Inbucket is an email testing service; it will accept email for any email + address and make it available to view without a password.

+

To view email for a particular address, enter the username portion + of the address into the box on the upper right and click go.

{{template "footer.html" .}} diff --git a/app/views/Mailbox/List.html b/app/views/Mailbox/List.html index 4b4c438..16cf461 100644 --- a/app/views/Mailbox/List.html +++ b/app/views/Mailbox/List.html @@ -1,5 +1,24 @@ {{template "header.html" .}} {{$name := .name}} + +
{{range .messages}} -
+ {{else}}
- No messages! +

No messages!

{{end}}
-

Select a message at left, or enter a different username into the box on upper right.

+
+

Select a message at left, or enter a different username into the box on upper right.

+
{{template "footer.html" .}} diff --git a/app/views/Mailbox/Show.html b/app/views/Mailbox/Show.html index d33e0e0..a0fd0ea 100644 --- a/app/views/Mailbox/Show.html +++ b/app/views/Mailbox/Show.html @@ -1,7 +1,4 @@ -{{template "header.html" .}} - -

{{.message.Subject}}

- +
@@ -11,8 +8,7 @@
From: {{.message.From}}{{.message.Date}}
+

{{.message.Subject}}

-
{{.body}}
- -{{template "footer.html" .}} +
{{.body}}
diff --git a/app/views/header.html b/app/views/header.html index 58fd444..a483983 100644 --- a/app/views/header.html +++ b/app/views/header.html @@ -10,7 +10,7 @@ Released for free under a Creative Commons Attribution 2.5 License {{.title}} - + {{range .moreStyles}} {{end}} @@ -22,7 +22,7 @@ Released for free under a Creative Commons Attribution 2.5 License