Skip to content

Commit

Permalink
Merge pull request #17 from visuale/nodejs
Browse files Browse the repository at this point in the history
Migrating correct download version to the download page from the home…
  • Loading branch information
gastaldi committed Jun 16, 2015
2 parents 064d7e0 + 473c8ab commit 3e94fe5
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 43 deletions.
34 changes: 34 additions & 0 deletions app/css/forge.css
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,35 @@ div.network-graphic-grid-container .network-grid {
*/


/*============== DOWNLOAD INSTRUCTIONS SECTION ==============*/
.download-instructions-section {
background: #eeedf2;
padding:1em 0 2em 0;
}

.download-instructions-section h2.download-title {
margin-bottom:20px;
color: #838383;
text-align: center;
}

.download-instructions-section h2.section-heading {
margin-top:20px;
font-size:1.4em;
}

.download-instructions-section ul {
list-style-position: outside;
margin:0;
padding:0;
}

.download-instructions-section ul li {
font-size:.8em;
padding:.5em 0;
}


@media (min-width:960px) and (max-width:1089px) {
/* Sizes 60% of original (rounded down) */

Expand Down Expand Up @@ -2412,6 +2441,11 @@ GRADIENT BACKGROUNDS
padding-top:.5em;
}

.download-instructions-section .row {
width:80%;
margin:0 auto;
}


}

Expand Down
114 changes: 72 additions & 42 deletions app/views/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,22 @@ <h3>Released {{metadata.latestReleaseMoment}}</h3>
</div><!-- /.container -->
</div><!-- / .page-section -->

<!-- PAGE SECTION ADDITIONAL DOWNLOADS FOR ENVIRONMENTS -->
<div class="page-section static white environment-os-section" ng-controller="downloadCtrl">
<div class="row os-first-section">
<div class="col-xs-12">
<h1 class="environment-os-section-heading">Works in the environment you <strong>Use.</strong></h1>

</div>
</div><!-- / .row -->

<!-- PAGE SECTION ADDITIONAL DOWNLOADS FOR ENVIRONMENTS -->
<div class="page-section static white environment-os-section">
<div class="row os-first-section">
<div class="col-xs-12">
<h1 class="environment-os-section-heading">Works in the environment you <strong>Use.</strong></h1>

<div class="row">
<div class="container-fluid download-os-divs">
<div class="row">
<div class="col-sm-4 col-xs-12" >
</div>
</div><!-- / .row -->


<div class="row">
<div class="container-fluid download-os-divs">
<div class="row">
<div class="col-sm-4 col-xs-12" >
<div class="row grey-div left-div">
<div class="col-sm-8 col-sm-offset-2 col-xs-8 col-xs-offset-2">
<h2>Developer<br />Studio</h2>
Expand All @@ -36,9 +38,9 @@ <h2>Developer<br />Studio</h2>
<p>Forge is included in JBoss Developer Studio</p>
</div>
</div><!-- / .row -->
</div><!-- /. col-sm-4 -->
</div><!-- /. col-sm-4 -->

<div class="col-sm-4 col-xs-12 center-contain-div">
<div class="col-sm-4 col-xs-12 center-contain-div">
<!-- Shown in Phone Version Only -->
<div class="visible-xs row grey-div center-div eclipse-intellij-row">
<div class="col-xs-4">
Expand Down Expand Up @@ -74,45 +76,73 @@ <h2>For NetBeans</h2>
<!-- / .row.grey-div.center-div -->
<!-- / End Tablet/Desktop -->

</div><!-- /. col-sm-4 -->
</div><!-- /. col-sm-4 -->

