Skip to content

Commit

Permalink
Cleaning up index page, styles, Gemfile, Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
LightGuard committed May 20, 2013
1 parent f1d1b2c commit f88a267
Show file tree
Hide file tree
Showing 12 changed files with 207 additions and 7,526 deletions.
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# A sample Gemfile
source "https://rubygems.org"

gem 'awestruct', '~> 0.5.1'
gem 'awestruct', '0.5.0'
gem 'haml', '~> 4.0.2'
gem 'bootstrap-sass', '~> 2.3.1.0'

group :development do
gem 'rake', '~> 10.0.4'
end
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
awestruct (0.5.1)
awestruct (0.5.0)
bootstrap-sass (~> 2.3.1.0)
compass (~> 0.12.1)
compass-960-plugin (~> 0.10.4)
Expand All @@ -14,7 +14,6 @@ GEM
rest-client (~> 1.6.7)
ruby-s3cmd (~> 0.1.5)
tilt (~> 1.3.6)
zurb-foundation (~> 4.0.9)
bootstrap-sass (2.3.1.0)
sass (~> 3.2)
chunky_png (1.2.8)
Expand All @@ -33,17 +32,18 @@ GEM
mime-types (1.23)
nokogiri (1.5.9)
rack (1.5.2)
rake (10.0.4)
rest-client (1.6.7)
mime-types (>= 1.16)
ruby-s3cmd (0.1.5)
sass (3.2.9)
tilt (1.3.7)
zurb-foundation (4.0.9)
sass (>= 3.2.0)

PLATFORMS
ruby

DEPENDENCIES
awestruct (~> 0.5.1)
awestruct (= 0.5.0)
bootstrap-sass (~> 2.3.1.0)
haml (~> 4.0.2)
rake (~> 10.0.4)
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# Now you're Awestruct with rake!

$use_bundle_exec = true
$install_gems = ['awestruct -v "~> 0.5.0"', 'rb-inotify -v "~> 0.9.0"']
$install_gems = ['awestruct -v "~> 0.5.1"', 'rb-inotify -v "~> 0.9.0"']
$awestruct_cmd = nil
task :default => :preview

Expand Down
29 changes: 0 additions & 29 deletions _layouts/_base.html.haml

This file was deleted.

64 changes: 0 additions & 64 deletions _layouts/_newbase.html.haml

This file was deleted.

109 changes: 109 additions & 0 deletions _layouts/base.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
!!!5
%html
%head
%meta{ :charset=>'utf-8' }
%title JBoss Migration
%meta{ :name=>'viewport', :content=>'width=device-width, initial-scale=1.0' }
%meta{:name=>'description', :content=>''}
%meta{:name=>'author', :content=>''}
%link{ :rel=>'stylesheet', :type=>'text/css', :href=>"#{site.base_url}/stylesheets/styles.css" }
%link{:rel=>"shortcut icon", :href=>"#{site.base_url}/images/favicon.ico"}
/[if lt IE 9]
%script{ :type=>'text/javascript', :src=>'//html5shim.googlecode.com/svn/trunk/html5.js' }
%body
.container
.row
%img{:src=>"#{site.base_url}/images/migration-1180px.png"}
.row
.navbar.navbar-inverse
.navbar-inner
%ul.nav
%li.migrNavBtn
%a{:href=>"/"}Home
%li.dropdown.migrNavBtn
%a.dropdown-toggle{:id=>"fran_drop", :href=>"#", :"data-toggle"=>"dropdown"}Learn<b class="caret"></b>
%ul.dropdown-menu.migrDropdownMenu{:role=>"menu", :"arialabledby"=>"fran_drop"}
%li
%a{:href=>"#{site.base_url}/common/learn.html"}Learn JBoss EAP
%li.divider
%li
%a{:href=>"#{site.base_url}/common/migrationDrivers.html"}Why Migrate?
%li.divider
%li
%a{:href=>"#{site.base_url}/common/migrationPlanning.html"}Migrate Planning Sheet
%li.migrNavBtn
%a{:href=>"#{site.base_url}/common/discover.html"}Discover
%li.dropdown.migrNavBtn
%a.dropdown-toggle{:id=>"fran_drop", :href=>"#", :"data-toggle"=>"dropdown"}Implement<b class="caret"></b>
%ul.dropdown-menu.migrDropdownMenu{:role=>"menu", :"arialabledby"=>"fran_drop"}
%li
%a{:href=>"#{site.base_url}/common/implement.html", :role=>"menuitem"}Implement
%li.divider
%li
%a{:href=>"#{site.base_url}/platforms/eap.html", :role=>"menuitem"}JBoss EAP
%li.divider
%li
%a{:href=>"#{site.base_url}/platforms/weblogic.html", :role=>"menuitem"}Oracle weblogic
.row
~ content
.row
%hr
%footer
%div.redhatlogo{:style=>"text-align:center;"}
%a{:href=>"http://www.redhat.com/"}
%img{:src=>"http://static.jboss.org/theme/images/common/redhat_logo.png"}
%p &copy; Red Hat Inc. #{Date.today.year}
- if site.google_analytics
= google_analytics_async
-# begin eloqua tracking
%script{ :type=>"text/javascript", :src=>"#{site.metrics_base_url}/j/elqNow/elqCfg.js"}
%script{ :type=>"text/javascript", :src=>"#{site.metrics_base_url}/j/elqNow/elqImg.js"}
-# end eloqua tracking

