Changeset 5912
- Timestamp:
- Dec 15, 2011, 9:51:01 AM (11 years ago)
- Location:
- trunk/www
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/common/plugin/download_immediately.jsp
r5910 r5912 88 88 var remainElement = document.getElementById('percentRemain'); 89 89 remainElement.style.width = (100-percentDone)+'%'; 90 if (percentDone == 100) Main.hide('percentRemain'); 90 if (percentDone == 100) 91 { 92 Main.hide('percentRemain'); 93 Main.hide('cancel'); 94 Main.show('close'); 95 } 91 96 } 92 97 function init() … … 112 117 Do not close this window until the download has finished. 113 118 </div> 114 <br> 119 120 <table id="download" style="margin: auto; margin-top: 2em;"><tr><td> 121 <base:button onclick="downloadExport();" title="Download" image="download.gif" /> 122 </td></tr></table> 123 115 124 <!-- The progress bar --> 116 <div id="progress" style="align:center; ">125 <div id="progress" style="align:center; margin-top: 2em;"> 117 126 <table class="progressbar" style="margin: auto;"> 118 127 <tr> … … 135 144 136 145 <base:buttongroup subclass="dialogbuttons"> 137 <base:button id=" download" onclick="downloadExport();" title="Download" image="download.gif" />138 <base:button onclick="doCancel();" title="Cancel"/>146 <base:button id="cancel" onclick="doCancel();" title="Cancel" /> 147 <base:button id="close" onclick="window.close()" title="Close" style="display: none; "/> 139 148 </base:buttongroup> 140 149 -
trunk/www/plugins/net/sf/basedb/clients/web/plugins/simple_export.jsp
r5906 r5912 276 276 </base:head> 277 277 <base:body onload="init()"> 278 <h1>Export options <base:help helpid="simpleexport.options" /></h1> 278 279 <form name="export" action="index.jsp" method="post" onsubmit="return false;"> 279 280 <input type="hidden" name="ID" value="<%=ID%>"> … … 283 284 <input type="hidden" name="subcontext" value="<%=subContext == null ? "" : subContext%>"> 284 285 285 <h3 class="docked">Export options <base:help helpid="simpleexport.options" /></h3> 286 <div class="boxed"> 286 <div class="content"> 287 287 288 288 <% … … 321 321 } 322 322 %> 323 <table class="f orm" width="100%">324 <tr 325 <t d class="prompt">Format</td>323 <table class="fullform input100 bottomborder"> 324 <tr> 325 <th style="height: 4em;">Format</th> 326 326 <td> 327 327 <input type="radio" name="parameter:format" id="formatText" value="text" checked … … 331 331 </td> 332 332 </tr> 333 <tr 334 <t d class="prompt">Which items?</td>333 <tr> 334 <th style="height: 5em;">Which items?</th> 335 335 <td> 336 336 <input type="radio" name="parameter:whichItems" id="whichSelected" value="selected" … … 342 342 </td> 343 343 </tr> 344 <tr >345 <t d class="prompt">344 <tr class="big"> 345 <th> 346 346 Which columns?<br> 347 347 <select name="presets" onChange="updateColumns()"> … … 370 370 %> 371 371 </select> 372 <br> 373 <table align="right"> 372 </th> 373 <td> 374 <table width="100%"> 374 375 <tr> 375 <td> 376 <base:button 377 onclick="moveSelected(document.forms['export'].exported, false)" 378 title="<img src='../../images/move_up.png' alt='' style='vertical-align: middle;'>" 379 tooltip="Move up" 380 /><p> 381 <base:button 382 onclick="moveSelected(document.forms['export'].exported, true)" 383 title="<img src='../../images/move_down.png' alt='' style='vertical-align: middle;'>" 384 tooltip="Move down" 385 /> 386 </td> 387 </tr> 388 </table> 389 </td> 390 <td> 391 <table border=0 cellspacing=0 cellpadding=2 width="100%"> 392 <tr> 376 <td> 377 <base:buttongroup vertical="true"> 378 <base:button 379 onclick="moveSelected(document.forms['export'].exported, false)" 380 image="move_up.png" 381 tooltip="Move up" 382 /> 383 <base:button 384 onclick="moveSelected(document.forms['export'].exported, true)" 385 image="move_down.png" 386 tooltip="Move down" 387 /> 388 </base:buttongroup> 389 </td> 393 390 <td width="50%"> 394 391 <b>Exported columns</b><br> … … 397 394 </select> 398 395 </td> 399 400 <td> 401 <br> 396 <td style="padding-left: 2px;"> 397 <base:buttongroup vertical="true"> 402 398 <base:button 403 399 onclick="moveBetween(document.forms['export'].not_exported, document.forms['export'].exported)" 404 title="<img src='../../images/move_left.png' alt='' style='vertical-align: middle;'>"400 image="move_left.png" 405 401 tooltip="Make the selected hidden column(s) visible" 406 /> <p>402 /> 407 403 <base:button 408 404 onclick="moveBetween(document.forms['export'].exported, document.forms['export'].not_exported)" 409 title="<img src='../../images/move_right.png' alt='' style='vertical-align: middle;'>"405 image="move_right.png" 410 406 tooltip="Make the selected visible column(s) hidden" 411 407 /> 412 <br>408 </base:buttongroup> 413 409 </td> 414 410 <td width="50%"> … … 422 418 </td> 423 419 </tr> 424 <tr 425 <t d class="prompt">Units</td>420 <tr> 421 <th>Units</th> 426 422 <td><input type="checkbox" name="sameUnits" id="sameUnits" 427 423 value="true" checked><label for="sameUnits" 428 424 >Use same unit for all annotations in a column</label></td> 429 425 </tr> 430 <tr 431 <t d class="prompt">Column prefix</td>426 <tr> 427 <th>Column prefix</th> 432 428 <td> 433 429 <input type="text" name="parameter:columnPrefix" 434 430 class="text" size="50" maxlength="255" value=""></td> 435 431 </tr> 436 <tr 437 <t d class="prompt">Save as</td>438 <td> 439 <table cellpadding="0" border="0" cellspacing="0">432 <tr> 433 <th>Save as</th> 434 <td> 435 <table style="width:98%;"> 440 436 <tr> 441 <td><input type="text" class="text" name="path" size="50" value=""><br> 442 Leave empty to download immediately</td> 437 <td style="width: 98%;"><input type="text" class="text" name="path" value="" placeholder="Leave empty to download immediately"></td> 443 438 <td><base:button 444 439 title="Browse..." 445 440 onclick="browseOnClick()" 446 style="margin-left: 6px;"441 447 442 /> 448 443 </td> 449 444 </tr> 450 445 </table> 446 </td> 447 </tr> 448 <tr> 449 <th class="subprompt"></th> 450 <td> 451 451 <input type="checkbox" name="parameter:overwrite" id="overwrite" value="true"> 452 <label for="overwrite">Overwrite existing file</label> <br>452 <label for="overwrite">Overwrite existing file</label> 453 453 </td> 454 </tr> 455 456 <tr class="dynamic"> 457 <th></th> 458 <td></td> 454 459 </tr> 455 460 </table> … … 457 462 </form> 458 463 459 <table align="center"> 460 <tr> 461 <td width="50%"><base:button onclick="doExport();" title="Ok" /></td> 462 <td width="50%"><base:button onclick="doCancel();" title="Cancel" /></td> 463 </tr> 464 </table> 464 <base:buttongroup subclass="dialogbuttons"> 465 <base:button onclick="doExport();" title="Ok" /> 466 <base:button onclick="doCancel();" title="Cancel" /> 467 </base:buttongroup> 465 468 </base:body> 466 469 </base:page>
Note: See TracChangeset
for help on using the changeset viewer.