📄 create-guided.html.tmpl
字号:
[% op_sys = [ "Windows 98", "Windows NT", "Windows 2000", "Windows XP", "Mac System 9.x", "MacOS X", "Linux", "All", "other" ] %] <tr> <td align="right" valign="middle"> <b>Operating System</b> </td> <td valign="top"> [% PROCESS select sel = 'op_sys' %] </td> </tr> [% matches = cgi.user_agent('Gecko/(\d+)') %] [% buildid = cgi.user_agent() IF matches %] <tr bgcolor="[% tablecolour %]"> <td align="right" valign="middle"> <b>Build Identifier<br>(User Agent)</b> </td> <td valign="top"> <p> If reporting [% terms.abug %] in Mozilla, this is the line beginning <tt>"Mozilla/5.0"</tt> in <tt>Help | About Mozilla</tt>. It identifies exactly the version of Mozilla you were using. If you are using the problem copy of Mozilla, this will be filled in correctly for you already. If Mozilla won't start, just enter the URL of the directory you downloaded it from. </p> <input type="text" size="80" name="buildid" value="[% buildid %]"> </td> </tr> <tr> <td align="right" valign="middle"> <b>URL</b> </td> <td valign="top"> <p> URL that demonstrates the problem you are seeing (optional.) <b>IMPORTANT</b>: If you are filing [% terms.abug %] about a broken web page, please read the <a href="http://www.mozilla.org/docs/web-developer/faq.html">Mozilla Web Developer FAQ</a>, which explains how we handle old or badly-coded web pages. </p> <input type="text" size="80" name="bug_file_loc" value="http://"> </td> </tr> <tr bgcolor="[% tablecolour %]"> <td align="right" valign="middle"> <b>Summary</b> </td> <td valign="top"> <p> A sentence which summarises the problem. Please be descriptive and use lots of keywords. </p> <p> <tt> <font color="#990000">Bad example</font>: mail crashed </tt> <br> <tt> <font color="#009900">Good example</font>: crash if I close the mail window while checking for new POP mail </tt> </p> <input type="text" size="80" name="short_desc" id="short_desc"> </td> </tr> <tr> <td align="right" valign="middle"> <b>Details</b> </td> <td valign="top"> <p> Expand on the Summary. Please be as specific as possible about what is wrong. </p> <p> <tt> <font color="#990000">Bad example</font>: This page looks wrong in Mozilla. Other browsers display it correctly. You suck! </tt> <br> <tt> <font color="#009900">Good example</font>: In the page at http://www.foo.com/, text in the first column should be fully justified -- text should be aligned with both the left and right margins. In Mozilla, the text is only left-justified. </tt> </p> <textarea rows="6" cols="80" name="comment" wrap="hard"></textarea> </td> </tr> <tr bgcolor="[% tablecolour %]"> <td align="right" valign="middle"> <b>Reproducibility</b> </td> <td valign="top"> <p> How often can you reproduce the problem? </p> <select name="reproducible"> <option name="AlwaysReproducible" value="Always"> Every time. </option> <option name="Sometimes" value="Sometimes"> Sometimes, but not always. </option> <option name="DidntTry" value="Didn't try"> Haven't tried to reproduce it. </option> <option name="NotReproducible" value="Couldn't Reproduce"> Tried, but couldn't reproduce it. </option> </select> </td> </tr> <tr> <td align="right" valign="middle"> <b>Steps to Reproduce</b> </td> <td valign="top"> <p> Describe how to reproduce the problem, step by step. Include any special setup steps. </p><textarea rows="4" cols="80" name="reproduce_steps" wrap="hard">1.2.3.</textarea> </td> </tr> <tr bgcolor="[% tablecolour %]"> <td valign="middle" align="right"> <b>Actual Results</b> </td> <td valign="top"> <p> What happened after you performed the steps above? </p> <textarea rows="4" cols="80" name="actual_results" wrap="hard"></textarea> </td> </tr> <tr> <td valign="middle" align="right"> <b>Expected Results</b> </td> <td valign="top"> <p> What should the software have done instead? </p> <textarea rows="4" cols="80" name="expected_results" wrap="hard"></textarea> </td> </tr> <tr bgcolor="[% tablecolour %]"> <td valign="middle" align="right"> <b>Additional Information</b> </td> <td valign="top"> <p> Add any additional information you feel may be relevant to this [% terms.bug %], such as the <b>theme</b> you were using (does the [% terms.bug %] still occur with the default theme?), a <b>Talkback crash ID</b>, or special information about <b>your computer's configuration</b>. Any information longer than a few lines, such as a <b>stack trace</b> or <b>HTML testcase</b>, should be added using the "Create a new Attachment" link on the [% terms.bug %], after it is filed. If you believe that it's relevant, please also include your build configuration, obtained by typing <tt>about:buildconfig</tt> into your URL bar. <br> <br> If you are reporting a crash, note the module in which the software crashed (e.g., <tt>Application Violation in gkhtml.dll</tt>). </p> <textarea rows="8" cols="80" name="additional_info" wrap="hard"></textarea> </td> </tr> <tr> <td valign="middle" align="right"> <b>Severity</b> </td> <td valign="top"> <p> How serious the problem is. Also, if your [% terms.bug %] is a request for a new feature or enhancement, say so here. </p> <select name="bug_severity"> <option name="blocker" value="blocker"> Blocker: This [% terms.bug %] prevents Mozilla developers from testing or developing the software. </option> <option name="critical" value="critical"> Critical: The software crashes, hangs, or causes you to lose data. </option> <option name="major" value="major"> Major: A major feature is broken. </option> <option name="normal" value="normal" selected="selected"> Normal: It's [% terms.abug %] that should be fixed. </option> <option name="minor" value="minor"> Minor: Minor loss of function, and there's an easy workaround. </option> <option name="trivial" value="trivial"> Trivial: A cosmetic problem, such as a misspelled word or misaligned text. </option> <option name="enhancement" value="enhancement"> Enhancement: Request for new feature or enhancement. </option> </select> </td> </tr></table><a name="step3"></a><h3>Step 3 - submit the [% terms.bug %]</h3><p> <input type="submit" value=" Submit [% terms.Bug %] Report " onclick="if (this.form.comment.value == '') { alert('Please enter some details about this [% terms.bug %].'); this.form.comment.focus(); return false; } return true;"></p><p> That's it! Thanks very much. You'll be notified by email about any progress that is made on fixing your [% terms.bug %].</p> </form>[% PROCESS global/footer.html.tmpl %][%############################################################################%][%# Block for SELECT fields #%][%############################################################################%][% BLOCK select %] <select name="[% sel %]"> [%- IF default.$sel %] <option value="[% default.$sel FILTER html %]" selected="selected"> [% default.$sel FILTER html -%] </option> [% END %] [%- FOREACH x = $sel %] [% NEXT IF x == default.$sel %] <option value="[% x FILTER html %]"> [% x FILTER html -%] </option> [%- END %] </select>[% END %]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -