You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2017/04/13 20:49:13 UTC
[whimsy] branch master updated: Apply common mobile-compatible
header for roster
This is an automated email from the ASF dual-hosted git repository.
curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 186c162 Apply common mobile-compatible header for roster
186c162 is described below
commit 186c1628ccaa9990706d9d71fd33d2eb13c38f4a
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Thu Apr 13 16:49:09 2017 -0400
Apply common mobile-compatible header for roster
---
www/roster/banner.rb | 62 +++++++++++++++++++++++++++++++++++-----------------
1 file changed, 42 insertions(+), 20 deletions(-)
diff --git a/www/roster/banner.rb b/www/roster/banner.rb
index c1ec93d..08822f8 100644
--- a/www/roster/banner.rb
+++ b/www/roster/banner.rb
@@ -4,27 +4,49 @@
class Wunderbar::HtmlMarkup
def _banner(args)
- # logo
- _a href: 'http://www.apache.org/' do
- _img alt: 'ASF Logo', title: 'ASF Logo',
- src: 'https://www.apache.org/foundation/press/kit/asf_logo_small.png'
- end
- _a href: '/' do
- _img alt: 'Whimsy logo', title: 'Whimsy logo',
- src: "../whimsy.svg", width: "140"
- end
-
- # breadcrumbs
- if args[:breadcrumbs]
- _div.breadcrumbs do
- _a href: 'http://www.apache.org' do
- _span.glyphicon.glyphicon_home
+ _div.header.container_fluid do
+ _div.row do
+ _div.col_sm_4.hidden_xs do
+ _a href: 'https://www.apache.org/' do
+ _img title: 'ASF Logo', alt: 'ASF Logo', width: 250, height: 101,
+ style: "margin-left: 10px; margin-top: 10px;",
+ src: 'https://www.apache.org/foundation/press/kit/asf_logo_small.png'
+ end
end
-
- _a 'whimsy', href: '/'
- args[:breadcrumbs].each do |name, link|
- _span "\u00BB"
- _a name.to_s, href: link
+ _div.col_sm_3.col_xs_3 do
+ _a href: '/' do
+ _img title: 'Whimsy logo', alt: 'Whimsy hat', src: 'https://whimsy.apache.org/whimsy.svg', width: 145, height: 101
+ end
+ end
+ _div.col_sm_5.col_xs_9.align_bottom do
+ _ul class: 'nav nav-tabs' do
+ _li role: 'presentation' do
+ _a 'Code', href: 'https://github.com/apache/whimsy/'
+ end
+ _li role: 'presentation' do
+ _a 'Questions', href: 'https://lists.apache.org/list.html?dev@whimsical.apache.org'
+ end
+ _li role: 'presentation' do
+ _a 'About', href: '/technology'
+ end
+ _li role: 'presentation' do
+ _span.badge id: 'script-ok'
+ end
+ end
+ end
+ end
+ # breadcrumbs
+ if args[:breadcrumbs]
+ _div.breadcrumbs do
+ _a href: 'http://www.apache.org' do
+ _span.glyphicon.glyphicon_home
+ end
+
+ _a 'whimsy', href: '/'
+ args[:breadcrumbs].each do |name, link|
+ _span "\u00BB"
+ _a name.to_s, href: link
+ end
end
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].