Changeset 3903


Ignore:
Timestamp:
2003-03-19T03:57:30+12:00 (21 years ago)
Author:
dana
Message:

changed usability interface slightly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/base.dm

    r3884 r3903  
    179179function usabilityfunction()\{
    180180
    181   checkusab=window.open("","checkusab","scrollbars=1,toolbars=0,height=600,width=400");
     181  checkusab=window.open("","checkusab","scrollbars=1,toolbars=0,height=600,width=420");
    182182
    183183  //set up the window
     
    188188  //this function is for getting the time when the complaint data is sent
    189189  winhtml += 'function gettime()\\{\\n';
    190   winhtml += 'document.usabform.sendtime.value = (new Date()).toString();\\}\\n';
     190  winhtml += 'document.usabform.sendtime.value = (new Date()).toString();\\n'
     191  winhtml+='\\}\\n';
    191192
    192193  //this function is to allow the user to track the usability report   
    193194  winhtml+='function viewdetails()\\{\\n';
    194195  winhtml+='\\t alert(\\'_textunderdev_\\');\\}';   
    195 
    196 
    197   //this function is to allow the user to track the usability report   
    198   winhtml+='function trackreport()\\{\\n';
    199   winhtml+='\\t alert(\\'_textunderdev_\\');\\}';       
    200196
    201197  //this function is to show the privacy/about data in a new window
     
    228224
    229225  // set up the form   
    230   winhtml += '<form name="usabform" method="post" action="'+cgiloc+'" onSubmit="gettime();" target="_blank">';
     226  winhtml += '<form name="usabform" method="post" action="'+cgiloc+'" onSubmit="gettime();">';
    231227  winhtml += '_usabinterface_';
     228
    232229
    233230  //get javascript environment variables
     
    335332_usabmulti_{\\
    336333_textonlyusabinterface_\\
    337 <table width="100%"><tr><td><a href="javascript:viewdetails()">_textviewdetails_</a></td><td align="right"><input type="button" value="_textdontsend_" onClick="window.close()"></td><td align="right"><input type="submit" value="_textsend_"></td></tr></table>\\
    338 <br><a href="javascript:trackreport()">_texttrackreport_</a>\\
     334<table width="100%"><tr><td align="right"><input type="button" value="_textdontsend_" onClick="window.close()"></td><td align="right"><input type="submit" value="_textsend_"></td></tr></table>\\
    339335<h2>_textoptionally_:</h2>\\
    340336<p class="label">_textmoredetails_:\\
    341337<textarea name="moredetails" rows="6" cols="45"></textarea>\\
    342338<table><tr><td>\\
    343 <p class="label">_textcharacterise_: </td>\\
     339<p class="label">_textcharacterise_? </td>\\
    344340<td><select name="probtype">\\
    345341<option>\\
     
    350346<option>_textfunctionality_\\
    351347</select></td></tr>\\
    352 <tr><td><p class="label">_textseverity_: </td>\\
     348<tr><td><p class="label">_textseverity_? </td>\\
    353349<td><select name="severity">\\
    354350<option>\\
     351<option>_textcritical_\\
    355352<option>_textmajor_\\
    356353<option>_textmedium_\\
     
    360357</td></tr></table>\\
    361358<br><br>\\
    362 <input type="submit" align="right" value="_textsend_">}
     359<table><tr><td align="right"><input type="submit" value="_textsend_"></td></tr></table>}
    363360
    364361#style definitions to please NS 4.7
Note: See TracChangeset for help on using the changeset viewer.