diff --git a/themes/bootstrap/public/inbucket.css b/themes/bootstrap/public/inbucket.css index e897437..3d5f0fd 100644 --- a/themes/bootstrap/public/inbucket.css +++ b/themes/bootstrap/public/inbucket.css @@ -10,7 +10,8 @@ body { } .mailbox-header { - font-size: 20px; + text-align: center; + font-size: 18px; } .footer { @@ -26,17 +27,34 @@ body { margin: 20px 0; } +.message-controls { + padding: 10px 0; +} + #emailContent { padding-bottom: 20px; } -#emailHeader { - border-collapse: collapse; +.message-header dl { + margin-bottom: 0; } -#emailHeader th, #emailHeader td { - text-align: left; - padding: 0 3px 3px 0; +@media (min-width: 768px) { + .message-header .dl-horizontal dt { + width: 60px; + } + + .message-header .dl-horizontal dd { + margin-left: 70px; + } +} + +.message-attachments { + margin-top: 20px; +} + +.message-attachments ul { + margin: 0 } #emailSubject { @@ -50,23 +68,6 @@ body { margin-top: 15px; } -#emailActions { - padding: 5px 0; - margin: 0 0 10px 0; -} - -#emailActions a { - background: #8ac6dc; - color: #fff; - text-decoration: none; - font-weight: bold; - padding: 5px; -} - -#emailActions a:hover { - background: #becf74; -} - .errors { background-color: #ffa0a0; color: #333; diff --git a/themes/bootstrap/templates/mailbox/_show.html b/themes/bootstrap/templates/mailbox/_show.html index 4ca2c55..16d5d82 100644 --- a/themes/bootstrap/templates/mailbox/_show.html +++ b/themes/bootstrap/templates/mailbox/_show.html @@ -1,39 +1,60 @@ {{$name := .name}} {{$id := .message.Id}} -
- Link - Delete - Source +
+ + + {{if .htmlAvailable}} - HTML + {{end}}
- - - - - - - - - -
From:{{.message.From}}
Date:{{.message.Date}}
+ +
+
+
From:
+
{{.message.From}}
+
Date:
+
{{.message.Date}}
+
Subject:
+
{{.message.Subject}}
+
+
+ +
{{.body}}
{{with .attachments}} -
- - {{range $i, $e := .}} - - - - - - - {{end}} -
Attachments:
{{$e.FileName}}({{$e.ContentType}})ViewDownload
+
+
+
    + {{range $i, $e := .}} +
  • + {{$e.FileName}} + ({{$e.ContentType}}) + View + Download +
  • + {{end}} +
+
+
{{end}} - -

{{.message.Subject}}

- -
{{.body}}
- diff --git a/themes/bootstrap/templates/mailbox/index.html b/themes/bootstrap/templates/mailbox/index.html index cd7cfb5..62b5808 100644 --- a/themes/bootstrap/templates/mailbox/index.html +++ b/themes/bootstrap/templates/mailbox/index.html @@ -69,7 +69,7 @@ {{define "content"}}
-
+
{{.name}}