mailcatcher/views/index.haml

65 lines
2.0 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
%title MailCatcher
%link{:rel => "stylesheet", :href => "/stylesheets/application.css"}
2012-10-20 09:24:14 -04:00
%link{:href => "/favicon.ico", :rel => "shortcut icon" }
2011-06-12 01:32:01 -04:00
%script{:src => "/javascripts/modernizr.js"}
%script{:src => "/javascripts/jquery.js"}
2011-12-22 14:33:45 -05:00
%script{:src => "/javascripts/xslt-3.2.js"}
2011-05-27 09:46:12 -04:00
%script{:src => "/javascripts/date.js"}
%script{:src => "/javascripts/flexie.min.js"}
2012-04-19 11:26:40 -04:00
%script{:src => "/javascripts/keymaster.min.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
2012-03-12 06:31:28 -04:00
%li.search
%input{:type => 'search', :name => 'search', :placeholder => 'Search messages...', :incremental => true}
2011-05-31 12:40:13 -04:00
%li.clear
%a{:href => '#', :title => 'Clear all messages'} Clear
- unless MailCatcher.options[:no_exit]
%li.quit
%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
%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
2011-07-07 04:08:32 -04:00
%li.tab.analysis
%a{:href => '#'}Analysis
%li.action.download
%a.button{:href => '#'}
2011-05-31 12:40:13 -04:00
%span Download
2011-05-27 09:46:12 -04:00
%iframe.body