Changeset 5901


Ignore:
Timestamp:
Dec 8, 2011, 9:30:53 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #1655: GUI improvements

  • Changed style of the header in popup dialog.


  • Use PNG instead of GIF for help icon.
Location:
trunk
Files:
3 added
1 deleted
73 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/Help.java

    r4889 r5901  
    4545    tabcontrol=...
    4646    clazz=...
     47    subclass=...
    4748    style=...
    4849    image=...
    4950    tooltip=...
    50     onclick=...
    5151    visible=...
    5252  >
     
    9090      </td>
    9191    </tr>
     92  <tr>
     93    <td>subclass</td>
     94    <td>-</td>
     95    <td>no</td>
     96    <td>
     97      Additional classes to put in the HTML class attribute. Doesn't
     98      replace the main class attribute.
     99    </td>
     100  </tr>
    92101    <tr>
    93102      <td>style</td>
     
    143152*/
    144153public class Help
    145   extends TagSupport
     154  extends StylableTag
    146155{
    147156  /**
     
    165174  private String tabcontrol = null;
    166175 
    167   /**
    168   Optional <code>class</code> attribute
    169   */
    170   private String clazz = "help";
    171  
    172   /**
    173     Optional <code>style</code> attribute
    174   */
    175   private String style = null;
    176176 
    177177  /**
    178178      The path to the help icon
    179179  */
    180   private String image = "help.gif";
     180  private String image = "help.png";
    181181 
    182182  /**
     
    195195  private boolean visible = true;
    196196 
     197  public Help()
     198  {
     199    super("help");
     200  }
     201 
    197202  /*
    198203    Taglib initialization methods
     
    215220    return this.tabcontrol;
    216221  }
    217    
    218   public void setClazz(String clazz)
    219   {
    220     this.clazz = clazz;
    221   }
    222   public String getClazz()
    223   {
    224     return this.clazz;
    225   }
    226  
    227   public void setStyle(String style)
    228   {
    229     this.style = style;   
    230   }
    231   public String getStyle()
    232   {
    233     return this.style;
    234   }
    235  
     222
    236223  public void setImage(String image)
    237224  {
     
    250237  {
    251238    return this.tooltip;
    252   }
    253  
    254   public void setOnClick(String onclick)
    255   {
    256     this.onClick = onclick;
    257   }
    258   public String getOnClick()
    259   {
    260     return this.onClick;
    261239  }
    262240 
     
    277255    if (!isVisible()) return SKIP_BODY;
    278256   
    279     String theStyle = getStyle();
    280    
    281     if (getOnClick() != null)
    282     {
    283       theStyle = Values.getString(theStyle) + "cursor: pointer;";
    284     }
    285257    StringBuilder sb = new StringBuilder();
    286     sb.append("<a href=\"javascript:");
     258    sb.append("<img");
     259    addIdAndStyles(sb);
     260    sb.append(" onclick=\"");
     261   
    287262    if (getTabcontrol() != null)
    288263    {
    289264      sb.append("Main.openTabControlHelp('").append(pageContext.getRequest().getParameter("ID"));
    290       sb.append("', '").append(getTabcontrol()).append("', '").append(getHelpid()).append("')\">");
     265      sb.append("', '").append(getTabcontrol()).append("', '").append(getHelpid()).append("')");
    291266    }
    292267    else
    293268    {
    294269      sb.append("Main.openHelp('").append(pageContext.getRequest().getParameter("ID"));
    295       sb.append("', '").append(getHelpid()).append("')\">");
     270      sb.append("', '").append(getHelpid()).append("')");
    296271    }
    297     sb.append("<img border=0");
    298     if (getClazz() != null) sb.append(" class=\"").append(getClazz()).append("\"");
    299     if (theStyle != null) sb.append(" style=\"").append(theStyle).append("\"");
    300     if (getTooltip() != null) sb.append(" title=\"").append(getTooltip()).append("\"");
    301     if (getOnClick() != null) sb.append(" onclick=\"").append(getOnClick()).append("\"");
     272    sb.append("\"");
    302273    sb.append(" src=\"").append(page.getRoot()).append("images/").append(getImage()).append("\"");
    303274    sb.append(">");
    304     sb.append("</a>");
    305275    try
    306276    {
  • trunk/www/WEB-INF/base.tld

    r5900 r5901  
    328328    <tagclass>net.sf.basedb.clients.web.taglib.Help</tagclass>
    329329    <attribute>
     330      <name>id</name>
     331      <required>false</required>
     332      <rtexprvalue>true</rtexprvalue>
     333    </attribute>
     334    <attribute>
     335      <name>clazz</name>
     336      <required>false</required>
     337      <rtexprvalue>true</rtexprvalue>
     338    </attribute>
     339    <attribute>
     340      <name>subclass</name>
     341      <required>false</required>
     342      <rtexprvalue>true</rtexprvalue>
     343    </attribute>
     344    <attribute>
     345      <name>style</name>
     346      <required>false</required>
     347      <rtexprvalue>true</rtexprvalue>
     348    </attribute>
     349    <attribute>
    330350      <name>helpid</name>
    331351      <required>false</required>
     
    338358    </attribute>   
    339359    <attribute>
    340       <name>clazz</name>
    341       <required>false</required>
    342       <rtexprvalue>true</rtexprvalue>
    343     </attribute>
    344     <attribute>
    345       <name>style</name>
    346       <required>false</required>
    347       <rtexprvalue>true</rtexprvalue>
    348     </attribute>
    349     <attribute>
    350360      <name>image</name>
    351361      <required>false</required>
     
    354364    <attribute>
    355365      <name>tooltip</name>
    356       <required>false</required>
    357       <rtexprvalue>true</rtexprvalue>
    358     </attribute>
    359     <attribute>
    360       <name>onclick</name>
    361366      <required>false</required>
    362367      <rtexprvalue>true</rtexprvalue>
  • trunk/www/admin/annotationtypecategories/view_category.jsp

    r5511 r5901  
    212212        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    213213      <tbl:button
    214         image="help.gif"
     214        image="help.png"
    215215        onclick="<%="Main.openHelp('" + ID +"', 'annotationtypecategory.view.properties')"%>"
    216216        title="Help&hellip;"
  • trunk/www/admin/annotationtypes/view_annotationtype.jsp

    r5511 r5901  
    229229        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    230230      <tbl:button
    231         image="help.gif"
     231        image="help.png"
    232232        onclick="<%="Main.openHelp('" + ID +"', 'annotationtype.view.properties')"%>"
    233233        title="Help&hellip;"
  • trunk/www/admin/clients/help/view_help.jsp

    r5507 r5901  
    153153      />
    154154      <tbl:button
    155         image="help.gif"
     155        image="help.png"
    156156        onclick="<%="Main.openHelp('" + ID + "', '"+HTML.javaScriptEncode(help.getExternalId())+"')"%>"
    157157        title="Preview&hellip;"
     
    161161        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    162162      <tbl:button
    163         image="help.gif"
     163        image="help.png"
    164164        onclick="<%="Main.openHelp('" + ID +"', 'help.view.properties')"%>"
    165165        title="Help&hellip;"
  • trunk/www/admin/clients/view_client.jsp

    r5507 r5901  
    223223        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    224224      <tbl:button
    225         image="help.gif"
     225        image="help.png"
    226226        onclick="<%="Main.openHelp('" + ID +"', 'client.view.properties')"%>"
    227227        title="Help&hellip;"
  • trunk/www/admin/datafiletypes/view_filetype.jsp

    r5713 r5901  
    182182        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    183183      <tbl:button
    184         image="help.gif"
     184        image="help.png"
    185185        onclick="<%="Main.openHelp('" + ID +"', 'datafiletype.view.properties')"%>"
    186186        title="Help&hellip;"
  • trunk/www/admin/diskusage/details/view_details.jsp

    r5590 r5901  
    224224        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    225225      <tbl:button
    226         image="help.gif"
     226        image="help.png"
    227227        onclick="<%="Main.openHelp('" + ID +"', 'diskusage.details')"%>"
    228228        title="Help&hellip;"
  • trunk/www/admin/extensions/details.jsp

    r5839 r5901  
    203203      />
    204204      <tbl:button
    205         image="help.gif"
     205        image="help.png"
    206206        onclick="<%="Main.openHelp('" + ID +"', 'extensions.details.extension')"%>"
    207207        title="Help&hellip;"
     
    224224      />
    225225      <tbl:button
    226         image="help.gif"
     226        image="help.png"
    227227        onclick="<%="Main.openHelp('" + ID +"', 'extensions.details.extensionspoint')"%>"
    228228        title="Help&hellip;"
     
    263263      />
    264264      <tbl:button
    265         image="help.gif"
     265        image="help.png"
    266266        onclick="<%="Main.openHelp('" + ID +"', 'extensions.details.main')"%>"
    267267        title="Help&hellip;"
  • trunk/www/admin/extravaluetypes/view_extravaluetype.jsp

    r5511 r5901  
    177177        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    178178      <tbl:button
    179         image="help.gif"
     179        image="help.png"
    180180        onclick="<%="Main.openHelp('" + ID +"', 'extravaluetype.view.properties')"%>"
    181181        title="Help&hellip;"
  • trunk/www/admin/groups/view_group.jsp

    r5507 r5901  
    183183        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    184184      <tbl:button
    185         image="help.gif"
     185        image="help.png"
    186186        onclick="<%="Main.openHelp('" + ID +"', 'group.view.properties')"%>"
    187187        title="Help&hellip;"
  • trunk/www/admin/hardware/view_hardware.jsp

    r5643 r5901  
    208208        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    209209      <tbl:button
    210         image="help.gif"
     210        image="help.png"
    211211        onclick="<%="Main.openHelp('" + ID +"', 'hardware.view.properties')"%>"
    212212        title="Help&hellip;"
  • trunk/www/admin/itemsubtypes/view_subtype.jsp

    r5713 r5901  
    176176        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    177177      <tbl:button
    178         image="help.gif"
     178        image="help.png"
    179179        onclick="<%="Main.openHelp('" + ID +"', 'itemsubtype.view.properties')"%>"
    180180        title="Help&hellip;"
  • trunk/www/admin/jobagents/view_agent.jsp

    r5610 r5901  
    240240        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    241241      <tbl:button
    242         image="help.gif"
     242        image="help.png"
    243243        onclick="<%="Main.openHelp('" + ID +"', 'jobagent.view.properties')"%>"
    244244        title="Help&hellip;"
  • trunk/www/admin/mimetypes/view_mimetype.jsp

    r5511 r5901  
    175175        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    176176      <tbl:button
    177         image="help.gif"
     177        image="help.png"
    178178        onclick="<%="Main.openHelp('" + ID +"', 'mimetype.view.properties')"%>"
    179179        title="Help&hellip;"
  • trunk/www/admin/news/view_news.jsp

    r5507 r5901  
    175175        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    176176      <tbl:button
    177         image="help.gif"
     177        image="help.png"
    178178        onclick="<%="Main.openHelp('" + ID +"', 'news.view.properties')"%>"
    179179        title="Help&hellip;"
  • trunk/www/admin/platforms/variants/view_variant.jsp

    r5763 r5901  
    187187        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    188188      <tbl:button
    189         image="help.gif"
     189        image="help.png"
    190190        onclick="<%="Main.openHelp('" + ID +"', 'platformvariant.view.properties')"%>"
    191191        title="Help&hellip;"
  • trunk/www/admin/platforms/view_platform.jsp

    r5713 r5901  
    209209        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    210210      <tbl:button
    211         image="help.gif"
     211        image="help.png"
    212212        onclick="<%="Main.openHelp('" + ID +"', 'platform.view.properties')"%>"
    213213        title="Help&hellip;"
  • trunk/www/admin/pluginconfigurations/view_configuration.jsp

    r5610 r5901  
    272272        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    273273      <tbl:button
    274         image="help.gif"
     274        image="help.png"
    275275        onclick="<%="Main.openHelp('" + ID +"', 'pluginconfiguration.view.properties')"%>"
    276276        title="Help&hellip;"
  • trunk/www/admin/plugindefinitions/view_plugin.jsp

    r5615 r5901  
    314314        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    315315      <tbl:button
    316         image="help.gif"
     316        image="help.png"
    317317        onclick="<%="Main.openHelp('" + ID +"', 'plugindefinition.view.properties')"%>"
    318318        title="Help&hellip;"
  • trunk/www/admin/plugintypes/view_plugintype.jsp

    r5613 r5901  
    181181        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    182182      <tbl:button
    183         image="help.gif"
     183        image="help.png"
    184184        onclick="<%="Main.openHelp('" + ID +"', 'plugintype.view.properties')"%>"
    185185        title="Help&hellip;"
  • trunk/www/admin/protocols/view_protocol.jsp

    r5630 r5901  
    228228        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    229229      <tbl:button
    230         image="help.gif"
     230        image="help.png"
    231231        onclick="<%="Main.openHelp('" + ID +"', 'protocol.view.properties')"%>"
    232232        title="Help&hellip;"
  • trunk/www/admin/quantities/units/view_unit.jsp

    r5511 r5901  
    197197        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    198198      <tbl:button
    199         image="help.gif"
     199        image="help.png"
    200200        onclick="<%="Main.openHelp('" + ID +"', 'unit.view.properties')"%>"
    201201        title="Help&hellip;"
  • trunk/www/admin/quantities/view_quantity.jsp

    r5511 r5901  
    190190        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    191191      <tbl:button
    192         image="help.gif"
     192        image="help.png"
    193193        onclick="<%="Main.openHelp('" + ID +"', 'quantity.view.properties')"%>"
    194194        title="Help&hellip;"
  • trunk/www/admin/quota/view_quota.jsp

    r5507 r5901  
    207207        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    208208      <tbl:button
    209         image="help.gif"
     209        image="help.png"
    210210        onclick="<%="Main.openHelp('" + ID +"', 'quota.view.properties')"%>"
    211211        title="Help&hellip;"
  • trunk/www/admin/quotatypes/view_quotatype.jsp

    r5511 r5901  
    128128        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    129129      <tbl:button
    130         image="help.gif"
     130        image="help.png"
    131131        onclick="<%="Main.openHelp('" + ID +"', 'quotatype.view.properties')"%>"
    132132        title="Help&hellip;"
  • trunk/www/admin/reporterclonetemplates/view_template.jsp

    r5885 r5901  
    225225        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    226226      <tbl:button
    227         image="help.gif"
     227        image="help.png"
    228228        onclick="<%="Main.openHelp('" + ID +"', 'reporterclonetemplate.view.properties')"%>"
    229229        title="Help&hellip;"
  • trunk/www/admin/reportertypes/view_reportertype.jsp

    r5511 r5901  
    175175        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    176176      <tbl:button
    177         image="help.gif"
     177        image="help.png"
    178178        onclick="<%="Main.openHelp('" + ID +"', 'reportertype.view.properties')"%>"
    179179        title="Help&hellip;"
  • trunk/www/admin/roles/view_role.jsp

    r5507 r5901  
    216216        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    217217      <tbl:button
    218         image="help.gif"
     218        image="help.png"
    219219        onclick="<%="Main.openHelp('" + ID +"', 'role.view.properties')"%>"
    220220        title="Help&hellip;"
  • trunk/www/admin/software/view_software.jsp

    r5643 r5901  
    207207        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    208208      <tbl:button
    209         image="help.gif"
     209        image="help.png"
    210210        onclick="<%="Main.openHelp('" + ID +"', 'software.view.properties')"%>"
    211211        title="Help&hellip;"
  • trunk/www/admin/users/view_user.jsp

    r5507 r5901  
    188188        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    189189      <tbl:button
    190         image="help.gif"
     190        image="help.png"
    191191        onclick="<%="Main.openHelp('" + ID +"', 'user.view.properties')"%>"
    192192        title="Help&hellip;"
  • trunk/www/biomaterials/bioplateeventtypes/view_eventtype.jsp

    r5525 r5901  
    182182        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    183183      <tbl:button
    184         image="help.gif"
     184        image="help.png"
    185185        onclick="<%="Main.openHelp('" + ID +"', 'bioplateeventtype.view.properties')"%>"
    186186        title="Help&hellip;"
  • trunk/www/biomaterials/bioplates/view_bioplate.jsp

    r5722 r5901  
    345345        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    346346      <tbl:button
    347         image="help.gif"
     347        image="help.png"
    348348        onclick="<%="Main.openHelp('" + ID +"', 'plate.view.properties')"%>"
    349349        title="Help&hellip;"
  • trunk/www/biomaterials/bioplatetypes/view_platetype.jsp

    r5709 r5901  
    183183        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    184184      <tbl:button
    185         image="help.gif"
     185        image="help.png"
    186186        onclick="<%="Main.openHelp('" + ID +"', 'bioplatetype.view.properties')"%>"
    187187        title="Help&hellip;"
  • trunk/www/biomaterials/biosources/view_biosource.jsp

    r5663 r5901  
    244244        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    245245      <tbl:button
    246         image="help.gif"
     246        image="help.png"
    247247        onclick="<%="Main.openHelp('" + ID +"', 'biosource.view.properties')"%>"
    248248        title="Help&hellip;"
  • trunk/www/biomaterials/extracts/view_extract.jsp

    r5750 r5901  
    289289        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    290290      <tbl:button
    291         image="help.gif"
     291        image="help.png"
    292292        onclick="<%="Main.openHelp('" + ID +"', 'extract.view.properties')"%>"
    293293        title="Help&hellip;"
  • trunk/www/biomaterials/lists/view_list.jsp

    r5529 r5901  
    259259        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    260260      <tbl:button
    261         image="help.gif"
     261        image="help.png"
    262262        onclick="<%="Main.openHelp('" + ID +"', 'biomateriallist.view.properties')"%>"
    263263        title="Help&hellip;"
  • trunk/www/biomaterials/samples/view_sample.jsp

    r5664 r5901  
    274274        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    275275      <tbl:button
    276         image="help.gif"
     276        image="help.png"
    277277        onclick="<%="Main.openHelp('" + ID +"', 'sample.view.properties')"%>"
    278278        title="Help&hellip;"
  • trunk/www/biomaterials/tags/view_tag.jsp

    r5641 r5901  
    212212        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    213213      <tbl:button
    214         image="help.gif"
     214        image="help.png"
    215215        onclick="<%="Main.openHelp('" + ID +"', 'tag.view.properties')"%>"
    216216        title="Help&hellip;"
  • trunk/www/common/overview/overview.jsp

    r5807 r5901  
    149149        <ext:render extensions="<%=invoker%>" context="<%=jspContext%>"
    150150          wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    151         <tbl:button image="help.gif" title="Help&hellip;"
     151        <tbl:button image="help.png" title="Help&hellip;"
    152152          onclick="<%="Main.openHelp('" + ID +"', 'item.overview')"%>"
    153153          tooltip="Get help about this page"
  • trunk/www/filemanager/files/view_file.jsp

    r5630 r5901  
    273273        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    274274      <tbl:button
    275         image="help.gif"
     275        image="help.png"
    276276        onclick="<%="Main.openHelp('" + ID +"', 'file.view.properties')"%>"
    277277        title="Help&hellip;"
  • trunk/www/filemanager/fileservers/view_fileserver.jsp

    r5618 r5901  
    240240        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    241241      <tbl:button
    242         image="help.gif"
     242        image="help.png"
    243243        onclick="<%="Main.openHelp('" + ID +"', 'fileserver.view.properties')"%>"
    244244        title="Help&hellip;"
  • trunk/www/include/styles/main.css

    r5900 r5901  
    110110}
    111111
     112img.help
     113{
     114  cursor: pointer;
     115}
    112116
    113117/*
  • trunk/www/include/styles/popup.css

    r5900 r5901  
    2929{}
    3030
     31/* Main title of a popup dialog */
     32.popup h1
     33{
     34  position: absolute;
     35  top: 0px;
     36  left: 0px;
     37  right: 0px;
     38  /* height is specified in one of size_*.css */
     39  color: #f0f0f0;
     40  font-weight: bold;
     41  background-image: url('backgrounds/popup_h1.png');
     42  background-color: #224488;
     43  background-position: right;
     44  background-repeat: no-repeat;
     45  margin: 0px;
     46  white-space: nowrap;
     47}
     48
     49.popup h1:before
     50{
     51  content: '►';
     52  padding-left: 4px;
     53  padding-right: 4px;
     54  color: #2288aa;
     55  xfont-size: smaller;
     56}
     57
     58/* help icon is positioned to the right */
     59.popup h1 img
     60{
     61  position: absolute;
     62  right: 6px;
     63}
     64
    3165/*
    3266  Buttons and related
     
    4175  right: 0px;
    4276  /* height is specified in one of size_*.css */
    43   padding: 10px 0px 6px 0px;
    4477}
    4578
  • trunk/www/include/styles/size_m.css

    r5900 r5901  
    3131*/
    3232
     33body
     34{
     35  font-size: 12px;
     36}
     37
     38h1
     39{
     40  font-size: 18px;
     41}
     42
    3343/* Dialog buttons in popup windows need fixed height so that we can align other content */
     44.popup h1
     45{
     46  font-size: 18px;
     47  height: 25px;
     48  padding-top: 3px;
     49}
     50
     51.popup h1 img
     52{
     53  /* help icon should be centered vertically */
     54  padding-top: 3px;
     55  padding-bottom: 3px;
     56}
     57
    3458.popup .buttongroup.dialogbuttons
    3559{
    3660  height: 24px;
     61  padding-top: 10px;
     62  padding-bottom: 6px;
    3763}
    3864
     
    4268*/
    4369
    44 
    45 
    46 body, td, th, h3, input, select, textarea {
    47   font-size: 12px;
    48 }
    49 
    50 h1, .pathelement {
     70.pathelement {
    5171  font-size: 18px;
    5272}
  • trunk/www/lims/arraybatches/view_batch.jsp

    r5499 r5901  
    256256        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    257257      <tbl:button
    258         image="help.gif"
     258        image="help.png"
    259259        onclick="<%="Main.openHelp('" + ID +"', 'arraybatch.view.properties')"%>"
    260260        title="Help&hellip;"
  • trunk/www/lims/arraydesigns/view_design.jsp

    r5623 r5901  
    284284        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    285285      <tbl:button
    286         image="help.gif"
     286        image="help.png"
    287287        onclick="<%="Main.openHelp('" + ID +"', 'arraydesign.view.properties')"%>"
    288288        title="Help&hellip;"
  • trunk/www/lims/arrayslides/view_slide.jsp

    r5642 r5901  
    232232        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    233233      <tbl:button
    234         image="help.gif"
     234        image="help.png"
    235235        onclick="<%="Main.openHelp('" + ID +"', 'arrayslide.view.properties')"%>"
    236236        title="Help&hellip;"
  • trunk/www/lims/geometries/view_geometry.jsp

    r5499 r5901  
    196196        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    197197      <tbl:button
    198         image="help.gif"
     198        image="help.png"
    199199        onclick="<%="Main.openHelp('" + ID +"', 'plategeometry.view.properties')"%>"
    200200        title="Help&hellip;"
  • trunk/www/lims/platemappings/view_mapping.jsp

    r5499 r5901  
    221221        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    222222      <tbl:button
    223         image="help.gif"
     223        image="help.png"
    224224        onclick="<%="Main.openHelp('" + ID +"', 'platemapping.view.properties')"%>"
    225225        title="Help&hellip;"
  • trunk/www/lims/plates/events/view_event.jsp

    r5499 r5901  
    170170        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    171171      <tbl:button
    172         image="help.gif"
     172        image="help.png"
    173173        onclick="<%="Main.openHelp('" + ID +"', 'plateevent.view.properties')"%>"
    174174        title="Help&hellip;"
  • trunk/www/lims/plates/view_plate.jsp

    r5499 r5901  
    255255        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    256256      <tbl:button
    257         image="help.gif"
     257        image="help.png"
    258258        onclick="<%="Main.openHelp('" + ID +"', 'plate.view.properties')"%>"
    259259        title="Help&hellip;"
  • trunk/www/lims/plates/wells/view_well.jsp

    r5499 r5901  
    179179        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    180180      <tbl:button
    181         image="help.gif"
     181        image="help.png"
    182182        onclick="<%="Main.openHelp('" + ID +"', 'well.view.properties')"%>"
    183183        title="Help&hellip;"
  • trunk/www/lims/platetypes/eventtypes/view_eventtype.jsp

    r5630 r5901  
    155155        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    156156        <tbl:button
    157           image="help.gif"
     157          image="help.png"
    158158          onclick="<%="Main.openHelp('" + ID +"', 'plateeventtype.view.properties')"%>"
    159159          title="Help&hellip;"
  • trunk/www/lims/platetypes/view_platetype.jsp

    r5499 r5901  
    231231          wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    232232        <tbl:button
    233           image="help.gif"
     233          image="help.png"
    234234          onclick="<%="Main.openHelp('" + ID +"', 'platetype.view.properties')"%>"
    235235          title="Help&hellip;"
  • trunk/www/my_base/index.jsp

    r5479 r5901  
    295295  {
    296296    %>
    297     <h3 class="light docked"><base:icon image="help.gif" />&nbsp;Help</h3>
     297    <h3 class="light docked"><base:icon image="help.png" />&nbsp;Help</h3>
    298298      <div id="help" class="welcomesection" style="height: 80px; overflow: auto;">
    299299      <%
  • trunk/www/my_base/projects/view_project.jsp

    r5650 r5901  
    228228        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    229229      <tbl:button
    230         image="help.gif"
     230        image="help.png"
    231231        onclick="<%="Main.openHelp('" + ID +"', 'project.view.properties')"%>"
    232232        title="Help&hellip;"
  • trunk/www/my_base/user/preferences.jsp

    r5900 r5901  
    227227  </base:head>
    228228  <base:body onload="initItemTypes()">
    229   <p>
    230 
     229 
     230    <h1>Preferences for <%=HTML.encodeTags(user.getName())%> <base:help tabcontrol="settings" /></h1>
     231  <br><br>
    231232  <form action="submit_user.jsp?ID=<%=ID%>" method="post" name="preferences"
    232233    onsubmit="return false;">
     
    236237  <input type="hidden" name="maxcolor" value="FFFF00">
    237238
    238   <h3 class="docked">Preferences for <%=HTML.encodeTags(user.getName())%> <base:help tabcontrol="settings" /></h3>
    239239  <t:tabcontrol active="<%=activePage%>" remember="<%=activePage == null%>" id="settings"
    240240    contentstyle="<%="height: "+(int)(scale*260)+"px;"%>"
  • trunk/www/my_base/user/reset_filters.jsp

    r5900 r5901  
    8888  </base:head>
    8989  <base:body>
    90   <p>
     90    <h1>Reset list settings for <%=HTML.encodeTags(user.getName())%>
     91      <base:help helpid="userpreferences.resetfilters" /></h1>
     92  <br><br>
    9193
    9294  <form action="submit_user.jsp?ID=<%=ID%>" method="post" name="preferences"
     
    9496  <input type=hidden name="cmd" value="ResetFilters">
    9597
    96   <h3 class="docked">Reset list settings for <%=HTML.encodeTags(user.getName())%>
    97     <base:help helpid="userpreferences.resetfilters" /></h3>
     98 
    9899  <div class="boxed">
    99100
  • trunk/www/my_base/user/settings.jsp

    r5900 r5901  
    178178    </script>
    179179  </base:head>
    180   <base:body onload="Forms.fixTextareaBug('user');">
    181   <p>
     180  <base:body>
     181  <h1>Information for <%=HTML.encodeTags(user.getName())%> <base:help tabcontrol="settings" /></h1>
     182 
     183  <br><br>
    182184
    183185  <form action="submit_user.jsp?ID=<%=ID%>" method="post" name="user" onsubmit="return false;">
    184186  <input type=hidden name="cmd" value="SaveSettings">
    185187 
    186   <h3 class="docked">Information for <%=HTML.encodeTags(user.getName())%> <base:help tabcontrol="settings" /></h3>
    187188  <t:tabcontrol active="<%=activePage%>" id="settings"
    188189    contentstyle="<%="height: "+(int)(scale*240)+"px;"%>" position="bottom" remember="false">
  • trunk/www/views/derivedbioassays/view_bioassay.jsp

    r5729 r5901  
    290290        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    291291      <tbl:button
    292         image="help.gif"
     292        image="help.png"
    293293        onclick="<%="Main.openHelp('" + ID +"', 'derivedbioassay.view.properties')"%>"
    294294        title="Help&hellip;"
  • trunk/www/views/experiments/bioassays/view_bioassay.jsp

    r5504 r5901  
    176176        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    177177      <tbl:button
    178         image="help.gif"
     178        image="help.png"
    179179        onclick="<%="Main.openHelp('" + ID +"', 'bioassay.view.properties')"%>"
    180180        title="Help&hellip;"
  • trunk/www/views/experiments/bioassaysets/view_bioassayset.jsp

    r5610 r5901  
    349349        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    350350      <tbl:button
    351         image="help.gif"
     351        image="help.png"
    352352        onclick="<%="Main.openHelp('" + ID +"', 'bioassayset.view.properties')"%>"
    353353        title="Help&hellip;"
  • trunk/www/views/experiments/extravalues/view_extravalue.jsp

    r5610 r5901  
    229229        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    230230      <tbl:button
    231         image="help.gif"
     231        image="help.png"
    232232        onclick="<%="Main.openHelp('" + ID +"', 'extravalue.view.properties')"%>"
    233233        title="Help&hellip;"
  • trunk/www/views/experiments/transformations/view_transformation.jsp

    r5610 r5901  
    232232        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    233233      <tbl:button
    234         image="help.gif"
     234        image="help.png"
    235235        onclick="<%="Main.openHelp('" + ID +"', 'transformation.view.properties')"%>"
    236236        title="Help&hellip;"
  • trunk/www/views/experiments/view_experiment.jsp

    r5897 r5901  
    384384        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    385385      <tbl:button
    386         image="help.gif"
     386        image="help.png"
    387387        onclick="<%="Main.openHelp('" + ID +"', 'experiment.view.properties')"%>"
    388388        title="Help&hellip;"
  • trunk/www/views/formulas/view_formula.jsp

    r5502 r5901  
    227227        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    228228      <tbl:button
    229         image="help.gif"
     229        image="help.png"
    230230        onclick="<%="Main.openHelp('" + ID +"', 'formula.view.properties')"%>"
    231231        title="Help&hellip;"
  • trunk/www/views/permissiontemplates/view_template.jsp

    r5502 r5901  
    210210        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    211211      <tbl:button
    212         image="help.gif"
     212        image="help.png"
    213213        onclick="<%="Main.openHelp('" + ID +"', 'permissiontemplate.view.properties')"%>"
    214214        title="Help&hellip;"
  • trunk/www/views/physicalbioassays/view_bioassay.jsp

    r5701 r5901  
    252252        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    253253      <tbl:button
    254         image="help.gif"
     254        image="help.png"
    255255        onclick="<%="Main.openHelp('" + ID +"', 'physicalbioassay.view.properties')"%>"
    256256        title="Help&hellip;"
  • trunk/www/views/rawbioassays/view_rawbioassay.jsp

    r5685 r5901  
    280280        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    281281      <tbl:button
    282         image="help.gif"
     282        image="help.png"
    283283        onclick="<%="Main.openHelp('" + ID +"', 'rawbioassay.view.properties')"%>"
    284284        title="Help&hellip;"
  • trunk/www/views/reporterlists/view_reporterlist.jsp

    r5502 r5901  
    249249        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    250250      <tbl:button
    251         image="help.gif"
     251        image="help.png"
    252252        onclick="<%="Main.openHelp('" + ID +"', 'reporterlist.view.properties')"%>"
    253253        title="Help&hellip;"
  • trunk/www/views/reporters/view_reporter.jsp

    r5426 r5901  
    160160      />
    161161      <tbl:button
    162         image="help.gif"
     162        image="help.png"
    163163        onclick="<%="Main.openHelp('" + ID +"', 'reporter.view.properties')"%>"
    164164        title="Help&hellip;"
  • trunk/www/views/trashcan/view_item.jsp

    r5426 r5901  
    231231        wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    232232      <tbl:button
    233         image="help.gif"
     233        image="help.png"
    234234        onclick="<%="Main.openHelp('" + ID +"', 'trash.view.properties')"%>"
    235235        title="Help&hellip;"
Note: See TracChangeset for help on using the changeset viewer.