Skip to content

Commit

Permalink
Feature: "Big Fancy HD TV" support. Build Monitor can be configured t…
Browse files Browse the repository at this point in the history
…o display maximum of 8 columns rather than 4.

This closes #31.
  • Loading branch information
jan-molak committed Dec 7, 2013
1 parent 7832e1c commit 311b92c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</li>
<li>
<span class="slider-label">Columns</span>
<slider floor="1" ceiling="4" step="1" precision="0" data-ng-model="numberOfColumns"></slider>
<slider floor="1" ceiling="8" step="1" precision="0" data-ng-model="numberOfColumns"></slider>
</li>
<li>
<a class="btn"
Expand Down
19 changes: 19 additions & 0 deletions src/main/webapp/themes/industrial.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ h2 {
padding:0;
}

/*
* Grid
*/
.build-monitor ul#job-views>li {
margin:0.5%;
}
Expand All @@ -225,6 +228,22 @@ h2 {
-webkit-flex: 1 24%;
flex: 1 24%;
}
.build-monitor ul#job-views.columns-5 li {
-webkit-flex: 1 19%;
flex: 1 19%;
}
.build-monitor ul#job-views.columns-6 li {
-webkit-flex: 1 15.5%;
flex: 1 15.5%;
}
.build-monitor ul#job-views.columns-7 li {
-webkit-flex: 1 13%;
flex: 1 13%;
}
.build-monitor ul#job-views.columns-8 li {
-webkit-flex: 1 11.5%;
flex: 1 11.5%;
}

.build-monitor ul#job-views .meta {
display: -webkit-flex;
Expand Down

0 comments on commit 311b92c

Please sign in to comment.