You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/06 17:27:52 UTC

[whimsy] branch master updated: headers

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  ebbd50a   headers
ebbd50a is described below

commit ebbd50a82425dcf932e2defe0bdbbbe4a6733ab5
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Sep 6 13:27:40 2016 -0400

    headers
---
 www/secmail/public/secmail.css  | 4 ++++
 www/secmail/views/index.html.rb | 6 ++++++
 www/secmail/views/parts.html.rb | 8 ++++++++
 3 files changed, 18 insertions(+)

diff --git a/www/secmail/public/secmail.css b/www/secmail/public/secmail.css
index b861779..ed740ba 100644
--- a/www/secmail/public/secmail.css
+++ b/www/secmail/public/secmail.css
@@ -1,3 +1,7 @@
+header h1 {
+  margin-top: 0;
+}
+
 #index table {
   margin-left: 8px;
 }
diff --git a/www/secmail/views/index.html.rb b/www/secmail/views/index.html.rb
index f2cfc9d..da06d39 100644
--- a/www/secmail/views/index.html.rb
+++ b/www/secmail/views/index.html.rb
@@ -1,6 +1,12 @@
 _html do
   _link rel: 'stylesheet', type: 'text/css', href: "secmail.css?#{@cssmtime}"
 
+  _header_ do
+    _h1.bg_success do
+      _a 'Secretary Mail', href: '../..', target: '_parent'
+    end
+  end
+
   _div.index!
 
   _script src: 'app.js'
diff --git a/www/secmail/views/parts.html.rb b/www/secmail/views/parts.html.rb
index f487b1a..750dd9d 100644
--- a/www/secmail/views/parts.html.rb
+++ b/www/secmail/views/parts.html.rb
@@ -6,6 +6,12 @@ _html do
   _link rel: 'stylesheet', type: 'text/css', 
     href: "../../secmail.css?#{@cssmtime}"
 
+  _header_ do
+    _h1.bg_success do
+      _a 'Secretary Mail', href: '../..', target: '_parent'
+    end
+  end
+
   _ul_ do
     _li! {_a 'text', href: '_body_', target: 'content'}
     _li! {_a 'headers', href: '_headers_', target: 'content'}
@@ -19,6 +25,8 @@ _html do
     _Parts attachments: @attachments, headers: @headers
   end
 
+  _hr_
+
   _h4_ 'Links'
   _ul do
     _li do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].