Permalink
Browse files

Improved the site to work on both http and https protocols automatica…

…lly.
  • Loading branch information...
1 parent 4ac1a32 commit c2e083cb7763223e09b8aacfe722b6223e8719bf @unibrew unibrew committed Jan 3, 2017
View
@@ -5,7 +5,7 @@ title: 404 Error
.row
.col-sm-7
- %img.img-responsive{:alt => "404 Error", :src => "http://static.jboss.org/example/images/404-error-graphic.png"}/
+ %img.img-responsive{:alt => "404 Error", :src => "https://static.jboss.org/example/images/404-error-graphic.png"}/
#error-404.col-sm-5
%h1 404
%p
View
@@ -50,15 +50,15 @@ wget:
- -e robots=off
- --directory-prefix=cache
urls:
- - http://static.jboss.org/theme/js/libs/jquery/jquery-1.9.1.js
- - http://static.jboss.org/theme/js/libs/jquery/jquery-1.9.1.min.js
- - http://static.jboss.org/theme/js/libs/html5/pre3.6/html5.min.js
- - http://static.jboss.org/theme/js/libs/prettify/188.0.0/prettify.min.js
- - http://static.jboss.org/theme/js/libs/holder/1.9/holder.js
- - http://static.jboss.org/theme/fonts/titilliumtext/
- - http://static.jboss.org/theme/fonts/font-awesome/
- - http://static.jboss.org/theme/images/common/
- - http://static.jboss.org/example/
+ - https://static.jboss.org/theme/js/libs/jquery/jquery-1.9.1.js
+ - https://static.jboss.org/theme/js/libs/jquery/jquery-1.9.1.min.js
+ - https://static.jboss.org/theme/js/libs/html5/pre3.6/html5.min.js
+ - https://static.jboss.org/theme/js/libs/prettify/188.0.0/prettify.min.js
+ - https://static.jboss.org/theme/js/libs/holder/1.9/holder.js
+ - https://static.jboss.org/theme/fonts/titilliumtext/
+ - https://static.jboss.org/theme/fonts/font-awesome/
+ - https://static.jboss.org/theme/images/common/
+ - https://static.jboss.org/example/
# Update resource URLs based on the profile
profiles:
@@ -73,13 +73,13 @@ profiles:
from: ../stylesheets
to: ./_site/stylesheets-source
staging:
- jborg_fonts_url: http://static.jboss.org/theme/fonts
- jborg_images_url: http://static.jboss.org/theme/images
- jborg_js_url: http://static.jboss.org/theme/js
- project_images_url: http://static.jboss.org/example/images
- bootstrap_css_url: http://static.jboss.org/theme/css/bootstrap-community/3.2.0.1/bootstrap-community
- bootstrap_js_url: http://static.jboss.org/theme/js/libs/bootstrap-community/3.2.0.1/bootstrap-community
- base_url: http://example-stg.jboss.org
+ jborg_fonts_url: https://static.jboss.org/theme/fonts
+ jborg_images_url: https://static.jboss.org/theme/images
+ jborg_js_url: https://static.jboss.org/theme/js
+ project_images_url: https://static.jboss.org/example/images
+ bootstrap_css_url: https://static.jboss.org/theme/css/bootstrap-community/3.2.0.2/bootstrap-community
+ bootstrap_js_url: https://static.jboss.org/theme/js/libs/bootstrap-community/3.2.0.2/bootstrap-community
+ base_url: //example-stg.jboss.org
wget:
enabled: false
# Uncomment the line below and provide a valid Google Analytics ID to enable tracking of your site in this profile.
@@ -89,13 +89,13 @@ profiles:
css_minifier: enabled
js_minifier: enabled
html_minifier: enabled
- jborg_fonts_url: http://static.jboss.org/theme/fonts
- jborg_images_url: http://static.jboss.org/theme/images
- jborg_js_url: http://static.jboss.org/theme/js
- project_images_url: http://static.jboss.org/example/images
- bootstrap_css_url: http://static.jboss.org/theme/css/bootstrap-community/3.2.0.1/bootstrap-community
- bootstrap_js_url: http://static.jboss.org/theme/js/libs/bootstrap-community/3.2.0.1/bootstrap-community
- base_url: http://example.jboss.org
+ jborg_fonts_url: https://static.jboss.org/theme/fonts
+ jborg_images_url: https://static.jboss.org/theme/images
+ jborg_js_url: https://static.jboss.org/theme/js
+ project_images_url: https://static.jboss.org/example/images
+ bootstrap_css_url: https://static.jboss.org/theme/css/bootstrap-community/3.2.0.2/bootstrap-community
+ bootstrap_js_url: https://static.jboss.org/theme/js/libs/bootstrap-community/3.2.0.2/bootstrap-community
+ base_url: //example.jboss.org
wget:
enabled: false
# Uncomment the line below and provide a valid Google Analytics ID to enable tracking of your site in this profile.
View
@@ -17,8 +17,8 @@
#
# 2. This is an example site.yml configuration:
#
-# jborg_fonts_url: http://static.jboss.org/theme/fonts
-# jborg_images_url: http://static.jboss.org/theme/images
+# jborg_fonts_url: https://static.jboss.org/theme/fonts
+# jborg_images_url: https://static.jboss.org/theme/images
#
##
module Awestruct
@@ -20,10 +20,10 @@
# enabled: true
# createGitIgnoreFiles: true
# urls:
-# - http://static.jboss.org/theme/css/bootstrap-community.js
-# - http://static.jboss.org/theme/js/bootstrap-community.js
-# - http://static.jboss.org/theme/fonts/titilliumtext/
-# - http://static.jboss.org/theme/images/common/
+# - https://static.jboss.org/theme/css/bootstrap-community.js
+# - https://static.jboss.org/theme/js/bootstrap-community.js
+# - https://static.jboss.org/theme/fonts/titilliumtext/
+# - https://static.jboss.org/theme/images/common/
#
# Note: 'enabled' and 'createGitIgnoreFiles' properties default to 'true' if not defined.
#
@@ -41,8 +41,8 @@
- if site.profile.eql?("staging") or site.profile.eql?("production")
:plain
<!-- begin eloqua tracking -->
- <script type='text/javascript' language='JavaScript' src='http://www.redhat.com/j/elqNow/elqCfg.js'></script>
- <script type='text/javascript' language='JavaScript' src='http://www.redhat.com/j/elqNow/elqImg.js'></script>
+ <script type='text/javascript' language='JavaScript' src='//www.redhat.com/j/elqNow/elqCfg.js'></script>
+ <script type='text/javascript' language='JavaScript' src='//www.redhat.com/j/elqNow/elqImg.js'></script>
<!-- end eloqua tracking -->
<div id="oTags">
@@ -6,7 +6,7 @@
%span.icon-bar
%span.icon-bar
%a.navbar-brand(href="http://staging.hibernate.org")
- %img{src: "http://static.jboss.org/hibernate/images/hibernate_logo_darkbkg_200px.png", width: "160px"}/
+ %img{src: "https://static.jboss.org/hibernate/images/hibernate_logo_darkbkg_200px.png", width: "160px"}/
.collapse.navbar-collapse
%ul.nav.navbar-nav
%li
@@ -33,7 +33,7 @@
%ul.dropdown-menu.projectsocialmedia
%li
%a{href: "https://twitter.com/hibernate"}
- %img{src: "http://static.jboss.org/theme/images/common/socialmedia_icon40_twitter.png"}/
+ %img{src: "https://static.jboss.org/theme/images/common/socialmedia_icon40_twitter.png"}/
%li
%a{href: "https://plus.google.com/112681342290762837955/posts"}
- %img{src: "http://static.jboss.org/theme/images/common/socialmedia_icon40_googleplus.png"}/
+ %img{src: "https://static.jboss.org/theme/images/common/socialmedia_icon40_googleplus.png"}/
@@ -76,31 +76,31 @@
&nbsp;|&nbsp;
%a{:href => "#"} Project Swag
%a{:href => "/coolstuff/desktopwallpapers/project"}
- %img.img-responsive.center-block{:alt => "Cool Stuff", :height => "110", :src => "http://static.jboss.org/images/infinispan/project_coolstuff_infinispan.png"}/
+ %img.img-responsive.center-block{:alt => "Cool Stuff", :height => "110", :src => "https://static.jboss.org/images/infinispan/project_coolstuff_infinispan.png"}/
.well.sponsors
%h3 Sponsors
%ul
%li
%a{:href => "http://www.ej-technologies.com/"}
- %img.img-responsive.center-block{:alt => "EJ-Technologies", :src => "http://static.jboss.org/common/images/sponsors/ejtechnologies-color.png"}/
+ %img.img-responsive.center-block{:alt => "EJ-Technologies", :src => "https://static.jboss.org/common/images/sponsors/ejtechnologies-color.png"}/
%p EJ-Technologies has kindly provided free JProfiler licenses.
%li
%a{:href => "http://www.nexb.com/"}
- %img.img-responsive.center-block{:alt => "NexB", :src => "http://static.jboss.org/common/images/sponsors/nexb-color.png"}/
+ %img.img-responsive.center-block{:alt => "NexB", :src => "https://static.jboss.org/common/images/sponsors/nexb-color.png"}/
%p nexB is our preferred Eclipse development partner.
%li
%a{:href => "http://www.jetbrains.com/"}
- %img.img-responsive.center-block{:alt => "JetBrians", :src => "http://static.jboss.org/common/images/sponsors/intellij-color.png"}/
+ %img.img-responsive.center-block{:alt => "JetBrians", :src => "https://static.jboss.org/common/images/sponsors/intellij-color.png"}/
%p JetBrains has kindly donated an open source IntelliJ license.
%li
%a{:href => "http://www.headwaysoftware.com/products/structure101/index.php"}
- %img.img-responsive.center-block{:alt => "Structure 101", :src => "http://static.jboss.org/common/images/sponsors/structure101-color.png"}/
+ %img.img-responsive.center-block{:alt => "Structure 101", :src => "https://static.jboss.org/common/images/sponsors/structure101-color.png"}/
%p Structure 101 helps us to understand our project structure.
%li
%a{:href => "http://www.magicdraw.com/"}
- %img.img-responsive.center-block{:alt => "MagicDraw", :src => "http://static.jboss.org/common/images/sponsors/magicdraw-color.png"}/
+ %img.img-responsive.center-block{:alt => "MagicDraw", :src => "https://static.jboss.org/common/images/sponsors/magicdraw-color.png"}/
%p A Special thanks to MagicDraw for supporting the project.
@@ -110,4 +110,4 @@
%div
%a{:href => "http://www.jboss.org/security.html"}
- %img.img-responsive.center-block{:alt => "Find a security issue with a JBoss Project or Product? Report it now", :height => "110", :src => "http://static.jboss.org/common/images/securityissue.png"}/
+ %img.img-responsive.center-block{:alt => "Find a security issue with a JBoss Project or Product? Report it now", :height => "110", :src => "https://static.jboss.org/common/images/securityissue.png"}/
@@ -14,7 +14,7 @@
var i;
e("#" + r).empty().append('<div style="padding:3px;"><img src="#{site.jborg_images_url}/common/loading.gif" /></div>');
e.ajax({
- url: "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=" + n.MaxCount + "&output=json&q=" + encodeURIComponent(n.FeedUrl) + "&hl=en&callback=?",
+ url: "https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=" + n.MaxCount + "&output=json&q=" + encodeURIComponent(n.FeedUrl) + "&hl=en&callback=?",
dataType: "json",
success: function (t) {
e("#" + r).empty();
@@ -62,7 +62,7 @@ function processJiraWidget(params) {
var rowData = dataArray[i];
rawTableBodyHtml += '<div class="issue '+rowType+'"><span class="jira-icon jira-issuetype-'+rowData.fields.issuetype.id+'">&nbsp;</span>';
- rawTableBodyHtml += '<a href="http://jira.jboss.org/browse/'+rowData.key+'">'+rowData.key+':</a>&nbsp;';
+ rawTableBodyHtml += '<a href="https://issues.jboss.org/browse/'+rowData.key+'">'+rowData.key+':</a>&nbsp;';
rawTableBodyHtml += $('<div />').html(rowData.fields.summary).text();
rawTableBodyHtml += '<ul>';
@@ -180,7 +180,7 @@ function processJiraWidget(params) {
$.ajax({
type : "POST",
- url : "http://issues.jboss.org/rest/api/2/search",
+ url : "https://issues.jboss.org/rest/api/2/search",
dataType : 'jsonp',
data: query
});
@@ -347,7 +347,7 @@ Tabzilla.content =
+' <p class="overview"> Like the project? It’s part of the community of Red Hat projects. Learn more about Red Hat and our open source communities:</p>'
+' <div class="row">'
+' <span class="col-md-4 middlewarelogo">'
-+' <img src="http://static.jboss.org/common/images/tabzilla/RHJB_Middleware_Logotype.png" alt="Red Hat JBoss MIDDLEWARE" />'
++' <img src="https://static.jboss.org/common/images/tabzilla/RHJB_Middleware_Logotype.png" alt="Red Hat JBoss MIDDLEWARE" />'
+' </span>'
+' <span class="col-md-4">'
+' <ul class="level1">'
@@ -586,7 +586,7 @@ function renderTabzilla( projectName , projectId, fullWidth ) {
*/
// Getting HTML tab content from remote source.
- var wrapper = $.ajax({url:"http://static.jboss.org/partials/tabcontent-bootstrap3.html",
+ var wrapper = $.ajax({url:"https://static.jboss.org/partials/tabcontent-bootstrap3.html",
dataType:'html'
});
View
@@ -121,11 +121,11 @@ title: Example Swatch
/ Carousel items
.carousel-inner
.item.active
- %img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img1.png"}/
+ %img{:alt => "", :src => "https://static.jboss.org/common/images/carousel/carousel_img1.png"}/
.item
- %img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img2.png"}/
+ %img{:alt => "", :src => "https://static.jboss.org/common/images/carousel/carousel_img2.png"}/
.item
- %img{:alt => "", :src => "http://static.jboss.org/common/images/carousel/carousel_img3.png"}/
+ %img{:alt => "", :src => "https://static.jboss.org/common/images/carousel/carousel_img3.png"}/
/ Carousel nav
%a.left.carousel-control{"data-slide" => "prev", :href => "#myCarousel"} ‹
%a.right.carousel-control{"data-slide" => "next", :href => "#myCarousel"} ›
View
@@ -41,7 +41,7 @@ title: Example Splashpage
%br
.row
.col-md-6.text-center
- %img{:src => "http://static.jboss.org/images/awestruct/clipboard.png"}/
+ %img{:src => "https://static.jboss.org/images/awestruct/clipboard.png"}/
.col-md-6
%h3 Immediate to use
%p Donec scelerisque, nulla eget scelerisque commodo, ipsum risus volutpat felis, faucibus sagittis ante ipsum ac tellus. Nunc sem lorem, scelerisque vitae gravida sed, porttitor sodales odio. Sed tincidunt adipiscing malesua. Etiam mi ultrices fringilla sapien quis, mollis sollicitudin felis. Maecenas id malesuada metus.
@@ -55,15 +55,15 @@ title: Example Splashpage
%h3 Fun & Playful
%p Donec scelerisque, nulla eget scelerisque commodo, ipsum risus volutpat felis, faucibus sagittis ante ipsum ac tellus. Nunc sem lorem, scelerisque vitae gravida sed, porttitor sodales odio. Sed tincidunt adipiscing malesua. Etiam mi ultrices fringilla sapien quis, mollis sollicitudin felis. Maecenas id malesuada metus.
.col-md-6.text-center
- %img{:src => "http://static.jboss.org/images/awestruct/chat.png"}/
+ %img{:src => "https://static.jboss.org/images/awestruct/chat.png"}/
%br
%br
%hr
%br
%br
.row
.col-md-6.text-center
- %img{:src => "http://static.jboss.org/images/awestruct/clocks.png"}/
+ %img{:src => "https://static.jboss.org/images/awestruct/clocks.png"}/
.col-md-6
%h3 Compiles Quickly
%p Donec scelerisque, nulla eget scelerisque commodo, ipsum risus volutpat felis, faucibus sagittis ante ipsum ac tellus. Nunc sem lorem, scelerisque vitae gravida sed, porttitor sodales odio. Sed tincidunt adipiscing malesua. Etiam mi ultrices fringilla sapien quis, mollis sollicitudin felis. Maecenas id malesuada metus.
@@ -27,4 +27,4 @@
// Red Hat Upstream Bar that needs to be on all upstream project websites //
-@import "http://static.jboss.org/css/rhbar.css";
+@import "https://static.jboss.org/css/rhbar.css";
@@ -147,7 +147,7 @@ a:hover, a:active, a, object, embed, *:focus {
.jumbotron {
position: relative;
- background:@blueDark url(http://static.jboss.org/example/images/example_heropattern1.png) repeat center center;
+ background:@blueDark url(https://static.jboss.org/example/images/example_heropattern1.png) repeat center center;
padding: 40px;
margin: 0 0 20px 0;
-webkit-border-radius: 4px;
@@ -13,7 +13,7 @@
/* --- This is the standard RH tab that overlaps what's below it (project banner or navigation bar) --- */
/* display: none; HIDE IT UNTIL WORKING */
height: 37px;
- background-image: url("http://static.jboss.org/common/images/tabzilla/tabzilla-redhat-logo-sprite.png");
+ background-image: url("https://static.jboss.org/common/images/tabzilla/tabzilla-redhat-logo-sprite.png");
background-repeat: no-repeat;
background-position: right top;
width: 250px;
@@ -233,7 +233,7 @@
transition: all 0.2s ease-in-out;
order-radius: 8px;
- background: url("http://static.jboss.org/common/images/arrow-tabnav-down.png") repeat scroll 0 0 transparent;
+ background: url("https://static.jboss.org/common/images/arrow-tabnav-down.png") repeat scroll 0 0 transparent;
content: "x";
height: 15px;
position: absolute;
@@ -308,7 +308,7 @@
}
.dropup {
height: 37px;
- background-image: url("http://static.jboss.org/common/images/tabzilla/tabzilla-redhat-logo-sprite.png");
+ background-image: url("https://static.jboss.org/common/images/tabzilla/tabzilla-redhat-logo-sprite.png");
background-position: left bottom;
width: 74px;
right: 30px;
@@ -827,7 +827,7 @@ hr.soften {
text-indent: -9999px;
display: block;
margin: 0;
- background:@blueDark url(http://static.jboss.org/common/images/top.png) no-repeat center center;
+ background:@blueDark url(https://static.jboss.org/common/images/top.png) no-repeat center center;
}
a:hover {
background-color:@blue;
@@ -1527,7 +1527,7 @@ li.st-content-wrapper .st-content, .s-accordion li.s-wrap div.s-content {
/* --------------- Project Icons --------------------- */
.project-icon-med {
- background: url("http://static.jboss.org/common/images/sprite-project-icons-all.png") no-repeat scroll left top transparent;
+ background: url("https://static.jboss.org/common/images/sprite-project-icons-all.png") no-repeat scroll left top transparent;
display: block;
float: left;
height: 16px;
@@ -1962,21 +1962,21 @@ ul.supportedin {
}
#badges .license-asl a {
- background: url(http://static.jboss.org/common/images/licenses/license_asl-sprite.gif) no-repeat top center;
+ background: url(https://static.jboss.org/common/images/licenses/license_asl-sprite.gif) no-repeat top center;
}
#badges .license-asl a:hover {
background-position: bottom center;
}
#badges .license-lgpl a {
- background: url(http://static.jboss.org/common/images/licenses/license_lgpl-sprite.gif) no-repeat top center;
+ background: url(https://static.jboss.org/common/images/licenses/license_lgpl-sprite.gif) no-repeat top center;
}
#badges .license-lgpl a:hover {
background-position: bottom center;
}
#badges .license-gpl a {
- background: url(http://static.jboss.org/common/images/licenses/license_gpl-sprite.gif) no-repeat top center;
+ background: url(https://static.jboss.org/common/images/licenses/license_gpl-sprite.gif) no-repeat top center;
}
#badges .license-gpl a:hover {
background-position: bottom center;
@@ -1988,7 +1988,7 @@ ul.supportedin {
}
#badges .jsr a {
- background: url(http://static.jboss.org/common/images/licenses/license_jsr-sprite.gif) no-repeat top center;
+ background: url(https://static.jboss.org/common/images/licenses/license_jsr-sprite.gif) no-repeat top center;
font-family:'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
font-weight:bold;
text-decoration:none;
@@ -2056,15 +2056,15 @@ ul.supportedin {
}
#badges .tools a {
- background: url(http://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 -150px;
+ background: url(https://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 -150px;
}
#badges .jopr a {
- background: url(http://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 -75px;
+ background: url(https://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 -75px;
}
#badges .arquillian a {
- background: url(http://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 0;
+ background: url(https://static.jboss.org/common/images/licenses/badges-sprite.gif) no-repeat 0 0;
}
/* ---------------- Coolstuff ------------------------------ */
Oops, something went wrong.

0 comments on commit c2e083c

Please sign in to comment.