mailcatcher/views/index.haml

51 lines
1.4 KiB
Plaintext
Raw Normal View History

2010-10-24 20:51:17 -04:00
!!!
%html
%head
%title MailCatcher
%link{:rel => "stylesheet", :href => "/stylesheets/application.css"}
%script{:src => "/javascripts/jquery.js"}
2011-05-27 09:46:12 -04:00
%script{:src => "/javascripts/date.js"}
%script{:src => "/javascripts/application.js"}
2010-10-24 20:51:17 -04:00
%body
2011-05-31 12:40:13 -04:00
%header
%h1
%a{:href => "http://mailcatcher.me", :target => '_blank'} MailCatcher
%nav.app
%ul
%li.clear
%a{:href => '#', :title => 'Clear all messages'} Clear
%li.quit
%a{:href => '#', :title => 'Quit MailCatcher'} Quit
%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
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
%ul
%nav.views
2010-10-24 20:51:17 -04:00
%ul
2011-05-31 12:40:13 -04:00
%li.format.tab.html.selected{'data-message-format' => 'html'} HTML
%li.format.tab.plain{'data-message-format' => 'plain'} Plain Text
%li.format.tab.source{'data-message-format' => 'source'} Source
%li.button.download
%a{:href => '#'}
%span Download
2011-05-27 09:46:12 -04:00
%iframe.body