Skip to content

Commit

Permalink
Add Noetic to Prerelease website (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz authored May 12, 2020
1 parent 1bc00c2 commit 15f3109
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 6 deletions.
20 changes: 17 additions & 3 deletions prerelease_website/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ html, body {
height: 100%;
}

.kinetic-column, .melodic-column {
.kinetic-column, .melodic-column, .noetic-column {
float: none;
display: table-cell;
}
Expand All @@ -41,7 +41,7 @@ html, body {
{
height: 100%;
background: #000000;
width: 50%;
width: 33%;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
border-left: 1px solid #eee;
Expand All @@ -55,7 +55,7 @@ html, body {
{
height: 100%;
background: #1a163b;
width: 50%;
width: 33%;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
border-left: 1px solid #eee;
Expand All @@ -65,6 +65,20 @@ html, body {
color: #FFFFFF;
}

.noetic-column
{
height: 100%;
background: #1a2c33;
width: 33%;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
border-left: 1px solid #eee;
}

.noetic-column a {
color: #FFFFFF;
}



/*Corner Ribbon*/
Expand Down
11 changes: 11 additions & 0 deletions prerelease_website/static/css/noetic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
body {
background-color: #1a2c33
}

div.page-header {
color: #FFFFFF;
}

div.page-footer {
color: #FFFFFF;
}
Binary file added prerelease_website/static/images/noetic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion prerelease_website/static/js/generate_command.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function load_repositories(ros_distro)
var ubuntu_platforms = repo_list.release_platforms.ubuntu;
if (ubuntu_platforms)
{
var preferred_list = ['trusty', 'xenial', 'bionic'];
var preferred_list = ['xenial', 'bionic', 'focal'];
$.each(ubuntu_platforms, function (index, item) {
if ($.inArray(item, preferred_list) != -1)
{
Expand Down
11 changes: 9 additions & 2 deletions prerelease_website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,27 @@ <h1>Select a ROS distribution to Generate a Prerelease Command</h1>
</div>
<div class="row text-center distro-row">
<div style="display: table-row;">
<div class="col-sm-6 kinetic-column text-center">
<div class="col-sm-4 kinetic-column text-center">
<a href="/kinetic">
<img class="img-responsive" src="/static/images/kinetic.png" title="Kinetic" width="80%" height="80%" />
<br/>
Kinetic Kame
</a>
</div>
<div class="col-sm-6 melodic-column text-center">
<div class="col-sm-4 melodic-column text-center">
<a href="/melodic">
<img class="img-responsive" src="/static/images/melodic.png" title="Melodic" width="80%" height="80%" />
<br/>
Melodic Morenia
</a>
</div>
<div class="col-sm-4 noetic-column text-center">
<a href="/noetic">
<img class="img-responsive" src="/static/images/noetic.png" title="Noetic" width="80%" height="80%" />
<br/>
Noetic Ninjemys
</a>
</div>
</div>
</div>
<div class="row footer-row">
Expand Down

0 comments on commit 15f3109

Please sign in to comment.