User: cphennessy
Date: 06/04/11 08:55:57

Added:
 /user-faq/www/
  bugz_start.html

Log:
 a conceptual page of what the bug creation should look like.
 
 Issue number:  
 Submitted by:  
 Reviewed by:   
 

File Changes:

Directory: /user-faq/www/
=========================

File [added]: bugz_start.html
Url: 
http://user-faq.openoffice.org/source/browse/user-faq/www/bugz_start.html?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 138
----------------
<html>
<head>
<script type="text/javascript">
function showOnlyTheFirstPanel()
{
  var theForm;
  theForm = document.getElementById("theBugForm");
  var theDivs = theForm.getElementsByTagName("div");
  var count = theDivs.length;
  /* window.alert ( "no of divs = " + count ); */
  var i = 1;
  for ( ; i < count; i++ )
  {
    theDivs[i].style.display="none";
  }
  theDivs[0].style.display="block";
}
function swapSections(old,new1)
{
  /*window.alert("test old="+old+" new=" + new1);*/
  var toHide;
  var toShow;
  toHide = document.getElementById("section"+old);
  toHide.style.display="none";
  toShow = document.getElementById("section"+new1);
  toShow.style.display="block";
}
</script>
<style>
.hide { display : none; }
.show { display : block; }
</style>
</head>
<body onload="showOnlyTheFirstPanel()">
  <H1>Bug submission form</H1>
  Please follow the simple steps below to input data necessary for the 
OpenOffice.org 
  community to be able to understand your problem.
  <p/>
  <form action="bugz_step2.html" id="theBugForm"> 
    <div id="section1" class="hide">
      <h2>Step 1:</h2>
      Type of bug :
      <select name="bugType" size="8">
        <option name="1">crash
        <option name="2">bug report
        <option name="3">enchancement
        <option name="3">incorrect translation
        <option name="3">incorrect documentation
        <option name="4">infrastructure ( web, mailing list, cvs, etc)
      </select>
      <br/>
      <input type="button" value="Next" onclick="swapSections('1','2')"/>
    </div>


    <div id="section2" class="hide">
      <h2>Step 2:</h2>
      Please select the application
      <select name="app" size="8">
        <option>Writer (for documents)
        <option>Calc (for spreadsheets)
        <option>Impress (for presentations)
        <option>Draw (for drawings)
        <option>Base (for databases )
        <option>Math
      </select>
      <br/>
or using javascript to show the native lang projects here
      <br/>
      <input type="button" value="Previous" onclick="swapSections('2','1')"/>
      <input type="button" value="Next" onclick="swapSections('2','3')"/>
    </div>

    <div id="section3" class="hide">
      <h2>Step 3:</h2>
      Please select the version of OpenOffice.org
      <select name="app" size="8">
        <option>2.0.2
        <option>2.0.1
        <option>2.0.0
        <option>pre-2.0 development version
        <option>1.1.5
        <option>1.1.4
        <option>1.1.3
        <option>1.1.2
        <option>1.1.1
        <option>1.0.3
        <option>1.0.2
        <option>1.0.1
        <option>1.0.0
      </select>
      <br/>
      Please select your operating system
      <select name="app" size="8">
        <option>Windows XP
        <option>Windows 2000
        <option>Windows 98
        <option>Linux
        <option>MacOSX
        <option>..other
      </select>
      <br/>
      <input type="button" value="Previous" onclick="swapSections('3','2')"/>
      <input type="button" value="Next" onclick="swapSections('3','4')"/>
    </div>

    <div id="section4" class="hide">
      <h2>Step 4:</h2>
      Please give a summary (more than 4 words but  less than 10)
      <input type="text" size="40"/>
      <br/>
      Short Description : <textarea></textarea><br/>
      Steps to reproduce: <textarea/></textarea><br/>
      Actual Results: <textarea/></textarea><br/>
      Expected Results: <textarea/></textarea><br/>
      Any additional information: <textarea/></textarea><br/>
      <br/>
      <input type="button" value="Previous" onclick="swapSections('4','3')"/>
      <input type="button" value="Next" onclick="swapSections('4','9')"/>
    </div>

    <div id="section9" class="hide" >
      <h2>Step 5:</h2>
            <a href="calculated_from_the_summary_in_the_orevious_panel" 
target="issuez"> a link to issuezilla for bugs with similar summaries</a>
            <br/>
            <b>show summary of all of the details entered here </b><br/>
            Ready to submit now<br/>
            <input type="submit">
    </div>

    <div id="showOnlyIfJSNotWorking">
            This is shown only if javascript is not working. Please turn on 
javascript or 
            use <a href="">the normal Issezilla interface</a>
            <br/>
    </div>
  </form>
</body>
</html>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to