mailcatcher/views/index.haml
2011-06-12 14:00:59 +08:00

52 lines
1.5 KiB
Plaintext

!!!
%html
%head
%title MailCatcher
%link{:rel => "stylesheet", :href => "/stylesheets/application.css"}
%script{:src => "/javascripts/modernizr.js"}
%script{:src => "/javascripts/jquery.js"}
%script{:src => "/javascripts/date.js"}
%script{:src => "/javascripts/application.js"}
%body
%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
%table
%thead
%tr
%th From
%th To
%th Subject
%th Received
%tbody
%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
%ul
%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.action.download
%a.button{:href => '#'}
%span Download
%iframe.body