Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 823909 - Cleanup up TryChooser layout; r=BenWa
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Morley committed Jan 8, 2013
1 parent 9de1e09 commit a207c5a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
36 changes: 16 additions & 20 deletions trychooser/index.html
Expand Up @@ -14,11 +14,10 @@ <h1>TryChooser Syntax Builder</h1>

<form name="trychooser" method="get" action="#">
<p>Trychooser is also a mercurial extension, <a href="https://github.com/pbiggar/trychooser">trychooser</a>, can help you use a CLI and also will push to try for you.</p>
<strong>TryChooser Syntax:</strong><br>
<strong>Computed Syntax:</strong><br>
<textarea class="result_value" cols="80"></textarea>

<div id='try-options'>

<div id="col1">
<span class='option-radio' try-section='b'>
<h4>Build Types</h4>
Expand All @@ -31,7 +30,6 @@ <h4>Platforms</h4>
<span class='option-group' try-section='p'>
<label><input type="checkbox" class="group-selector all-selector">All</label>
<label><input type="checkbox" class="group-selector none-selector" CHECKED>None</label>

<ul>
<li>
<label>Platform</label>
Expand Down Expand Up @@ -99,8 +97,8 @@ <h4>Platforms</h4>
<span id="build_unagi" class="build_queue">N/A</span>
</li>
</ul>

</span>

<span class='option-email'>
<h4>Email Settings</h4>
<label><input type="radio" name="email" checked>Default</label><br>
Expand All @@ -109,6 +107,13 @@ <h4>Email Settings</h4>
<em>(default is no email)</em>
</span>

<h4>Experimental Features</h4>
<p>Auto-comment to bug on completion (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=434998#c20">example</a>)
<em>Still a work in progress, comment in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=430942">bug 430942</a> with issues</em>
</p>
<label>Bug Number: <input id="bugnumber" type="textbox" name="bugnumber" size=8></label>
<label><input id="post_to_bugzilla" type="checkbox" name="post_to_bugzilla" UNCHECKED>Add to Syntax</label><br>

</div> <!-- col1 div -->
<div id="col2">
<h4>Unit Test Suites</h4>
Expand Down Expand Up @@ -138,6 +143,7 @@ <h4>Unit Test Suites</h4>
<li><label><input type="checkbox" value="mochitest-o">mochitest-o</label></li>
</ul>
</span>

<h4> Android-Only Unittest Suites</h4>
<li><label><input type="checkbox" value="reftest-1">reftest-1</label></li>
<li><label><input type="checkbox" value="reftest-2">reftest-2</label></li>
Expand All @@ -152,6 +158,7 @@ <h4> Android-Only Unittest Suites</h4>
<li><label><input type="checkbox" value="mochitest-7">mochitest-7</label></li>
<li><label><input type="checkbox" value="mochitest-8">mochitest-8</label></li>
<li><label><input type="checkbox" value="robocop">robocop</label></li>

<h4>B2G-Only Unittest Suites</h4>
<li><label><input type="checkbox" value="reftest-1">reftest-1</label></li>
<li><label><input type="checkbox" value="reftest-2">reftest-2</label></li>
Expand All @@ -162,14 +169,6 @@ <h4>B2G-Only Unittest Suites</h4>
<li><label><input type="checkbox" value="marionette-webapi">marionette-webapi</label></li>
</ul>
</span>

<h4>Experimental Features</h4>
<p>Auto-comment to bug on completion (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=434998#c20">example</a>)
<em>Still a work in progress, comment in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=430942">bug 430942</a> with issues</em>
</p>
<label>Bug Number: <input id="bugnumber" type="textbox" name="bugnumber" size=8></label>
<label><input id="post_to_bugzilla" type="checkbox" name="post_to_bugzilla" UNCHECKED>Add to Syntax</label><br>

</div> <!-- col2 div -->
<div id="col3">
<h4>Talos Suites</h4>
Expand All @@ -185,7 +184,7 @@ <h4>Talos Suites</h4>
<li><label><input type="checkbox" name="talos_suite" value="svgr">svgr</label></li>
<li><label><input type="checkbox" name="talos_suite" value="dromaeojs">dromaeojs</label></li>
<li><label><input type="checkbox" name="talos_suite" value="xperf">xperf</label></li>
<br>

<h4>Android-Only Talos Suites:</h4>
<li><label><input type="checkbox" name="talos_suite" value="remote-ts">remote-ts</label></li>
<li><label><input type="checkbox" name="talos_suite" value="remote-tdhtml">remote-tdhtml</label></li>
Expand All @@ -197,15 +196,12 @@ <h4>Android-Only Talos Suites:</h4>
<li><label><input type="checkbox" name="talos_suite" value="remote-trobocheck2">remote-trobocheck2</label></li>
<li><label><input type="checkbox" name="talos_suite" value="remote-tp4m_nochrome">remote-tp4m_nochrome</label></li>
</ul>
<strong>Want to match Talos suite names up to what they run?</strong> Check <a href="http://hg.mozilla.org/build/buildbot-configs/file/tip/mozilla-tests/config.py#l179">the current configs</a><br>
(contents may shift over time, <br/>
you want SUITES = { ... })
</span>

<p class="indent1"><strong>Want to match Talos suite names up to what they run?</strong> Check <a href="http://hg.mozilla.org/build/buildbot-configs/file/tip/mozilla-tests/config.py#l179">the current configs</a><br>
(contents may shift over time, <br/>
you want SUITES = { ... })</p>
</div> <!-- col3 div -->
<div id="results">
<strong>TryChooser Syntax:</strong><br>
<textarea class="result_value" cols="80"></textarea>
</div><!-- results div -->
</div> <!--- try-options div -->
<div> <!-- wrapper div-->

Expand Down
13 changes: 6 additions & 7 deletions trychooser/trychooser.css
Expand Up @@ -11,6 +11,7 @@ body {

ul {
list-style: none;
padding-left: 25px;
}

.result_value {
Expand All @@ -31,36 +32,34 @@ label {
}
#wrapper {
margin: 0 auto;
width: 1200px;
width: 975px;
}
#col1 {
float:left;
width:450px;
width:375px;
padding: 5px;
}
#col2 {
float:left;
width:350px;
width:275px;
padding: 5px;
}
#col3 {
float:left;
width:350px;
width:275px;
padding: 5px;
}
#results {
clear: both;
}

h4 {
margin: 10px 0 5px;
background: lightgray;
}

.build_queue {
float: right;
width: 55px;
}

.test_queue {
float: right;
width: 55px;
Expand Down

0 comments on commit a207c5a

Please sign in to comment.