mailcatcher/views/index.haml

57 lines
1.6 KiB
Plaintext
Raw Normal View History

2010-10-24 20:51:17 -04:00
!!!
2011-07-07 04:08:32 -04:00
%html.mailcatcher
2010-10-24 20:51:17 -04:00
%head
2014-03-25 21:30:00 -04:00
%title MailCatcher
%link{:href => "/favicon.ico", :rel => "icon"}
= stylesheet_tag "mailcatcher"
= javascript_tag "mailcatcher"
2010-10-24 20:51:17 -04:00
%body
2011-05-31 12:40:13 -04:00
%header
%h1
2014-03-17 04:35:58 -04:00
%a{:href => "http://mailcatcher.me", :target => "_blank"} MailCatcher
2011-05-31 12:40:13 -04:00
%nav.app
%ul
2012-03-12 06:31:28 -04:00
%li.search
2014-03-17 04:35:58 -04:00
%input{:type => "search", :name => "search", :placeholder => "Search messages...", :incremental => true}
2011-05-31 12:40:13 -04:00
%li.clear
2014-03-17 04:35:58 -04:00
%a{:href => "#", :title => "Clear all messages"} Clear
- unless MailCatcher.options[:no_exit]
%li.quit
2014-03-17 04:35:58 -04:00
%a{:href => "#", :title => "Quit MailCatcher"} Quit
2011-05-31 12:40:13 -04:00
%nav#messages
2010-10-24 20:51:17 -04:00
%table
%thead
2011-05-29 02:49:29 -04:00
%tr
%th From
%th To
%th Subject
%th Received
2010-10-24 20:51:17 -04:00
%tbody
#resizer
.ruler
2011-05-31 12:40:13 -04:00
%article#message
%header
%dl.metadata
%dt.created_at Received
%dd.created_at
%dt.from From
%dd.from
%dt.to To
%dd.to
%dt.subject Subject
%dd.subject
%dt.attachments Attachments
%dd.attachments
%nav.views
2010-10-24 20:51:17 -04:00
%ul
2014-03-17 04:35:58 -04:00
%li.format.tab.html.selected{"data-message-format" => "html"}
%a{:href => "#"} HTML
%li.format.tab.plain{"data-message-format" => "plain"}
%a{:href => "#"} Plain Text
%li.format.tab.source{"data-message-format" => "source"}
%a{:href => "#"} Source
%li.action.download
2014-03-17 04:35:58 -04:00
%a.button{:href => "#"}
2011-05-31 12:40:13 -04:00
%span Download
2011-05-27 09:46:12 -04:00
%iframe.body