mailcatcher 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -82,7 +82,7 @@ Thanks also to [The Frontier Group][tfg] for giving me the idea, being great gui
82
82
 
83
83
  ## Donations
84
84
 
85
- I work on MailCatcher mostly in my own spare time. If you've found Mailcatcher useful and would like to help feed me and fund continued development and new features, please [donate via PayPal](donate). If you'd like a specific feature added to MailCatcher and are willing to pay for it, please [email me](mailto:sj26@sj26.com).
85
+ I work on MailCatcher mostly in my own spare time. If you've found Mailcatcher useful and would like to help feed me and fund continued development and new features, please [donate via PayPal][donate]. If you'd like a specific feature added to MailCatcher and are willing to pay for it, please [email me](mailto:sj26@sj26.com).
86
86
 
87
87
  ## License
88
88
 
@@ -99,7 +99,7 @@
99
99
  } else {
100
100
  $('#message .metadata .attachments').hide();
101
101
  }
102
- $('#message .actions .download a').attr('href', "/messages/" + id + ".eml");
102
+ $('#message .views .download a').attr('href', "/messages/" + id + ".eml");
103
103
  return this.loadMessageBody();
104
104
  }, this));
105
105
  }
@@ -136,13 +136,26 @@ body > header {
136
136
  font-weight: bold;
137
137
  color: #666666;
138
138
  text-shadow: 0 1px 0 white; }
139
- #messages table tbody tr:nth-child(even) {
140
- background: #f0f0f0; }
141
- #messages table tbody tr.selected {
142
- background: Highlight;
143
- color: HighlightText; }
144
- #messages table tbody tr td {
145
- padding: 0.25em; }
139
+ #messages table tbody tr {
140
+ cursor: pointer;
141
+ -moz-transition-property: 0.1s ease;
142
+ -webkit-transition-property: 0.1s ease;
143
+ -o-transition-property: 0.1s ease;
144
+ transition-property: 0.1s ease;
145
+ -moz-transition-duration: 1s;
146
+ -webkit-transition-duration: 1s;
147
+ -o-transition-duration: 1s;
148
+ transition-duration: 1s;
149
+ color: #333333; }
150
+ #messages table tbody tr:hover {
151
+ color: black; }
152
+ #messages table tbody tr:nth-child(even) {
153
+ background: #f0f0f0; }
154
+ #messages table tbody tr.selected {
155
+ background: Highlight;
156
+ color: HighlightText; }
157
+ #messages table tbody tr td {
158
+ padding: 0.25em; }
146
159
 
147
160
  #message {
148
161
  display: -moz-box;
@@ -0,0 +1,71 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <title>MailCatcher</title>
5
+ <link href='/stylesheets/application.css' rel='stylesheet' />
6
+ <script src='/javascripts/jquery.js'></script>
7
+ <script src='/javascripts/date.js'></script>
8
+ <script src='/javascripts/application.js'></script>
9
+ </head>
10
+ <body>
11
+ <header>
12
+ <h1>
13
+ <a href='http://mailcatcher.me' target='_blank'>MailCatcher</a>
14
+ </h1>
15
+ <nav class='app'>
16
+ <ul>
17
+ <li class='clear'>
18
+ <a href='#' title='Clear all messages'>Clear</a>
19
+ </li>
20
+ <li class='quit'>
21
+ <a href='#' title='Quit MailCatcher'>Quit</a>
22
+ </li>
23
+ </ul>
24
+ </nav>
25
+ </header>
26
+ <nav id='messages'>
27
+ <table>
28
+ <thead>
29
+ <tr>
30
+ <th>From</th>
31
+ <th>To</th>
32
+ <th>Subject</th>
33
+ <th>Received</th>
34
+ </tr>
35
+ </thead>
36
+ <tbody></tbody>
37
+ </table>
38
+ </nav>
39
+ <article id='message'>
40
+ <header>
41
+ <dl class='metadata'>
42
+ <dt class='created_at'>Received</dt>
43
+ <dd class='created_at'></dd>
44
+ <dt class='from'>From</dt>
45
+ <dd class='from'></dd>
46
+ <dt class='to'>To</dt>
47
+ <dd class='to'></dd>
48
+ <dt class='subject'>Subject</dt>
49
+ <dd class='subject'></dd>
50
+ <dt class='attachments'>Attachments</dt>
51
+ <dd class='attachments'>
52
+ <ul></ul>
53
+ </dd>
54
+ </dl>
55
+ <nav class='views'>
56
+ <ul>
57
+ <li class='format tab html selected' data-message-format='html'>HTML</li>
58
+ <li class='format tab plain' data-message-format='plain'>Plain Text</li>
59
+ <li class='format tab source' data-message-format='source'>Source</li>
60
+ <li class='button download'>
61
+ <a href='#'>
62
+ <span>Download</span>
63
+ </a>
64
+ </li>
65
+ </ul>
66
+ </nav>
67
+ </header>
68
+ <iframe class='body'></iframe>
69
+ </article>
70
+ </body>
71
+ </html>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.4
5
+ version: 0.4.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Samuel Cochran
@@ -159,6 +159,7 @@ files:
159
159
  - public/javascripts/jquery.js
160
160
  - public/stylesheets/application.css
161
161
  - views/index.haml
162
+ - views/index.html
162
163
  homepage: http://github.com/sj26/mailcatcher
163
164
  licenses: []
164
165