mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
137 lines
6.3 KiB
Smarty
137 lines
6.3 KiB
Smarty
<fieldset>
|
|
<legend>Look up Report</legend>
|
|
<form method="get" action ="{$app_url}/report/" ID="Form1">
|
|
<label for="report_id">Report ID</label>
|
|
<input type="text" id="report_id" name="report_id" />
|
|
<input type="submit" id="submit_reportID" name="submit_reportID" value="Lookup Report" />
|
|
</form>
|
|
</fieldset>
|
|
|
|
<!-- Query -->
|
|
<fieldset>
|
|
<legend>Search for a Report</legend>
|
|
<form method="get" action="{$app_url}/query/">
|
|
<table id="reporterSearch">
|
|
<tr>
|
|
<td class="label"><label for="report_description">Description:</label></td>
|
|
<td><input id="report_description" name="report_description" type="text" size="35" value="{$report_description}"></td>
|
|
<td rowspan="4">
|
|
<table>
|
|
<tr>
|
|
<td class="label"><label for="report_useragent">User Agent:</label></td>
|
|
<td><input id="report_useragent" name="report_useragent" type="text" size="35" value="{$report_useragent}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_gecko">Gecko Version:</label></td>
|
|
<td><input id="report_gecko" name="report_gecko" type="text" value="{$report_gecko}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_language">Language (ex. en-US):</label></td>
|
|
<td><input id="report_language" name="report_language" type="text" value="{$report_language}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_platform">Platform:</label></td>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<input type="radio" name="report_platform" id="AllPlatforms" value=""><label for="AllPlatforms">All</label><br>
|
|
<input type="radio" name="report_platform" id="Win32" value="Win32"><label for="Win32">Windows (32)</label><br>
|
|
<input type="radio" name="report_platform" id="Windows" value="Windows"><label for="Windows">Windows (64 Bit)</label><br>
|
|
<input type="radio" name="report_platform" id="MacPPC" value="MacPPC"><label for="MacPPC">MacOS X</label><br>
|
|
<input type="radio" name="report_platform" id="X11" value="X11"><label for="X11">X11</label><br>
|
|
</td><td>
|
|
<input type="radio" name="report_platform" id="OS2" value="OS/2"><label for="OS2">OS/2</label><br>
|
|
<input type="radio" name="report_platform" id="Photon" value="Photon"><label for="Photon">Photon</label><br>
|
|
<input type="radio" name="report_platform" id="BeOS" value="BeOS"><label for="BeOS">BeOS</label><br>
|
|
<input type="radio" name="report_platform" id="unknown" value="?"><label for="unknown">unknown</label><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_oscpu" title="oscpu">OS:</td>
|
|
<td><input id="report_oscpu" name="report_oscpu" type="text" size="35" value="{$report_oscpu}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_product">Product:</label></td>
|
|
<td>
|
|
<select name="report_product" id="report_product">
|
|
<option value="-1">Any</option>
|
|
{html_options values=$product_options output=$product_options selected=$report_product}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_file_date_start">File Date starts:</label></td>
|
|
<td><input id="report_file_date_start" name="report_file_date_start" value="{if $report_file_date_start != null}{$report_file_date_start}{else}YYYY-MM-DD{/if}" {literal}onfocus="if(this.value=='YYYY-MM-DD'){this.value=''}"{/literal} type="text"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_file_date_end">ends:</label></td>
|
|
<td><input id="report_file_date_end" name="report_file_date_end" value="{if $report_file_date_end != null}{$report_file_date_end}{else}YYYY-MM-DD{/if}" {literal}onfocus="if(this.value=='YYYY-MM-DD'){this.value=''}"{/literal} type="text"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="show">Results Per Page:</label></td>
|
|
<td><input id="show" name="show" value="{if $show != null}{$show}{else}25{/if}" type="text"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="count">Get Aggregate:</label></td>
|
|
<td><input type="checkbox" id="count" name="count"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="host_hostname">Host:</td>
|
|
<td><input id="host_hostname" name="host_hostname" type="text" size="35" value="{$host_hostname}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_problem_type">Problem Type:</label></td>
|
|
<td>
|
|
<input type="radio" name="report_problem_type" id="0" value="0" {if $report_problem_type == '0' || $report_problem_type == null}checked="true"{/if}><label for="0">All types</label><br>
|
|
{html_radios name="report_problem_type" options=$problem_types selected=$report_problem_type separator="<br />"}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="report_behind_login">Site requires login:</label></td>
|
|
<td>
|
|
<input type="radio" name="report_behind_login" id="behind_login_null" value="-1" {if $report_behind_login == '-1' || $report_behind_login == ''}checked="true"{/if}><label for="behind_login_null">Any</label>
|
|
<input type="radio" name="report_behind_login" id="behind_login_yes" value="0" {if $report_behind_login == '0'}checked="true"{/if}><label for="behind_login_yes">Yes</label>
|
|
<input type="radio" name="report_behind_login" id="behind_login_no" value="1" {if $report_behind_login == '1'}checked="true"{/if}><label for="behind_login_no">No</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label for="selected[]">View:</label></td>
|
|
<td>
|
|
<select name="selected[]" id="selected[]" multiple="multiple" size="5">
|
|
{html_options options=$selected_options selected=$selected}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td colspan="2">
|
|
<input id="submit_query" name="submit_query" value="Search" type="submit">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</fieldset>
|
|
{*
|
|
<div id="login">
|
|
<?php if ($userlib->isLoggedIn()){ ?>
|
|
Welcome <?php print $_SESSION['user_realname']; ?> | <a href="logout">Logout</a>
|
|
<?php } else { ?>
|
|
You are not <a href="login">logged in</a>
|
|
<?php } ?>
|
|
</div>
|
|
*}
|
|
<br /><br />
|
|
<div id="reporter_note">
|
|
<h3>Wildcards</h3>
|
|
<p><em>Description</em>, <em>Hostname</em>, <em>Useragent</em> support wildcards.</p>
|
|
<p><code>%</code> will search for 0+ characters, <code>_</code> (underscore) is for a single character.</p>
|
|
</div>
|
|
|