Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Bug 1082353 - Improve the job notation in the help panel
Browse files Browse the repository at this point in the history
  • Loading branch information
tojon committed Oct 14, 2014
1 parent 439bdac commit 4fc4c00
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 20 deletions.
30 changes: 30 additions & 0 deletions webapp/app/css/treeherder.css
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,36 @@ fieldset[disabled] .btn-repo.active {
padding: 5px;
}

.help-btn {
margin: 2px;
border: 2px solid;
}

.help-btn-comment {
border: none;
background-color: #fff;
}

.help-btn-orange {
border-color: #dd6602;
}

.help-btn-purple {
border-color: #6f0296;
}

.help-btn-red {
border-color: #a1020e;
}

.help-btn-black {
border-color: #000000;
}

.help-btn-bg {
background-color: #fff;
}

.waiter-small{ background: url("../img/waiter16.png") no-repeat center center; width: 16px; height: 16px; display: inline-block;}
.waiter-medium{ background: url("../img/waiter32.png") no-repeat center center; width: 32px; height: 32px; display: inline-block;}
.waiter-large{ background: url("../img/waiter64.png") no-repeat center center; width: 64px; height: 64px; display: inline-block;}
Expand Down
86 changes: 66 additions & 20 deletions webapp/app/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,72 @@ <h3>Job notation</h3>
</div>
<div class="panel-body">
<table id="legend-other">
<tr><th>..*</th>
<td>commented</td></tr>
<tr><th class="pending"><button class="btn btn-ltgray">light gray</button></th>
<td>pending</td></tr>
<tr><th class="running"><button class="btn btn-dkgray">gray</button></th>
<td>running</td></tr>
<tr><th class="success"><button class="btn btn-green">green</button></th>
<td>success</td></tr>
<tr><th class="testfailed"><button class="btn btn-orange">orange</button></th>
<td>tests failed</td></tr>
<tr><th class="exception"><button class="btn btn-purple">purple</button></th>
<td>infrastructure exception</td></tr>
<tr><th class="busted"><button class="btn btn-red">red</button></th>
<td>build error</td></tr>
<tr><th class="retry"><button class="btn btn-dkblue">blue</button></th>
<td>build has been restarted</td></tr>
<tr><th class="usercancel"><button class="btn btn-pink">pink</button></th>
<td>build was cancelled</td></tr>
<tr><th class="unknown"><button class="btn btn-black">black</button></th>
<td>unknown error</td></tr>
<tr>
<th class="jobgroup">
<button class="btn btn-dkgray help-btn help-btn-comment">Th( )</button>
</th>
<td>Wrapped job group</td>
</tr>
<tr>
<th class="annotation">
<button class="btn btn-dkgray help-btn help-btn-comment">Th*</button>
</th>
<td>Asterisk, annotation</td>
</tr>
<tr>
<th class="pending">
<button class="btn btn-ltgray help-btn help-btn-bg">Th</button>
</th>
<td>Light gray, pending</td>
</tr>
<tr>
<th class="running">
<button class="btn btn-dkgray help-btn help-btn-bg">Th</button>
</th>
<td>Gray, running</td>
</tr>
<tr>
<th class="success">
<button class="btn btn-green help-btn help-btn-bg">Th</button>
</th>
<td>Green, success</td>
</tr>
<tr>
<th class="testfailed">
<button class="btn btn-orange help-btn help-btn-orange">Th</button>
</th>
<td>Orange, tests failed</td>
</tr>
<tr>
<th class="exception">
<button class="btn btn-purple help-btn help-btn-purple">Th</button>
</th>
<td>Purple, infrastructure exception</td>
</tr>
<tr>
<th class="busted">
<button class="btn btn-red help-btn help-btn-red">Th</button>
</th>
<td>Red, build error</td>
</tr>
<tr>
<th class="retry">
<button class="btn btn-dkblue help-btn help-btn-bg">Th</button>
</th>
<td>Blue, build restarted</td>
</tr>
<tr>
<th class="usercancel">
<button class="btn btn-pink help-btn help-btn-bg">Th</button>
</th>
<td>Pink, build cancelled</td>
</tr>
<tr>
<th class="unknown">
<button class="btn btn-black help-btn help-btn-black">Th</button>
</th>
<td>Black, unknown error</td>
</tr>
</table>
</div>
</div>
Expand Down

0 comments on commit 4fc4c00

Please sign in to comment.