<div class="col-sm-4 col-xs-12">
<div class="col-sm-4 col-xs-12">
<div class="row grey-div right-div ">
<div class="col-sm-9 col-sm-offset-1 col-xs-12 download-links-for-os">
<div class="hidden-sm hidden-md hidden-lg displayed-computer">
<img src="images/computer_396x216.png" alt="Operating Systems" />
</div>
<p class="visible-xs link-p get-forge" >All Operating Systems</p>
<h2>OSX <a href="#" class="download-arrow hidden-xs"> </a></h2>
<ul style="text-align:left">
<li>Use Homebrew to install Forge natively for use on the command-line, via <code>brew install jboss-forge</code></li>
<li>Or use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=LATEST&e=zip&c=offline" target="_self">ZIP</a> to install Forge natively on OSX</li>
</ul>
<h2>Linux <a href="#" class="download-arrow hidden-xs"> </a></h2>
<ul style="text-align:left">
<li>Use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=LATEST&e=zip&c=offline" target="_self">ZIP</a> to install Forge natively on Linux</li>
</ul>
<h2>Windows <a href="#" class="download-arrow hidden-xs"> </a></h2>
<ul style="text-align:left">
<li>Grab the <a href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=LATEST&e=zip&c=offline" target="_self">ZIP</a> to install Forge natively on Windows</li>
</ul>

<h2>OSX <a href="/download" target="_self" class="download-arrow hidden-xs"> </a></h2>
<h2>Linux <a href="/download" target="_self" class="download-arrow hidden-xs"> </a></h2>
<h2>Windows <a href="/download" target="_self" class="download-arrow hidden-xs"> </a></h2>
<p class="hidden-xs link-p get-forge" >Get Forge for your OS</p>
</div>
</div>
</div><!-- /. col-sm-4 -->
</div><!-- /. col-sm-4 -->
</div>
</div><!-- / .contiainer-fluid -->
</div>

<div class="row hidden-xs">
<div class="col-xs-12">
<p class="link-p need-forge" >
<br />
NEED FORGE 1X? <a target="_self" href="/1.x/">Get it here.</a>
</p>
</div>
</div><!-- / .contiainer-fluid -->
</div>

<div class="row hidden-xs">
<div class="col-xs-12">
<p class="link-p need-forge" >
<br />
NEED FORGE 1X? <a target="_self" href="/1.x">Get it here.</a>
</p>
</div>
</div>
</div><!-- / .page-section static -->


<!-- DOWNLOAD INSTRUCTION SECTION -->
<div class="page-section white download-instructions-section">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2 class="download-title">Download Instructions</h2>
</div><!-- / .col-xs-12 -->
</div><!-- / .row -->
<div class="row">
<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">OSX</h2>
<ul class="download-steps">
<li>Use Homebrew to install Forge natively for use on the command-line, via <code>brew install jboss-forge</code></li>
<li>Or use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on OSX</li>
</ul>

</div>

<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">Linux</h2>
<ul class="download-steps">
<li>Use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on Linux</li>
</ul>
</div>

<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">Windows</h2>
<ul class="download-steps">
<li>Grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on Windows</li>
</ul>
</div>
</div><!-- / .row -->
</div>
</div><!-- / .page-section -->
<!-- / END DOWNLOAD INSTRUCTION SECTION -->

</div><!-- / .page-section static -->
41 changes: 40 additions & 1 deletion app/views/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,43 @@ <h2>Windows <a href="/download" target="_self" class="download-arrow hidden-xs">
</p>
</div>
</div>
</div><!-- / .page-section static -->
</div><!-- / .page-section static -->


<!-- DOWNLOAD INSTRUCTION SECTION -->
<div class="page-section white download-instructions-section">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2 class="download-title">Download Instructions</h2>
</div><!-- / .col-xs-12 -->
</div><!-- / .row -->
<div class="row">
<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">OSX</h2>
<ul class="download-steps">
<li>Use Homebrew to install Forge natively for use on the command-line, via <code>brew install jboss-forge</code></li>
<li>Or use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on OSX</li>
</ul>

</div>

<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">Linux</h2>
<ul class="download-steps">
<li>Use <code>curl http://forge.jboss.org/sh | sh</code></li>
<li>Or grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on Linux</li>
</ul>
</div>

<div class="col-sm-4 col-xs-12">
<h2 class="section-heading">Windows</h2>
<ul class="download-steps">
<li>Grab the <a target="_self" href="https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&amp;g=org.jboss.forge&amp;a=forge-distribution&amp;v=LATEST&amp;e=zip&amp;c=offline">ZIP</a> to install Forge natively on Windows</li>
</ul>
</div>
</div><!-- / .row -->
</div>
</div><!-- / .page-section -->
<!-- / END DOWNLOAD INSTRUCTION SECTION -->

0 comments on commit 3e94fe5

Please sign in to comment.