Changeset 5916
- Timestamp:
- Dec 19, 2011, 10:38:39 AM (11 years ago)
- Location:
- trunk/www
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/biomaterials/lists/merge.jsp
r5913 r5916 165 165 <p> 166 166 After the operation this list will 167 contain items from the red-colored areas in the image.167 contain items from the gray-colored areas in the image. 168 168 </td> 169 169 </tr> -
trunk/www/common/datafiles/select_files.jsp
r5915 r5916 369 369 { 370 370 margin-top: 1px; 371 border: 1px dotted #A0A0A0; 372 border-radius: 4px; 373 -moz-border-radius: 3px; 371 cursor: pointer; 372 } 373 374 .files 375 { 376 border: 1px solid #A0A0A0; 377 border-right: 0px; 378 border-radius: 4px 0px 0px 4px; 379 -moz-border-radius: 3px 0px 0px 3px; 374 380 padding: 1px 2px 1px 2px; 375 381 } 376 377 .filelist:hover 378 { 379 border: 1px solid #2288AA; 380 } 381 382 382 383 .fileaction 383 384 { 384 width: 20px;385 width: 40px; 385 386 text-align: center; 386 } 387 387 white-space: nowrap; 388 background-color: #E8E8E8; 389 border: 1px solid #A0A0A0; 390 border-radius: 0px 4px 4px 0px; 391 -moz-border-radius: 0px 3px 3px 0px; 392 } 393 394 .filelist:hover .files 395 { 396 border-color: #2288AA; 397 } 398 399 .filelist:hover .fileaction, .filelist.required .fileaction 400 { 401 border-color: #2288AA; 402 border-left-color: #A0A0A0; 403 } 404 405 .filelist.required .files 406 { 407 background: #D0F0FF; 408 border-color: #2288AA; 409 } 410 388 411 .recentfiles 389 412 { … … 420 443 <base:body onload="init()"> 421 444 445 <form name="datafiles"> 422 446 <div class="absolutefull filled"> 423 447 <% … … 503 527 <div class="filelist <%=isRequired ? "required" : "" %>" id="container.<%=dftId%>"> 504 528 <table style="width: 100%;"> 505 <tr><td id="filelist.<%=dftId%>" >529 <tr><td id="filelist.<%=dftId%>" class="files"> 506 530 <% 507 531 if (files != null && files.size() > 0) … … 529 553 onclick="<%="recentFilesOnClick(event, " + dftId + ")"%>" 530 554 /> 531 </td>532 <td class="fileaction">533 555 <base:icon image="add.png" 534 556 onclick="<%="addFilesOnClick(event, "+dftId+", '" + HTML.javaScriptEncode(extension) + "', "+ hasValidator + ")"%>" … … 561 583 %> 562 584 </div> 563 585 </td> 586 </tr> 587 <% 588 } 589 %> 590 <% 591 if (validationSupport) 592 { 593 %> 594 <tr> 595 <th><label for="validateFiles"><b>Validate files</b></label></th> 596 <td> 597 <span title="Enabled this check box to validate and extract metadata from selected files"> 598 <input type="checkbox" value="1" name="datafiles.validate" id="validateFiles"> 599 </span> 564 600 </td> 565 601 </tr> … … 571 607 <td></td> 572 608 </tr> 609 <% 610 if (hasNonPlatformFiles) 611 { 612 if (platform != null) 613 { 614 %> 615 <div class="legend"> 616 <base:icon image="warning.gif" /> 617 = the file type is not part of the <i><%=HTML.encodeTags(platform.getName())%></i> platform 618 </div> 619 <% 620 } 621 else if (itemSubtype != null) 622 { 623 %> 624 <div class="legend"> 625 <base:icon image="warning.gif" /> 626 = the file type is not part of the <i><%=HTML.encodeTags(itemSubtype.getName())%></i> subtype 627 </div> 628 <% 629 } 630 } 631 %> 573 632 </table> 574 633 <% … … 576 635 %> 577 636 </div> 578 579 <form name="datafiles">580 <table width="100%">581 <tr>582 <td>583 <%584 if (validationSupport)585 {586 %>587 <span title="Enabled this check box to validate and extract metadata from selected files">588 <label for="validateFiles"><b>Validate files</b></label>589 <input type="checkbox" value="1" name="datafiles.validate" id="validateFiles">590 </span>591 <%592 }593 %>594 </td>595 <td>596 <%597 if (hasNonPlatformFiles)598 {599 if (platform != null)600 {601 %>602 <div align="right">603 <base:icon image="warning.gif" />604 = The file type is not part of the <i><%=HTML.encodeTags(platform.getName())%></i> platform605 </div>606 <%607 }608 else if (itemSubtype != null)609 {610 %>611 <div align="right">612 <base:icon image="warning.gif" />613 = The file type is not part of the <i><%=HTML.encodeTags(itemSubtype.getName())%></i> subtype614 </div>615 <%616 }617 }618 %>619 </td>620 </table>621 637 </form> 638 622 639 </base:body> 623 640 </base:page> -
trunk/www/common/expression_builder.jsp
r5905 r5916 23 23 @version 2.0 24 24 --%> 25 <%@page import="net.sf.basedb.core.StringUtil"%> 25 26 <%@ page pageEncoding="UTF-8" session="false" 26 27 import="net.sf.basedb.core.DbControl" … … 341 342 </base:head> 342 343 <base:body onload="getText()"> 344 <h1>Expression builder <base:help helpid="expressionbuilder" /></h1> 343 345 344 346 <form name="expression" onsubmit="return false;"> 345 346 <h3 class="docked">Expression builder <base:help helpid="expressionbuilder" /></h3> 347 347 <div class="content"> 348 <table style="width: 100%; height: 100%;"><tr style="height: 10%;"><td> 348 349 <tbl:toolbar> 349 350 <tbl:label … … 467 468 style="border-top: 0px;"> 468 469 <td class="label">Spot: 469 <select name="spot" onchange="insertSelected(this)" >470 <select name="spot" onchange="insertSelected(this)" style="width: 12em;"> 470 471 <option value="">- select - 471 472 <% … … 488 489 %> 489 490 <td class="label">Raw data: 490 <select name="rawdata" onchange="insertSelected(this)" >491 <select name="rawdata" onchange="insertSelected(this)" style="width: 12em;"> 491 492 <option value="">- select - 492 493 <% … … 506 507 507 508 <td class="label">Reporter: 508 <select name="reporter" onchange="insertSelected(this)" >509 <select name="reporter" onchange="insertSelected(this)" style="width: 12em;"> 509 510 <option value="">- select - 510 511 <% … … 552 553 </td> 553 554 </tbl:toolbar> 554 <br> 555 <b>Expression</b><br> 556 <textarea name="expression" rows="16" cols="80" style="width: 100%;"></textarea> 557 558 <br><br> 559 <table align="center"> 560 <tr> 561 <td width="33%"><base:button 562 onclick="validateOnClick()" title="Validate…" 563 image="validate_formula.gif" 564 tooltip="Validate the expression. EXPERIMENTAL!!" /></td> 565 <td width="33%"><base:button onclick="setExpressionAndClose()" title="Ok" /></td> 566 <td width="33%"><base:button onclick="window.close()" title="Cancel" /></td> 567 555 </td> 568 556 </tr> 569 </table> 570 557 <tr style="height: 90%;"><td> 558 <table class="fullcc input100"><tr><td> 559 <textarea class="autohight" name="expression" rows="16"></textarea> 560 </td></tr></table> 561 </td></tr></table> 562 563 </div> 571 564 </form> 565 566 <base:buttongroup subclass="dialogbuttons"> 567 <base:button 568 onclick="validateOnClick()" title="Validate…" 569 image="validate_formula.gif" 570 tooltip="Validate the expression. EXPERIMENTAL!!" /> 571 <base:button onclick="setExpressionAndClose()" title="Ok" /> 572 <base:button onclick="window.close()" title="Cancel" /> 573 </base:buttongroup> 572 574 </base:body> 573 575 </base:page> -
trunk/www/common/zoom.jsp
r5908 r5916 229 229 tooltip="Insert a bookmark" 230 230 /> 231 </m:menu> 231 </m:menu> 232 232 <% 233 233 if (form.equals("help")) -
trunk/www/include/scripts/main.js
r5915 r5916 202 202 url += '&restrictions=' + (restrictions ? 1 : 0); 203 203 if (bioAssaySetId) url += '&bioassayset_id='+bioAssaySetId; 204 Main.openPopup(url, title.replace(/[^\w]/g, ''), 800, 460);204 Main.openPopup(url, title.replace(/[^\w]/g, ''), 750, 500); 205 205 } 206 206 … … 539 539 { 540 540 this.controllers = new Array(); 541 this.controllers['EXPERIMENT'] = { url:'views/experiments/index.jsp', width: 800, height:500 };541 this.controllers['EXPERIMENT'] = { url:'views/experiments/index.jsp', width:750, height:500 }; 542 542 this.controllers['BIOASSAY'] = { url:'views/experiments/bioassays/index.jsp', width:800, height:500 }; 543 543 this.controllers['BIOASSAYSET'] = { url:'views/experiments/bioassaysets/index.jsp', width:800, height:500 }; 544 544 this.controllers['TRANSFORMATION'] = { url:'views/experiments/transformations/index.jsp', width:500, height:300 }; 545 545 this.controllers['JOB'] = { url:'views/jobs/index.jsp', width:750, height:500, popup:true, edit:false }; 546 this.controllers['FORMULA'] = { url:'views/formulas/index.jsp', width: 850, height:600 };546 this.controllers['FORMULA'] = { url:'views/formulas/index.jsp', width:750, height:500 }; 547 547 this.controllers['PHYSICALBIOASSAY'] = { url:'views/physicalbioassays/index.jsp', width:750, height:500 }; 548 548 this.controllers['DERIVEDBIOASSAY'] = { url:'views/derivedbioassays/index.jsp', width:750, height:500 }; … … 550 550 this.controllers['RAWDATA'] = { url:'views/rawbioassays/rawdata/index.jsp', width:750, height:500, popup: true, edit:false }; 551 551 this.controllers['REPORTERLIST'] = { url:'views/reporterlists/index.jsp', width:600, height:400 }; 552 this.controllers['REPORTER'] = { url:'views/reporters/index.jsp', width: 540, height:460 };552 this.controllers['REPORTER'] = { url:'views/reporters/index.jsp', width:600, height:400 }; 553 553 this.controllers['REPORTERSCORE'] = this.controllers['REPORTER']; 554 554 this.controllers['SCAN'] = { url:'views/scans/index.jsp', width:800, height:500 }; -
trunk/www/include/styles/main.css
r5914 r5916 237 237 font-size: 1em; 238 238 margin: 1px; 239 border: 1px dotted #A0A0A0;239 border: 1px solid #A0A0A0; 240 240 border-radius: 3px; 241 241 background: #FFFFFF; … … 311 311 { 312 312 background: #D0F0FF; 313 border : 1px solid #2288AA;313 border-color: #2288AA !important; 314 314 } 315 315 -
trunk/www/views/experiments/edit_experiment.jsp
r5908 r5916 333 333 </base:head> 334 334 <base:body onload="init()"> 335 < p>335 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 336 336 <form action="index.jsp?ID=<%=ID%>" method="post" name="experiment" onsubmit="return false;"> 337 337 <input type="hidden" name="cmd" value="UpdateItem"> 338 338 339 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>340 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*370)+"px;"%>"339 <t:tabcontrol id="settings" 340 subclass="content dialogtabcontrol" 341 341 position="bottom" remember="<%=experiment != null%>" 342 342 extensions="<%=invoker%>"> 343 343 <t:tab id="info" title="Experiment" validate="validateExperiment()" helpid="experiment.edit"> 344 <table class="f orm" cellspacing=0>345 <tr> 346 <t d class="prompt">Name</td>344 <table class="fullform input100"> 345 <tr> 346 <th>Name</th> 347 347 <td><input <%=requiredClazz%> type="text" name="name" 348 348 value="<%=HTML.encodeTags(experiment == null ? Values.getString(cc.getPropertyValue("name"), "New experiment") : experiment.getName())%>" 349 size="40"maxlength="<%=Experiment.MAX_NAME_LENGTH%>"></td>350 </tr>351 352 <tr> 353 <t d class="prompt">Raw data type</td>349 maxlength="<%=Experiment.MAX_NAME_LENGTH%>"></td> 350 <td></td> 351 </tr> 352 <tr> 353 <th>Raw data type</th> 354 354 <td> 355 355 <% … … 387 387 } 388 388 %> 389 390 < /td>391 </tr> 392 <tr> 393 <t d class="prompt">Directory</td>389 </td> 390 <td></td> 391 </tr> 392 <tr> 393 <th>Directory</th> 394 394 <td> 395 395 <base:select … … 404 404 /> 405 405 </td> 406 <td></td> 406 407 </tr> 407 408 <tr > 408 <td class="prompt">Raw bioassays</td> 409 <td> 410 <table border="0" cellspacing="0" cellpadding="0"> 411 <tr > 412 <td> 413 <select name="rawBioAssays" size="5" multiple style="width: 20em;"> 409 <th>Raw bioassays</th> 410 <td> 411 <div class="selectionlist"> 412 <table> 413 <tr> 414 <td> 415 <select name="rawBioAssays" size="5" multiple> 414 416 </select> 417 </td> 418 <td style="vertical-align: top;"> 419 <base:buttongroup vertical="true"> 420 <base:button 421 subclass="leftaligned" 422 style="width: 14em;" 423 onclick="addRawBioAssaysOnClick()" 424 title="Add raw bioassays…" 425 tooltip="Add raw bioassays" 426 /> 427 <base:button 428 subclass="leftaligned" 429 style="width: 14em;" 430 onclick="removeRawBioAssaysOnClick()" 431 title="Remove" 432 tooltip="Remove the selected raw bioassays" 433 /> 434 </base:buttongroup> 415 435 <input type="hidden" name="addedRawBioAssays" value=""> 416 436 <input type="hidden" name="removedRawBioAssays" value=""> 417 </td> 418 <td> 419 <table border="0"> 420 <tr><td width="150"><base:button 421 clazz="leftaligned buttonclass" 422 onclick="addRawBioAssaysOnClick()" 423 title="Add raw bioassays…" 424 tooltip="Add raw bioassays" 425 /></td></tr> 426 <tr><td width="150"><base:button 427 clazz="leftaligned buttonclass" 428 onclick="removeRawBioAssaysOnClick()" 429 title="Remove" 430 tooltip="Remove the selected raw bioassays" 431 /></td></tr> 432 </table> 433 </td> 437 </td> 434 438 </tr> 435 439 </table> 436 </td> 437 </tr> 438 <tr > 439 <td class="prompt">Description</td> 440 <td nowrap> 441 <textarea <%=clazz%> rows="4" cols="40" name="description" 440 </div> 441 </td> 442 <td></td> 443 </tr> 444 <tr class="dynamic"> 445 <th>Description</th> 446 <td> 447 <textarea <%=clazz%> rows="4" name="description" 442 448 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("description") : experiment.getDescription())%></textarea> 443 <a href="javascript:Main.zoom('Description', 'rawbioassay', 'description')" 444 title="Edit in larger window"><base:icon image="zoom.png" /></a> 449 </td> 450 <td style="width: 20px;"> 451 <base:icon image="zoom.png" 452 onclick="Main.zoom('Description', 'experiment', 'description')" 453 tooltip="Edit in larger window" 454 /> 445 455 </td> 446 456 </tr> 447 457 </table> 448 <div align=right> 449 <i><base:icon image="required.gif" /> = required information</i> 450 <%if (experiment == null) {%><br> 451 <i><base:icon image="unchangeable.gif" /> = can't be changed later</i> 452 <%}%> 453 </div> 458 454 459 </t:tab> 455 460 456 461 <t:tab id="publication" title="Publication" helpid="experiment.edit.publication"> 457 <table class="f orm" cellspacing=0>458 <tr> 459 <t d class="prompt">PubMedId</td>462 <table class="fullform input100"> 463 <tr> 464 <th>PubMedId</th> 460 465 <td><input <%=clazz%> type="text" name="pubMedId" 461 466 value="<%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("pubMedId") : experiment.getPubMedId())%>" 462 size="40" maxlength="<%=Experiment.MAX_PUBMEDID_LENGTH%>"></td> 463 </tr> 464 <td class="prompt">Title</td> 465 <td nowrap> 466 <textarea <%=clazz%> rows="4" cols="40" name="title" 467 maxlength="<%=Experiment.MAX_PUBMEDID_LENGTH%>"></td> 468 <td></td> 469 </tr> 470 <th>Title</th> 471 <td> 472 <textarea <%=clazz%> rows="4" name="title" 467 473 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("title") : experiment.getTitle())%></textarea> 468 <a href="javascript:Main.zoom('Title', 'experiment', 'title')" 469 title="Edit in larger window"><base:icon image="zoom.png" /></a> 470 </td> 471 </tr> 472 <tr> 473 <td class="prompt">Publication date</td> 474 <td> 475 <table border="0" cellspacing="0" cellpadding="0"> 474 </td> 475 <td style="width: 20px;"> 476 <base:icon image="zoom.png" 477 onclick="Main.zoom('Title', 'experiment', 'title')" 478 tooltip="Edit in larger window" 479 /> 480 </td> 481 </tr> 482 <tr> 483 <th>Publication date</th> 484 <td> 485 <table> 476 486 <tr> 477 487 <td> 478 <input <%=clazz%> type="text" name="publicationDate"488 <input <%=clazz%> style="width: 15em;" type="text" name="publicationDate" 479 489 value="<%=HTML.encodeTags(dateFormatter.format(experiment == null ? 480 490 (Date)cc.getPropertyObject("publicationDate") : experiment.getPublicationDate()))%>" 481 size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"> 482 491 maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"> 483 492 </td> 484 493 <td> … … 491 500 </td> 492 501 </tr> 493 </table> 494 </td> 495 </tr> 496 <tr > 497 <td class="prompt">Abstract</td> 498 <td nowrap> 499 <textarea <%=clazz%> rows="4" cols="40" name="abstract" 502 </table> 503 </td> 504 <td></td> 505 </tr> 506 <tr> 507 <th>Abstract</th> 508 <td> 509 <textarea <%=clazz%> rows="4" name="abstract" 500 510 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("abstract") : experiment.getAbstract())%></textarea> 501 <a href="javascript:Main.zoom('Abstract', 'experiment', 'abstract')" 502 title="Edit in larger window"><base:icon image="zoom.png" /></a> 503 </td> 504 </tr> 505 <tr > 506 <td class="prompt">Experiment design</td> 507 <td nowrap> 508 <textarea <%=clazz%> rows="4" cols="40" name="experimentDesign" 511 </td> 512 <td style="width: 20px;"> 513 <base:icon image="zoom.png" 514 onclick="Main.zoom('Abstract', 'experiment', 'abstract')" 515 tooltip="Edit in larger window" 516 /> 517 </td> 518 </tr> 519 <tr> 520 <th>Experiment design</th> 521 <td> 522 <textarea <%=clazz%> rows="4" name="experimentDesign" 509 523 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("experimentDesign") : experiment.getExperimentDesign())%></textarea> 510 <a href="javascript:Main.zoom('Experiment design', 'experiment', 'experimentDesign')" 511 title="Edit in larger window"><base:icon image="zoom.png" /></a> 512 </td> 513 </tr> 514 <tr > 515 <td class="prompt">Experiment type</td> 516 <td nowrap> 517 <textarea <%=clazz%> rows="4" cols="40" name="experimentType" 524 </td> 525 <td style="width: 20px;"> 526 <base:icon image="zoom.png" 527 onclick="Main.zoom('Experiment design', 'experiment', 'experimentDesign')" 528 tooltip="Edit in larger window" 529 /> 530 </td> 531 </tr> 532 <tr> 533 <th>Experiment type</th> 534 <td> 535 <textarea <%=clazz%> rows="4" name="experimentType" 518 536 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("experimentType") : experiment.getExperimentType())%></textarea> 519 <a href="javascript:Main.zoom('Experiment type', 'experiment', 'experimentType')" 520 title="Edit in larger window"><base:icon image="zoom.png" /></a> 521 </td> 522 </tr> 523 <tr > 524 <td class="prompt">Affiliations</td> 525 <td nowrap> 526 <textarea <%=clazz%> rows="4" cols="40" name="affiliations" 537 </td> 538 <td style="width: 20px;"> 539 <base:icon image="zoom.png" 540 onclick="Main.zoom('Experiment type', 'experiment', 'experimentType')" 541 tooltip="Edit in larger window" 542 /> 543 </td> 544 </tr> 545 <tr> 546 <th>Affiliations</th> 547 <td> 548 <textarea <%=clazz%> rows="4" name="affiliations" 527 549 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("affiliations") : experiment.getAffiliations())%></textarea> 528 <a href="javascript:Main.zoom('Affiliations', 'experiment', 'affiliations')" 529 title="Edit in larger window"><base:icon image="zoom.png" /></a> 530 </td> 531 </tr> 532 <tr > 533 <td class="prompt">Authors</td> 534 <td nowrap> 535 <textarea <%=clazz%> rows="4" cols="40" name="authors" 550 </td> 551 <td style="width: 20px;"> 552 <base:icon image="zoom.png" 553 onclick="Main.zoom('Affiliations', 'experiment', 'affiliations')" 554 tooltip="Edit in larger window" 555 /> 556 </td> 557 </tr> 558 <tr> 559 <th>Authors</th> 560 <td> 561 <textarea <%=clazz%> rows="4" name="authors" 536 562 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("authors") : experiment.getAuthors())%></textarea> 537 <a href="javascript:Main.zoom('Authors', 'experiment', 'authors')" 538 title="Edit in larger window"><base:icon image="zoom.png" /></a> 539 </td> 540 </tr> 541 <tr > 542 <td class="prompt">Publication</td> 543 <td nowrap> 544 <textarea <%=clazz%> rows="4" cols="40" name="publication" 563 </td> 564 <td style="width: 20px;"> 565 <base:icon image="zoom.png" 566 onclick="Main.zoom('Authors', 'experiment', 'authors')" 567 tooltip="Edit in larger window" 568 /> 569 </td> 570 </tr> 571 <tr> 572 <th>Publication</th> 573 <td> 574 <textarea <%=clazz%> rows="4" name="publication" 545 575 ><%=HTML.encodeTags(experiment == null ? cc.getPropertyValue("publication") : experiment.getPublication())%></textarea> 546 <a href="javascript:Main.zoom('Publication', 'experiment', 'publication')" 547 title="Edit in larger window"><base:icon image="zoom.png" /></a> 576 </td> 577 <td style="width: 20px;"> 578 <base:icon image="zoom.png" 579 onclick="Main.zoom('Publication', 'experiment', 'publication')" 580 tooltip="Edit in larger window" 581 /> 548 582 </td> 549 583 </tr> … … 553 587 <t:tab id="experimentalFactors" title="Experimental factors" 554 588 validate="validateExperimentalFactors()" helpid="experiment.edit.factors"> 555 <table class="form" cellspacing=0 width="100%"> 556 557 <tr > 558 <td class="prompt">Annotation types</td> 559 </tr> 560 <tr> 561 <td> 562 <select name="annotationTypes" size="20" multiple style="width: 100%;"> 563 </select> 564 <input type="hidden" name="addedAnnotationTypes" value=""> 565 <input type="hidden" name="removedAnnotationTypes" value=""> 566 </td> 567 <td width="200px"> 568 <table border="0"> 569 <tr><td width="150"><base:button 570 clazz="leftaligned buttonclass" 571 onclick="addAnnotationTypesOnClick()" 572 title="Add annotation types…" 573 tooltip="Add annotation types" 574 /></td></tr> 575 <tr><td width="150"><base:button 576 clazz="leftaligned buttonclass" 577 onclick="removeAnnotationTypesOnClick()" 578 title="Remove" 579 tooltip="Remove the selected annotation types" 580 /></td></tr> 589 <table class="fullform input100"> 590 <tr class="big"> 591 <th>Annotation types</th> 592 <td> 593 594 <div class="selectionlist"> 595 <table> 596 <tr> 597 <td> 598 <select name="annotationTypes" size="20" multiple> 599 </select> 600 </td> 601 <td style="vertical-align: top;"> 602 <base:buttongroup vertical="true"> 603 <base:button 604 subclass="leftaligned" 605 style="width: 14em;" 606 onclick="addAnnotationTypesOnClick()" 607 title="Add annotation types…" 608 tooltip="Add annotation types" 609 /> 610 <base:button 611 subclass="leftaligned" 612 style="width: 14em;" 613 onclick="removeAnnotationTypesOnClick()" 614 title="Remove" 615 tooltip="Remove the selected annotation types" 616 /> 617 </base:buttongroup> 618 <input type="hidden" name="addedRawBioAssays" value=""> 619 <input type="hidden" name="removedRawBioAssays" value=""> 620 </td> 621 </tr> 581 622 </table> 582 </td> 623 </div> 624 </td> 625 </tr> 626 <tr class="dynamic"> 627 <th></th> 628 <td></td> 583 629 </tr> 584 630 </table> … … 586 632 587 633 </t:tabcontrol> 588 589 <table align="center">590 <tr>591 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>592 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>593 </tr>594 </table>595 634 </form> 635 636 <div class="legend"> 637 <base:icon image="required.gif" /> = required information 638 <%if (experiment == null) {%><br> 639 <base:icon image="unchangeable.gif" /> = can't be changed later</i> 640 <%}%> 641 </div> 642 643 <base:buttongroup subclass="dialogbuttons"> 644 <base:button onclick="saveSettings()" title="Save" /> 645 <base:button onclick="window.close()" title="Cancel" /> 646 </base:buttongroup> 596 647 </base:body> 597 648 </base:page> -
trunk/www/views/formulas/edit_formula.jsp
r5908 r5916 403 403 </base:head> 404 404 <base:body onload="init()"> 405 < p>405 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 406 406 <form action="index.jsp?ID=<%=ID%>" method="post" name="formula" onsubmit="return false;"> 407 407 <input type="hidden" name="cmd" value="UpdateItem"> 408 408 409 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>410 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*460)+"px;"%>"409 <t:tabcontrol id="settings" 410 subclass="content dialogtabcontrol" 411 411 position="bottom" remember="<%=formula != null%>" 412 412 extensions="<%=invoker%>"> 413 413 <t:tab id="info" title="Formula" validate="validateFormula()" helpid="formula.edit"> 414 <table class="f orm" cellspacing=0>415 <tr> 416 <t d class="prompt">Name</td>414 <table class="fullform input100"> 415 <tr> 416 <th>Name</th> 417 417 <td><input <%=requiredClazz%> type="text" name="name" 418 418 value="<%=HTML.encodeTags(formula == null ? Values.getString(cc.getPropertyValue("name"), "New formula") : formula.getName())%>" 419 size="40" maxlength="<%=Formula.MAX_NAME_LENGTH%>"></td> 420 </tr> 421 <tr> 422 <td class="prompt">Type</td> 423 <td> 424 <select name="type" class="required" onchange="formulaTypeOnChange()"> 419 maxlength="<%=Formula.MAX_NAME_LENGTH%>"></td> 420 <td></td> 421 </tr> 422 <tr> 423 <th>Type</th> 424 <td> 425 <select name="type" class="required" onchange="formulaTypeOnChange()" style="width: 15em;"> 425 426 <% 426 427 for (Formula.Type type : Formula.Type.values()) … … 434 435 </select> 435 436 </td> 436 </tr> 437 <tr> 438 <td class="prompt">Parser</td> 439 <td> 440 <select name="parser" class="required"> 437 <td></td> 438 </tr> 439 <tr> 440 <th>Parser</th> 441 <td> 442 <select name="parser" class="required" style="width: 15em;"> 441 443 <% 442 444 for (Formula.Parser parser : Formula.Parser.values()) … … 450 452 </select> 451 453 </td> 452 </tr> 453 <tr> 454 <td class="prompt">Raw data type</td> 455 <td> 456 <select name="rawdatatype" onchange="rawDataTypeOnChange()"> 454 <td></td> 455 </tr> 456 <tr> 457 <th>Raw data type</th> 458 <td> 459 <select name="rawdatatype" onchange="rawDataTypeOnChange()" style="width: 15em;"> 457 460 <option value="">- none - 458 461 <% … … 467 470 </select> 468 471 </td> 469 </tr> 470 <tr> 471 <td class="prompt">Channels</td> 472 <td></td> 473 </tr> 474 <tr> 475 <th>Channels</th> 472 476 <td><input <%=currentRawDataType != null ? "class=\"text disabled\" disabled" : requiredClazz%> type="text" name="channels" 477 style="width:15em;" 473 478 value="<%=formula == null ? (currentRawDataType == null ? Values.getInt(cc.getPropertyValue("channels")) : currentRawDataType.getChannels()) : formula.getChannels()%>" 474 size="12"maxlength="10" onkeypress="return Numbers.integerOnly(event)"479 maxlength="10" onkeypress="return Numbers.integerOnly(event)" 475 480 ></td> 476 </tr> 477 <tr > 478 <td class="prompt">Expressions</td> 479 <td> 480 <table border="0" cellspacing="0" cellpadding="2"> 481 <td></td> 482 </tr> 483 <tr class="big"> 484 <th>Expressions</th> 485 <td> 486 <table> 481 487 <tr> 482 488 <td> … … 514 520 </table> 515 521 </td> 516 </tr> 517 <tr> 518 <td class="prompt">Value type</td> 519 <td> 520 <select name="valueType"> 522 <td></td> 523 </tr> 524 <tr> 525 <th>Value type</th> 526 <td> 527 <select name="valueType" style="width: 15em;"> 521 528 <option value="">- unknown - 522 529 <% … … 531 538 </select> 532 539 </td> 533 </tr> 534 <tr> 535 <td class="prompt">Avg. method</td> 536 <td> 537 <select name="averageMethod" class="required"> 540 <td></td> 541 </tr> 542 <tr> 543 <th>Avg. method</th> 544 <td> 545 <select name="averageMethod" class="required" style="width: 15em;"> 538 546 <% 539 547 for (Formula.AverageMethod method : Formula.AverageMethod.values()) … … 547 555 </select> 548 556 </td> 549 </tr> 550 <tr> 551 <td class="prompt">Source intensity<br>transformation</td> 552 <td colspan=""> 553 <select name="sourceIntensityTransform"> 557 <td></td> 558 </tr> 559 <tr> 560 <th>Intensity<br>transformation</th> 561 <td> 562 <b>Source</b> 563 <select name="sourceIntensityTransform" style="width: 15em;"> 554 564 <option value="">- any - 555 565 <% … … 563 573 %> 564 574 </select> 565 </td> 566 </tr> 567 <tr> 568 <td class="prompt">Result intensity<br>transformation</td> 569 <td colspan=""> 570 <select name="resultIntensityTransform"> 575 <b>Result</b> 576 <select name="resultIntensityTransform" style="width: 15em;"> 571 577 <option value="">- any - 572 578 <% … … 581 587 </select> 582 588 </td> 583 </tr> 584 <tr> 585 <td class="prompt"><label for="useColors">Use colors</label></td> 589 <td></td> 590 </tr> 591 <tr> 592 <th></th> 586 593 <td> 587 594 <input type="checkbox" name="use_colors" id="useColors" value="1" 588 595 <%=coloring.isUsingColors() ? "checked" : "" %> 589 596 onclick="useColorsOnClick()"> 597 <label for="useColors"><b>Use colors</b></label> 590 598 591 <b>Min value</b>592 <input type="text" class="text" name="min_value"593 value="<%=Values.formatNumber(coloring.getMinValue(), -1)%>"594 size="6" maxlength="6"595 onkeypress="return Numbers.numberOnly(event)"596 >597 <b>Mid value</b>598 <input type="text" class="text" name="mid_value"599 value="<%=Values.formatNumber(coloring.getMidValue(), -1)%>"600 size="6" maxlength="6"601 onkeypress="return Numbers.numberOnly(event)"602 >603 <b>Max value</b>604 <input type="text" class="text" name="max_value"605 value="<%=Values.formatNumber(coloring.getMaxValue(), -1)%>"606 size="6" maxlength="6"607 onkeypress="return Numbers.numberOnly(event)"608 >609 <br>610 599 <input type="checkbox" name="logarithmic" id="logarithmic" value="1" 611 600 <%=coloring.isLogarithmic() ? "checked" : "" %>> 612 <label for="logarithmic"><b>Logarithmic</b></label> 613 </td> 614 </tr> 615 616 <tr > 617 <td class="prompt">Description</td> 618 <td nowrap> 619 <textarea <%=clazz%> rows="4" cols="40" name="description" 601 <label for="logarithmic"><b>Logarithmic</b></label> 602 </td> 603 <td></td> 604 </tr> 605 <tr> 606 <th class="subprompt"></th> 607 <td> 608 <b>Min value</b> 609 <input type="text" class="text" name="min_value" style="width: 6em;" 610 value="<%=Values.formatNumber(coloring.getMinValue(), -1)%>" 611 maxlength="6" onkeypress="return Numbers.numberOnly(event)"> 612 <b>Mid value</b> 613 <input type="text" class="text" name="mid_value" style="width: 6em;" 614 value="<%=Values.formatNumber(coloring.getMidValue(), -1)%>" 615 maxlength="6" onkeypress="return Numbers.numberOnly(event)"> 616 <b>Max value</b> 617 <input type="text" class="text" name="max_value" style="width: 6em;" 618 value="<%=Values.formatNumber(coloring.getMaxValue(), -1)%>" 619 maxlength="6" onkeypress="return Numbers.numberOnly(event)"> 620 </td> 621 <td></td> 622 </tr> 623 <tr class="dynamic"> 624 <th>Description</th> 625 <td> 626 <textarea <%=clazz%> rows="4" name="description" 620 627 ><%=HTML.encodeTags(formula == null ? cc.getPropertyValue("description") : formula.getDescription())%></textarea> 621 <a href="javascript:Main.zoom('Description', 'formula', 'description')" 622 title="Edit in larger window"><base:icon image="zoom.png" /></a> 628 </td> 629 <td style="width: 20px;"> 630 <base:icon image="zoom.png" 631 onclick="Main.zoom('Description', 'formula', 'description')" 632 tooltip="Edit in larger window" 633 /> 623 634 </td> 624 635 </tr> 625 636 </table> 626 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>627 637 </t:tab> 628 638 </t:tabcontrol> 629 630 <table align="center">631 <tr>632 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>633 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>634 </tr>635 </table>636 639 </form> 640 641 <div class="legend"> 642 <base:icon image="required.gif" /> = required information 643 </div> 644 645 <base:buttongroup subclass="dialogbuttons"> 646 <base:button onclick="saveSettings()" title="Save" /> 647 <base:button onclick="window.close()" title="Cancel" /> 648 </base:buttongroup> 637 649 </base:body> 638 650 </base:page> -
trunk/www/views/reporterlists/edit_reporterlist.jsp
r5908 r5916 184 184 </base:head> 185 185 <base:body onload="init()"> 186 < p>186 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 187 187 <form action="index.jsp?ID=<%=ID%>" method="post" name="reporterList" onsubmit="return false;"> 188 188 <input type="hidden" name="cmd" value="UpdateItem"> … … 196 196 } 197 197 %> 198 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>199 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*260)+"px;"%>"198 <t:tabcontrol id="settings" 199 subclass="content dialogtabcontrol" 200 200 position="bottom" remember="<%=reporterList != null%>" 201 201 extensions="<%=invoker%>"> 202 202 <t:tab id="info" title="Reporter list" 203 203 validate="validateReporterList()" helpid="reporterlist.edit"> 204 <table class="f orm" cellspacing=0>204 <table class="fullform input100"> 205 205 <tr> 206 <t d class="prompt">Name</td>206 <th>Name</th> 207 207 <td><input <%=requiredClazz%> type="text" name="name" 208 208 value="<%=HTML.encodeTags(name)%>" 209 size="40" maxlength="<%=ReporterList.MAX_NAME_LENGTH%>"></td> 209 maxlength="<%=ReporterList.MAX_NAME_LENGTH%>"></td> 210 <td></td> 210 211 </tr> 211 212 <tr> 212 <t d class="prompt">External ID</td>213 <th>External ID</th> 213 214 <td><input <%=clazz%> type="text" name="external_id" 214 215 value="<%=HTML.encodeTags(reporterList == null ? Values.getString(cc.getPropertyValue("externalId")) : reporterList.getExternalId())%>" 215 size="40" maxlength="<%=ReporterList.MAX_EXTERNAL_ID_LENGTH%>"></td> 216 maxlength="<%=ReporterList.MAX_EXTERNAL_ID_LENGTH%>"></td> 217 <td></td> 216 218 </tr> 217 219 <% … … 219 221 { 220 222 %> 221 <tr 222 <t d class="prompt">Which reporters?</td>223 <tr> 224 <th>Which reporters?</th> 223 225 <td> 224 226 <input type="radio" name="which" id="whichSelected" value="selected" … … 229 231 ><label for="whichAll">All pages</label><br> 230 232 </td> 233 <td></td> 231 234 </tr> 232 235 <% … … 235 238 { 236 239 %> 237 <tr 238 <t d class="prompt">Add reporters?</td>240 <tr> 241 <th>Add reporters?</th> 239 242 <td> 240 243 <input type="radio" name="create" id="createEmpty" value="" … … 261 264 of the selected lists (1-<%=numSelectedLists%>). 262 265 <br> 263 264 266 </td> 267 <td></td> 265 268 </tr> 266 269 <% 267 270 } 268 271 %> 269 <tr >270 <t d class="prompt">Description</td>272 <tr class="dynamic"> 273 <th>Description</th> 271 274 <td nowrap> 272 275 <textarea <%=clazz%> rows="4" cols="40" name="description" 273 276 ><%=HTML.encodeTags(reporterList == null ? cc.getPropertyValue("description") : reporterList.getDescription())%></textarea> 274 <a href="javascript:Main.zoom('Description', 'reporterList', 'description')" 275 title="Edit in larger window"><base:icon image="zoom.png" /></a> 277 </td> 278 <td style="width: 20px;"> 279 <base:icon image="zoom.png" 280 onclick="Main.zoom('Description', 'reporterList', 'description')" 281 tooltip="Edit in larger window" 282 /> 276 283 </td> 277 284 </tr> 278 285 </table> 279 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>280 286 </t:tab> 281 287 </t:tabcontrol> 282 283 <table align="center">284 <tr>285 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>286 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>287 </tr>288 </table>289 288 </form> 289 290 <div class="legend"> 291 <base:icon image="required.gif" /> = required information 292 </div> 293 294 <base:buttongroup subclass="dialogbuttons"> 295 <base:button onclick="saveSettings()" title="Save" /> 296 <base:button onclick="window.close()" title="Cancel" /> 297 </base:buttongroup> 290 298 </base:body> 291 299 </base:page> -
trunk/www/views/reporterlists/merge.jsp
r5905 r5916 129 129 </base:head> 130 130 <base:body onload="init()"> 131 < p>131 <h1><%=title%> <base:help helpid="reporterlist.merge" /></h1> 132 132 <form action="index.jsp?ID=<%=ID%>" method="post" name="merge" onsubmit="return false;"> 133 133 <input type="hidden" name="cmd" value="MergeItem"> 134 134 135 <h3 class="docked"><%=title%> <base:help helpid="reporterlist.merge" /></h3> 136 <div class="boxedbottom" style="height: <%=(int)(scale*300)%>px; "> 137 <table class="form" cellspacing=0> 138 135 <div class="content bottomborder"> 136 <table class="fullform input100"> 139 137 <tr> 140 <t d class="prompt">This list</td>138 <th>This list</th> 141 139 <td><%=HTML.encodeTags(reporterList.getName())%></td> 142 140 <td rowspan="2"> … … 144 142 </td> 145 143 </tr> 146 <tr >147 <t d class="prompt">What to do</td>144 <tr class="big"> 145 <th>What to do</th> 148 146 <td> 149 147 <select name="mergeType" onchange="mergeTypeOnChange()"> … … 166 164 <p> 167 165 After the operation this list will 168 contain reporters from the red-colored areas in the image.166 contain reporters from the gray-colored areas in the image. 169 167 170 168 </td> 171 169 </tr> 172 <tr >173 <t d class="prompt">Reporter lists</td>170 <tr class="dynamic"> 171 <th>Reporter lists</th> 174 172 <td colspan="2"> 175 <table border="0" cellspacing="0" cellpadding="0"> 176 <tr > 173 <div class="selectionlist"> 174 <table> 175 <tr> 177 176 <td> 178 <select name="reporterLists" size=" 5" multiple style="width: 20em;">177 <select name="reporterLists" size="10" multiple> 179 178 </select> 180 179 <input type="hidden" name="sourceLists" value=""> 181 180 </td> 182 181 <td> 183 <table border="0"> 184 <tr><td width="150"><base:button 185 onclick="addReporterListsOnClick()" 186 title="Add reporter lists…" 187 tooltip="Add reporter lists" 188 /></td></tr> 189 <tr><td width="150"><base:button 190 onclick="removeReporterListsOnClick()" 191 title="Remove" 192 tooltip="Remove the selected reporter lists" 193 /></td></tr> 194 </table> 182 <td style="vertical-align: top;"> 183 <base:buttongroup vertical="true"> 184 <base:button 185 subclass="leftaligned" 186 style="width: 12em;" 187 onclick="addReporterListsOnClick()" 188 title="Add reporter lists…" 189 tooltip="Add reporter lists" 190 /> 191 <base:button 192 subclass="leftaligned" 193 style="width: 12em;" 194 onclick="removeReporterListsOnClick()" 195 title="Remove" 196 tooltip="Remove the selected reporter lists" 197 /> 198 </base:buttongroup> 199 <input type="hidden" name="sourceLists" value=""> 195 200 </td> 196 201 </tr> 197 202 </table> 203 </div> 198 204 </td> 199 205 </tr> 200 </table> 206 </table> 207 </div> 208 </form> 201 209 202 </div> 203 204 <table align="center"> 205 <tr> 206 <td width="50%"><base:button onclick="saveSettings()" title="Ok" /></td> 207 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td> 208 </tr> 209 </table> 210 </form> 210 <base:buttongroup subclass="dialogbuttons"> 211 <base:button onclick="saveSettings()" title="Ok" /> 212 <base:button onclick="window.close()" title="Cancel" /> 213 </base:buttongroup> 211 214 </base:body> 212 215 </base:page> -
trunk/www/views/reporterlists/view_reporterlist.jsp
r5910 r5916 152 152 function merge(mergeType) 153 153 { 154 Main.openPopup('merge.jsp?ID=<%=ID%>&item_id=<%=itemId%>&mergeType='+mergeType, 'Union', 600, 4 40);154 Main.openPopup('merge.jsp?ID=<%=ID%>&item_id=<%=itemId%>&mergeType='+mergeType, 'Union', 600, 400); 155 155 } 156 156 </script> -
trunk/www/views/reporters/edit_reporter.jsp
r5908 r5916 226 226 </base:head> 227 227 <base:body> 228 < p>228 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 229 229 <form action="index.jsp?ID=<%=ID%>" method="post" name="reporter" onsubmit="return false;"> 230 230 <input type="hidden" name="cmd" value="UpdateItem"> 231 231 232 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>233 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*340)+"px;"%>"232 <t:tabcontrol id="settings" 233 subclass="content dialogtabcontrol" 234 234 position="bottom" remember="<%=reporter != null%>" 235 235 extensions="<%=invoker%>"> 236 236 <t:tab id="info" title="Reporter" validate="validateReporter()" helpid="reporter.edit"> 237 <table class="f orm" cellspacing=0>237 <table class="fullform input100"> 238 238 <tr> 239 <t d class="prompt">Name</td>239 <th>Name</th> 240 240 <td><input <%=requiredClazz%> type="text" name="name" 241 241 value="<%=HTML.encodeTags(reporter == null ? Values.getString(cc.getPropertyValue("name"), "New reporter") : reporter.getName())%>" 242 size="40" maxlength="<%=ReporterData.MAX_NAME_LENGTH%>"></td> 242 maxlength="<%=ReporterData.MAX_NAME_LENGTH%>"></td> 243 <td></td> 243 244 </tr> 244 245 <tr> 245 <t d class="prompt">External ID</td>246 <th>External ID</th> 246 247 <td><input <%=requiredClazz%> type="text" name="externalId" 247 248 value="<%=HTML.encodeTags(reporter == null ? cc.getPropertyValue("externalId") : reporter.getExternalId())%>" 248 size="40" maxlength="<%=ReporterData.MAX_EXTERNAL_ID_LENGTH%>"></td> 249 maxlength="<%=ReporterData.MAX_EXTERNAL_ID_LENGTH%>"></td> 250 <td></td> 249 251 </tr> 250 252 <tr> 251 <t d class="prompt">Type</td>253 <th>Type</th> 252 254 <td> 253 <select name="reportertype_id" <%=!readCurrentReporterType ? "disabled readonly class=\"disabled\"" : ""%> >255 <select name="reportertype_id" <%=!readCurrentReporterType ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;"> 254 256 <% 255 257 if (!readCurrentReporterType) … … 280 282 </select> 281 283 </td> 284 <td></td> 282 285 </tr> 283 286 <tr> 284 <t d class="prompt">Gene symbol</td>287 <th>Gene symbol</th> 285 288 <td><input <%=clazz%> type="text" name="symbol" 286 289 value="<%=HTML.encodeTags(reporter == null ? cc.getPropertyValue("symbol") : reporter.getSymbol())%>" 287 size="40" maxlength="<%=ReporterData.MAX_SYMBOL_LENGTH%>"></td> 290 maxlength="<%=ReporterData.MAX_SYMBOL_LENGTH%>"></td> 291 <td></td> 288 292 </tr> 289 <tr >290 <t d class="prompt">Description</td>293 <tr class="dynamic"> 294 <th>Description</th> 291 295 <td nowrap> 292 <textarea <%=clazz%> rows=" 4" cols="40" name="description"296 <textarea <%=clazz%> rows="6" name="description" 293 297 ><%=HTML.encodeTags(reporter == null ? cc.getPropertyValue("description") : reporter.getDescription())%></textarea> 294 <a href="javascript:Main.zoom('Description', 'reporter', 'description')" title="Edit in larger window"><base:icon image="zoom.png" /></a> 298 </td> 299 <td style="width: 20px;"> 300 <base:icon image="zoom.png" 301 onclick="Main.zoom('Description', 'reporter', 'description')" 302 tooltip="Edit in larger window" 303 /> 295 304 </td> 296 305 </tr> 297 306 </table> 298 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>307 299 308 </t:tab> 300 309 301 310 <t:tab id="extended" title="Extended properties" 302 311 validate="validateExtendedProperties()" helpid="reporter.edit.extended"> 303 <table class="f orm" cellspacing=0>312 <table class="fullform input100"> 304 313 <% 305 314 if (reporterProperties != null) … … 312 321 Object value = reporter == null ? cc.getPropertyValue(name) : reporter.getExtended(name); 313 322 String theClazz = required ? requiredClazz : clazz; 323 boolean hasZoom = false; 314 324 %> 315 <tr 316 <t d class="prompt"><%=HTML.encodeTags(ep.getTitle())%></td>325 <tr> 326 <th><%=HTML.encodeTags(ep.getTitle())%></th> 317 327 <td> 318 328 <% … … 321 331 %> 322 332 <input <%=theClazz%> type="text" name="<%=name%>" 323 value="<%=value == null ? "" : value%>" 324 size="20"maxlength="20" onkeypress="return Numbers.integerOnly(event)"333 value="<%=value == null ? "" : value%>" style="width: 15em;" 334 maxlength="20" onkeypress="return Numbers.integerOnly(event)" 325 335 > 326 336 <% … … 330 340 %> 331 341 <input <%=theClazz%> type="text" name="<%=name%>" 332 value="<%=value == null ? "" : value%>" 333 size="20"maxlength="20" onkeypress="return Numbers.numberOnly(event)"342 value="<%=value == null ? "" : value%>" style="width: 15em;" 343 maxlength="20" onkeypress="return Numbers.numberOnly(event)" 334 344 > 335 345 <% … … 340 350 <input <%=theClazz%> type="text" name="<%=name%>" 341 351 value="<%=HTML.encodeTags((String)value)%>" 342 size="40"maxlength="<%=ep.getLength()%>"352 maxlength="<%=ep.getLength()%>" 343 353 > 344 354 <% … … 346 356 else if (type == Type.TEXT) 347 357 { 348 %> 349 <textarea <%=theClazz%> name="<%=name%>" rows="6" cols="40" 358 hasZoom = true; 359 %> 360 <textarea <%=theClazz%> name="<%=name%>" rows="6" 350 361 ><%=HTML.encodeTags((String)value)%></textarea> 351 <a href="javascript:Main.zoom(352 '<%=HTML.javaScriptEncode(ep.getTitle())%>',353 'reporter', '<%=name%>')"354 title="Edit in larger window"><base:icon image="zoom.png" /></a>355 362 <% 356 363 } … … 382 389 <td> 383 390 <input <%=theClazz%> type="text" name="<%=name%>" 384 value="<%=dateFormatter.format((Date)value)%>" 385 size="20"maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"391 value="<%=dateFormatter.format((Date)value)%>" style="width: 15em;" 392 maxlength="20" title="Enter date in format: <%=htmlDateFormat%>" 386 393 > 387 394 </td> … … 405 412 <td> 406 413 <input <%=theClazz%> type="text" name="<%=name%>" 407 value="<%=dateTimeFormatter.format((Date)value)%>" 408 size="20"maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>"414 value="<%=dateTimeFormatter.format((Date)value)%>" style="width: 15em;" 415 maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>" 409 416 > 410 417 </td> … … 423 430 %> 424 431 </td> 432 <td style="width: 20px;"> 433 <% 434 if (hasZoom) 435 { 436 %> 437 <base:icon image="zoom.png" 438 onclick="<%="Main.zoom('" + HTML.javaScriptEncode(ep.getTitle()) + "', 'reporter', '" + name + "')"%>" 439 tooltip="Edit in larger window" 440 /> 441 <% 442 } 443 %> 444 </td> 425 445 </tr> 426 446 <% … … 428 448 } 429 449 %> 450 <tr class="dynamic"> 451 <th></th> 452 <td></td> 453 <td></td> 454 </tr> 430 455 </table> 431 456 </t:tab> 432 457 </t:tabcontrol> 433 458 </form> 434 435 <table align="center"> 436 <tr> 437 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td> 438 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td> 439 </tr> 440 </table> 459 460 <div class="legend"> 461 <base:icon image="required.gif" /> = required information 462 </div> 463 464 <base:buttongroup subclass="dialogbuttons"> 465 <base:button onclick="saveSettings()" title="Save" /> 466 <base:button onclick="window.close()" title="Cancel" /> 467 </base:buttongroup> 441 468 442 469 </base:body>
Note: See TracChangeset
for help on using the changeset viewer.