whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Remove unneeded code
Date Fri, 31 May 2019 21:20:16 GMT
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 fb91447  Remove unneeded code
fb91447 is described below

commit fb9144785384161fdb39254a0316688141f13b21
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Fri May 31 17:20:07 2019 -0400

    Remove unneeded code
---
 www/roster/banner.rb | 54 ----------------------------------------------------
 www/roster/main.rb   |  1 -
 2 files changed, 55 deletions(-)

diff --git a/www/roster/banner.rb b/www/roster/banner.rb
deleted file mode 100644
index ac56a8b..0000000
--- a/www/roster/banner.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# common banner
-#
-
-class Wunderbar::HtmlMarkup
-  def _banner(args)
-    _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
-        _div.col_sm_3.col_xs_3 do
-          _a href: '/' do
-            _img title: 'Whimsy logo', alt: 'Whimsy hat', src: '/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
-  end
-end
diff --git a/www/roster/main.rb b/www/roster/main.rb
index 7971489..2badf7f 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -20,7 +20,6 @@ require 'wunderbar/jquery/stupidtable'
 require 'ruby2js/filter/functions'
 require 'ruby2js/filter/require'
 
-require_relative 'banner'
 require_relative 'models'
 
 disable :logging # suppress log of requests to stderr/error.log


Mime
View raw message