-# SiteCatalyst code version: H.25.4
-# Copyright 1996-2013 Adobe, Inc. All Rights Reserved
-# More info available at http://www.omniture.com
#oTags
%script{:type=>"text/javascript", :src=>"#{site.metrics_base_url}/j/s_code.js"}
:javascript
var coreUrl = encodeURI(document.URL.split("?")[0]);
var urlSplit = coreUrl.toLowerCase().split(/\//);
var urlLast = urlSplit[urlSplit.length-1];
var pageNameString = "";
var siteName = "";
var minorSectionIndex = 3
if (urlLast == "") {
urlSplit.splice(-1,1);
}
if (urlLast.search(/\./) >= 0) {
if (urlLast == "index.html") {
urlSplit.splice(-1,1);
}
else {
urlSplit[urlSplit.length-1] = urlLast.split(".").splice(0,1);
}
}
siteName = urlSplit[2].split(".")[1];
s.prop14 = s.eVar27 = siteName || "";
s.prop15 = s.eVar28 = urlSplit[minorSectionIndex] || "";
s.prop16 = s.eVar29 = urlSplit[minorSectionIndex+1] || "";
pageNameString = urlSplit.splice(3).join(" | ");
s.pageName = "jboss | developer | migration | " + pageNameString;
s.channel = "jboss | developer";
s.prop4 = s.eVar23 = encodeURI(document.URL);
s.prop21 = s.eVar18 = coreUrl;
s.prop2 = s.eVar22 = "en";
s.prop3 = s.eVar19 = "us";

%script{:type=>"text/javascript", :src=>"#{site.metrics_base_url}/j/rh_omni_footer.js"}
%script{:type=>"text/javascript", :language=>"JavaScript"}
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
%noscript
%a{:href=>"http://www.omniture.com", :title=>"Web Analytics"}
%img{:src=>"https://smtrcs.redhat.com/b/ss/redhatcom,redhatglobal/1/H.25.4--NS/0?[AQB]&cdp=3&[AQE]",
:height=>"1", :width=>"1", :border=>"0", :alt=>""}

-# End SiteCatalyst code version: H.25.4
-# Uncomment script tags (remove leading -#) when you're ready to use behaviors
%script{ :type=>'text/javascript', :src=>'//cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js' }
%script{ :type=>'text/javascript', :src=>'//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js' }
Loading

0 comments on commit f88a267

Please sign in to comment.