Changeset 5900


Ignore:
Timestamp:
Dec 7, 2011, 2:43:15 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

References #1655: GUI improvements

  • Added a CacheControlFilter which can be configured to disable caching for certain file types. This is very useful in a development environment, but not recommended in production.
  • Redesigned buttons with rounded corners.


  • Use more modern css rules for buttons and button groups. Got rid of "align" attribute that is deprecated in html.


  • Place buttons in popup dialogs using coordinates

relative to the bottom of the dialog so that they follow along if the dialog is resized. Only the popups in the "BASE" menu has been fixed so far.

Due to changes in css files, some other layout is now really "ugly", but this will be fixed later...

Location:
trunk
Files:
3 added
91 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/dist/web.xml

    r5479 r5900  
    285285  </filter-mapping>
    286286
     287  <!-- A filter that disable client-side caching -->
     288  <!-- Use for developing only -->
     289  <!--
     290  <filter>
     291    <filter-name>noCache</filter-name>
     292    <filter-class>net.sf.basedb.clients.web.servlet.CacheControlFilter</filter-class>
     293    <init-param>
     294      <param-name>cache-control</param-name>
     295      <param-value>no-cache, max-age=0</param-value>
     296    </init-param>
     297  </filter>
     298  <filter-mapping>
     299    <filter-name>noCache</filter-name>
     300    <url-pattern>*.css</url-pattern>
     301  </filter-mapping>
     302  <filter-mapping>
     303    <filter-name>noCache</filter-name>
     304    <url-pattern>*.js</url-pattern>
     305  </filter-mapping>
     306  -->
     307
    287308</web-app>
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/Button.java

    r5767 r5900  
    2929import javax.servlet.jsp.JspException;
    3030import javax.servlet.jsp.JspTagException;
    31 import javax.servlet.jsp.tagext.TagSupport;
    3231
    3332/**
     
    3837   &lt;%@ taglib prefix="base" uri="/WEB-INF/base.tld" %&gt;
    3938   &lt;base:button onclick="alert('click')" title="Click here"&gt;
    40    &lt;/base:note&gt;
     39   &lt;/base:button&gt;
    4140</pre>
    4241
     
    4746      id=...
    4847      clazz=...
     48      subclass=...
    4949      style=...
    5050      onclick=...
     
    8080  <tr>
    8181    <td>clazz</td>
    82     <td>buttonclass</td>
    83     <td>no</td>
    84     <td>
    85       The value if this attribute goes directly into the standard HTML
     82    <td>basicbutton</td>
     83    <td>no</td>
     84    <td>
     85      The value of this attribute goes directly into the standard HTML
    8686      <code>class</code> attribute. This allows you to apply different styles
    87       to different buttons. Note! To function properly the button also requires
    88       definitions for <code><i>clazz</i>_hover</code> and
    89       <code><i>clazz</i>_inner</code>.
     87      to different buttons.
     88    </td>
     89  </tr>
     90  <tr>
     91    <td>subclass</td>
     92    <td>-</td>
     93    <td>no</td>
     94    <td>
     95      Additional classes to put in the HTML class attribute. Doesn't
     96      replace the main class attribute.
    9097    </td>
    9198  </tr>
     
    153160*/
    154161public class Button
    155   extends TagSupport
     162  extends StylableTag
    156163{
    157164
     
    178185  }
    179186 
     187  public Button()
     188  {
     189    super("basicbutton");
     190  }
     191 
    180192  private ButtonGroup buttonGroup;
    181 
    182   /**
    183     Optional <code>class</code> attribute
    184   */
    185   private String clazz = "buttonclass";
    186  
    187   /**
    188     Optional <code>style</code> attribute
    189   */
    190   private String style = null;
    191193
    192194  /**
     
    223225    Taglib initialization methods
    224226  */
    225   public void setClazz(String clazz)
    226   {
    227     this.clazz = clazz;
    228   }
    229   public String getClazz()
    230   {
    231     return clazz;
    232   }
    233 
    234   public void setStyle(String style)
    235   {
    236     this.style = style;
    237   }
    238   public String getStyle()
    239   {
    240     return style;
    241   }
    242  
    243227  public void setOnclick(String onClick)
    244228  {
     
    310294    StringBuilder sb = new StringBuilder();
    311295    sb.append("<div");
    312     if (getId() != null) sb.append(" id=\"").append(getId()).append("\"");
    313     if (getClazz() != null)
    314     {
    315       sb.append(" class=\"").append(getClazz()).append(isDisabled() ? "_disabled" : "").append("\"");
    316     }
    317     if (getStyle() != null) sb.append(" style=\"").append(getStyle()).append("\"");
     296    addIdAndStyles(sb, isDisabled() ? "disabled" : null);
    318297    if (getOnclick() != null && !isDisabled()) sb.append(" onclick=\"").append(getOnclick()).append("\"");
    319298    if (getTooltip() != null) sb.append(" title=\"").append(getTooltip()).append("\"");
    320     sb.append("><div");
    321     if (getClazz() != null) sb.append(" class=\"").append(getClazz()).append("_inner\"");
    322     sb.append(">");
     299    sb.append("><div>");
    323300    if (theImage != null)
    324301    {
     
    327304        theImage = page.getRoot() + "images/" + theImage;
    328305      }
    329       sb.append("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td style=\"width: 20px;\">");
     306      sb.append("<table><tr><td style=\"width: 20px;\">");
    330307      sb.append("<img src=\"").append(theImage).append("\"");
    331308      sb.append(" border=\"0\">");
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/ButtonGroup.java

    r4889 r5900  
    2323package net.sf.basedb.clients.web.taglib;
    2424
     25import java.util.ArrayList;
    2526import java.util.List;
    26 import java.util.LinkedList;
    2727
    2828import javax.servlet.jsp.JspException;
    2929import javax.servlet.jsp.JspTagException;
    30 import javax.servlet.jsp.tagext.TagSupport;
    3130
    3231/**
    33   This tag is used to display a clickable button.
    34   <p>
    35   <b>Example:</b>
    36   <pre>
    37    &lt;%@ taglib prefix="base" uri="/WEB-INF/base.tld" %&gt;
    38    &lt;base:button onclick="alert('click')" title="Click here"&gt;
    39    &lt;/base:note&gt;
    40 </pre>
    41 
     32  This tag is used to group buttons together (horizontally)
     33  and make them all have the same size.
    4234  <p>
    4335  <b>Syntax:</b>
     
    4638      id=...
    4739      class=...
     40      subclass=...
    4841      style=...
    49       align=...
    5042      &gt;
    5143      &lt;base:button ... &gt;
     
    7769  <tr>
    7870    <td>clazz</td>
    79     <td>-</td>
     71    <td>buttongroup</td>
    8072    <td>no</td>
    8173    <td>
     
    8375      <code>class</code> attribute. This allows you to apply different styles
    8476      to different buttons.
     77    </td>
     78  </tr>
     79  <tr>
     80    <td>subclass</td>
     81    <td>-</td>
     82    <td>no</td>
     83    <td>
     84      Additional classes to put in the HTML class attribute. Doesn't
     85      replace the main class attribute.
    8586    </td>
    8687  </tr>
     
    9596    </td>
    9697  </tr>
    97   <tr>
    98     <td>align</td>
    99     <td>-</td>
    100     <td>no</td>
    101     <td>
    102       The value if this attribute goes directly into the standard HTML
    103       <code>align</code> attribute. This allows you to apply different styles
    104       to different buttons.
    105     </td>
    106   </tr>
    10798  </table>
    10899
     
    111102*/
    112103public class ButtonGroup
    113   extends TagSupport
     104  extends StylableTag
    114105{
    115106
     
    119110  private static final long serialVersionUID = -8808469470232672680L;
    120111
    121   /**
    122     Optional <code>class</code> attribute
    123   */
    124   private String clazz = "buttongroup";
    125  
    126   /**
    127     Optional <code>style</code> attribute
    128   */
    129   private String style = null;
    130  
    131   /**
    132     Optional <code>align</code> attribute
    133   */
    134   private String align = null;
    135112
    136113  /**
     
    139116  private List<String> buttons;
    140117 
    141   /*
    142     Taglib initialization methods
    143   */
    144   public void setClazz(String clazz)
     118  public ButtonGroup()
    145119  {
    146     this.clazz = clazz;
    147   }
    148   public String getClazz()
    149   {
    150     return clazz;
    151   }
    152 
    153   public void setStyle(String style)
    154   {
    155     this.style = style;
    156   }
    157   public String getStyle()
    158   {
    159     return style;
     120    super("buttongroup");
    160121  }
    161122 
    162   public void setAlign(String align)
    163   {
    164     this.align = align;
    165   }
    166   public String getAlign()
    167   {
    168     return align;
    169   }
    170 
    171123  void addButton(String html)
    172124  {
     
    177129    throws JspException
    178130  {
    179     buttons = new LinkedList<String>();
     131    buttons = new ArrayList<String>();
    180132    return EVAL_BODY_INCLUDE;
    181133  }
     
    190142      int percent = 100 / numButtons;
    191143      sb.append("<div");
    192       if (getId() != null) sb.append(" id=\"").append(getId()).append("\"");
    193       if (getClazz() != null) sb.append(" class=\"").append(getClazz()).append("\"");
    194       if (getStyle() != null) sb.append(" style=\"").append(getStyle()).append("\"");
     144      addIdAndStyles(sb);
    195145      sb.append(">\n");
    196       sb.append("<table");
    197       if (getAlign() != null) sb.append(" align=\"").append(getAlign()).append("\"");
    198       sb.append(">\n");
     146      sb.append("<table>\n");
    199147      sb.append("<tr>\n");
    200148      for (String b : buttons)
    201149      {
    202         sb.append("<td width=\"").append(percent).append("%\">").append(b).append("</td>\n");
     150        sb.append("<td style=\"width: ").append(percent).append("%;\">").append(b).append("</td>\n");
    203151      }
    204152      sb.append("</tr>\n");
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/Head.java

    r5426 r5900  
    132132    LinkedHashSet<String> allStyles = new LinkedHashSet<String>();
    133133    allStyles.add("main.css");
    134     if (page.getTypeCode() == Page.PAGE_TYPE_DEFAULT) allStyles.add("menu.css");
     134    int pageType = page.getTypeCode();
     135    if (pageType == Page.PAGE_TYPE_DEFAULT) allStyles.add("menu.css");
     136    if (pageType == Page.PAGE_TYPE_POPUP) allStyles.add("popup.css");
    135137    if (getStyles() != null) allStyles.addAll(Arrays.asList(getStyles().split(",")));
    136138    String fontsize = Values.getString(sc != null ? sc.getUserClientSetting("appearance.fontsize") : null, "size_m.css");
  • trunk/www/WEB-INF/base.tld

    r5687 r5900  
    213213    </attribute>
    214214    <attribute>
     215      <name>subclass</name>
     216      <required>false</required>
     217      <rtexprvalue>true</rtexprvalue>
     218    </attribute>
     219    <attribute>
    215220      <name>style</name>
    216221      <required>false</required>
     
    263268    </attribute>
    264269    <attribute>
    265       <name>style</name>
    266       <required>false</required>
    267       <rtexprvalue>true</rtexprvalue>
    268     </attribute>
    269     <attribute>
    270       <name>align</name>
     270      <name>subclass</name>
     271      <required>false</required>
     272      <rtexprvalue>true</rtexprvalue>
     273    </attribute>
     274    <attribute>
     275      <name>style</name>
    271276      <required>false</required>
    272277      <rtexprvalue>true</rtexprvalue>
  • trunk/www/admin/annotationtypecategories/list_categories.jsp

    r5590 r5900  
    536536      %>
    537537    </tbl:table>
    538     <base:buttongroup align="center" clazz="fixedatbottom">
     538    <base:buttongroup clazz="fixedatbottom">
    539539      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    540540      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/annotationtypes/list_annotationtypes.jsp

    r5706 r5900  
    710710      %>
    711711    </tbl:table>
    712     <base:buttongroup align="center" clazz="fixedatbottom">
     712    <base:buttongroup clazz="fixedatbottom">
    713713      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    714714      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/clients/help/list_help.jsp

    r5590 r5900  
    431431      %>
    432432    </tbl:table>
    433     <base:buttongroup align="center">
     433    <base:buttongroup>
    434434      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    435435      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/clients/list_clients.jsp

    r5590 r5900  
    500500      %>
    501501    </tbl:table>
    502     <base:buttongroup align="center" clazz="fixedatbottom">
     502    <base:buttongroup clazz="fixedatbottom">
    503503      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    504504      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/datafiletypes/list_filetypes.jsp

    r5630 r5900  
    518518      %>
    519519    </tbl:table>
    520     <base:buttongroup align="center" clazz="fixedatbottom">
     520    <base:buttongroup clazz="fixedatbottom">
    521521      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    522522      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/extravaluetypes/list_extravaluetypes.jsp

    r5590 r5900  
    509509      %>
    510510    </tbl:table>
    511     <base:buttongroup align="center" clazz="fixedatbottom">
     511    <base:buttongroup clazz="fixedatbottom">
    512512      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    513513      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/groups/list_groups.jsp

    r5590 r5900  
    551551      %>
    552552    </tbl:table>
    553     <base:buttongroup align="center" clazz="fixedatbottom">
     553    <base:buttongroup clazz="fixedatbottom">
    554554      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    555555      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/hardware/list_hardware.jsp

    r5666 r5900  
    520520      %>
    521521    </tbl:table>
    522     <base:buttongroup align="center" clazz="fixedatbottom">
     522    <base:buttongroup clazz="fixedatbottom">
    523523      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    524524      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/itemsubtypes/list_subtypes.jsp

    r5698 r5900  
    520520      %>
    521521    </tbl:table>
    522     <base:buttongroup align="center" clazz="fixedatbottom">
     522    <base:buttongroup clazz="fixedatbottom">
    523523      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    524524      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/jobagents/list_agents.jsp

    r5590 r5900  
    648648      %>
    649649    </tbl:table>
    650     <base:buttongroup align="center" clazz="fixedatbottom">
     650    <base:buttongroup clazz="fixedatbottom">
    651651      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    652652      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/mimetypes/list_mimetypes.jsp

    r5630 r5900  
    466466      %>
    467467    </tbl:table>
    468     <base:buttongroup align="center" clazz="fixedatbottom">
     468    <base:buttongroup clazz="fixedatbottom">
    469469      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    470470      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/news/list_news.jsp

    r5590 r5900  
    444444      %>
    445445    </tbl:table>
    446     <base:buttongroup align="center" clazz="fixedatbottom">
     446    <base:buttongroup clazz="fixedatbottom">
    447447      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    448448      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/platforms/list_platforms.jsp

    r5590 r5900  
    499499      %>
    500500    </tbl:table>
    501     <base:buttongroup align="center" clazz="fixedatbottom">
     501    <base:buttongroup clazz="fixedatbottom">
    502502      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    503503      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/platforms/variants/list_variants.jsp

    r5650 r5900  
    492492      %>
    493493    </tbl:table>
    494     <base:buttongroup align="center">
     494    <base:buttongroup>
    495495      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    496496      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/pluginconfigurations/list_configurations.jsp

    r5610 r5900  
    602602      %>
    603603    </tbl:table>
    604     <base:buttongroup align="center" clazz="fixedatbottom">
     604    <base:buttongroup clazz="fixedatbottom">
    605605      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    606606      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/plugindefinitions/list_plugins.jsp

    r5615 r5900  
    784784      %>
    785785    </tbl:table>
    786     <base:buttongroup align="center" clazz="fixedatbottom">
     786    <base:buttongroup clazz="fixedatbottom">
    787787      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    788788      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/plugintypes/list_plugintypes.jsp

    r5613 r5900  
    478478      %>
    479479    </tbl:table>
    480     <base:buttongroup align="center" clazz="fixedatbottom">
     480    <base:buttongroup clazz="fixedatbottom">
    481481      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    482482      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/protocols/list_protocol.jsp

    r5674 r5900  
    602602      %>
    603603    </tbl:table>
    604     <base:buttongroup align="center" clazz="fixedatbottom">
     604    <base:buttongroup clazz="fixedatbottom">
    605605      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    606606      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/quantities/list_quantities.jsp

    r5590 r5900  
    528528      %>
    529529    </tbl:table>
    530     <base:buttongroup align="center" clazz="fixedatbottom">
     530    <base:buttongroup clazz="fixedatbottom">
    531531      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    532532      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/quota/list_quota.jsp

    r5590 r5900  
    420420      %>
    421421    </tbl:table>
    422     <base:buttongroup align="center" clazz="fixedatbottom">
     422    <base:buttongroup clazz="fixedatbottom">
    423423      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    424424      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/quotatypes/list_quotatypes.jsp

    r5590 r5900  
    358358      %>
    359359    </tbl:table>
    360     <base:buttongroup align="center" clazz="fixedatbottom">
     360    <base:buttongroup clazz="fixedatbottom">
    361361      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    362362      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/reporterclonetemplates/list_templates.jsp

    r5885 r5900  
    515515      %>
    516516    </tbl:table>
    517     <base:buttongroup align="center" clazz="fixedatbottom">
     517    <base:buttongroup clazz="fixedatbottom">
    518518      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    519519      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/reportertypes/list_reportertypes.jsp

    r5590 r5900  
    411411      %>
    412412    </tbl:table>
    413     <base:buttongroup align="center" clazz="fixedatbottom">
     413    <base:buttongroup clazz="fixedatbottom">
    414414      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    415415      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/roles/list_roles.jsp

    r5590 r5900  
    482482      %>
    483483    </tbl:table>
    484     <base:buttongroup align="center" clazz="fixedatbottom">
     484    <base:buttongroup clazz="fixedatbottom">
    485485      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    486486      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/server/broadcast.jsp

    r5426 r5900  
    119119
    120120    </form>
    121     <base:buttongroup align="center">
     121    <base:buttongroup>
    122122      <base:button onclick="clearMessage()" image="remove.png" title="Clear message" />
    123123      <base:button onclick="saveSettings();" title="Ok" visible="<%=writePermission%>"/>
  • trunk/www/admin/software/list_software.jsp

    r5666 r5900  
    520520      %>
    521521    </tbl:table>
    522     <base:buttongroup align="center" clazz="fixedatbottom">
     522    <base:buttongroup clazz="fixedatbottom">
    523523      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    524524      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/admin/users/list_users.jsp

    r5590 r5900  
    738738      %>
    739739    </tbl:table>
    740     <base:buttongroup align="center" clazz="fixedatbottom">
     740    <base:buttongroup clazz="fixedatbottom">
    741741      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    742742      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/bioplateeventtypes/list_eventtypes.jsp

    r5590 r5900  
    410410      %>
    411411    </tbl:table>
    412     <base:buttongroup align="center" clazz="fixedatbottom">
     412    <base:buttongroup clazz="fixedatbottom">
    413413      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    414414      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/bioplates/events/list_events.jsp

    r5525 r5900  
    618618      %>
    619619    </tbl:table>
    620     <base:buttongroup align="center" clazz="fixedatbottom">
     620    <base:buttongroup clazz="fixedatbottom">
    621621      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    622622      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/bioplates/list_bioplates.jsp

    r5836 r5900  
    691691      %>
    692692    </tbl:table>
    693     <base:buttongroup align="center" clazz="fixedatbottom">
     693    <base:buttongroup clazz="fixedatbottom">
    694694      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    695695      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/bioplates/wells/list_biowells.jsp

    r5709 r5900  
    517517      %>
    518518    </tbl:table>
    519     <base:buttongroup align="center" clazz="fixedatbottom">
     519    <base:buttongroup clazz="fixedatbottom">
    520520      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    521521      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/bioplatetypes/list_platetypes.jsp

    r5709 r5900  
    465465      %>
    466466    </tbl:table>
    467     <base:buttongroup align="center" clazz="fixedatbottom">
     467    <base:buttongroup clazz="fixedatbottom">
    468468      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    469469      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/biosources/list_biosources.jsp

    r5674 r5900  
    660660      %>
    661661    </tbl:table>
    662     <base:buttongroup align="center" clazz="fixedatbottom">
     662    <base:buttongroup clazz="fixedatbottom">
    663663      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    664664      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/events/list_events.jsp

    r5642 r5900  
    635635      %>
    636636    </tbl:table>
    637     <base:buttongroup align="center">
     637    <base:buttongroup>
    638638      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    639639      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/extracts/list_extracts.jsp

    r5750 r5900  
    10171017      %>
    10181018    </tbl:table>
    1019     <base:buttongroup align="center" clazz="fixedatbottom">
     1019    <base:buttongroup clazz="fixedatbottom">
    10201020      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    10211021      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/lists/list_lists.jsp

    r5641 r5900  
    511511      %>
    512512    </tbl:table>
    513     <base:buttongroup align="center" clazz="fixedatbottom">
     513    <base:buttongroup clazz="fixedatbottom">
    514514      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    515515      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/lists/members/add_members_control.jsp

    r5426 r5900  
    6969  <base:body>
    7070 
    71   <base:buttongroup align="center" clazz="fixedatbottom">
     71  <base:buttongroup clazz="fixedatbottom">
    7272    <base:button title="Add selected" onclick="addSelected()" />
    7373    <base:button title="Add current page" onclick="addCurrentPage()" />
  • trunk/www/biomaterials/lists/members/list_members.jsp

    r5674 r5900  
    618618      %>
    619619    </tbl:table>
    620     <base:buttongroup align="center" clazz="fixedatbottom">
     620    <base:buttongroup clazz="fixedatbottom">
    621621      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    622622      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/samples/list_samples.jsp

    r5674 r5900  
    944944      %>
    945945    </tbl:table>
    946     <base:buttongroup align="center" clazz="fixedatbottom">
     946    <base:buttongroup clazz="fixedatbottom">
    947947      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    948948      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/biomaterials/tags/list_tags.jsp

    r5666 r5900  
    523523      %>
    524524    </tbl:table>
    525     <base:buttongroup align="center" clazz="fixedatbottom">
     525    <base:buttongroup clazz="fixedatbottom">
    526526      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    527527      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/common/calendar.jsp

    r5811 r5900  
    403403  <div id="error" class="error" style="display: none;"></div>
    404404  <div id="current" style="text-align: center; font-weight: bold;"></div>
    405   <base:buttongroup align="center">
     405  <base:buttongroup>
    406406    <base:button image="today.png" onclick="setToday()" title="<%=datetime ? "Now" : "Today"%>" />
    407407    <base:button onclick="saveCurrentDate()" title="Ok" visible="<%=datetime%>"/>
  • trunk/www/common/help/view_help.jsp

    r5799 r5900  
    155155    </div>
    156156
    157     <base:buttongroup align="center" clazz="fixedatbottom" style="border-top: 0px;">
     157    <base:buttongroup clazz="fixedatbottom" style="border-top: 0px;">
    158158      <base:button image="edit.gif" title="Edit&hellip;"
    159159        onclick="editHelpText()" visible="<%=writePermission && description != null%>"
  • trunk/www/common/history/view_history.jsp

    r5426 r5900  
    129129      </t:tabcontrol>
    130130 
    131     <base:buttongroup align="center">
     131    <base:buttongroup>
    132132      <base:button onclick="window.close()" title="Close" />
    133133    </base:buttongroup>
  • trunk/www/common/import/no_fileformat.jsp

    r5451 r5900  
    119119 
    120120    <br>
    121     <base:buttongroup align="center">
     121    <base:buttongroup>
    122122      <base:button onclick="addFileFormat()"
    123123        image="new.gif" title="Add file format&hellip;"
  • trunk/www/exception/exception.jsp

    r5426 r5900  
    205205    </span>
    206206  </base:note>
    207   <base:buttongroup align="center">
     207  <base:buttongroup>
    208208    <base:button id="goback" onclick="<%="history.go(-1)"%>" title="Back"/>
    209209    <base:button id="close" onclick="<%="window.top.close()"%>" title="Close"/>
  • trunk/www/filemanager/fileservers/list_fileservers.jsp

    r5618 r5900  
    516516      %>
    517517    </tbl:table>
    518     <base:buttongroup align="center" clazz="fixedatbottom">
     518    <base:buttongroup clazz="fixedatbottom">
    519519      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    520520      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/include/styles/main.css

    r5812 r5900  
    2828  @version 2.0
    2929*/
     30
     31/* Tables should have no border, padding or cellspacing by default */
     32table
     33{
     34  border: 0px;
     35  padding: 0px;
     36  border-spacing: 0px;
     37}
     38td, th
     39{
     40  padding: 0px;
     41  border: 0px;
     42}
     43
     44/*
     45  Buttons and related
     46  -------------------
     47*/
     48
     49/* A button group is a single-row table with one button in each cell */
     50.buttongroup
     51{}
     52
     53.buttongroup > table
     54{
     55  /* Center the table inside the div */
     56  margin-left: auto;
     57  margin-right: auto;
     58  /* Adds 6px between each button */
     59  border-spacing: 6px 0px;
     60}
     61
     62/* A single button */
     63.basicbutton
     64{
     65  background: #D0D0D0;
     66  border: 1px solid #333333;
     67  /* IE need a bigger radius to give the same effect as Firefox */
     68  border-radius: 4px;
     69  -moz-border-radius: 3px;
     70}
     71
     72/* Highlight the button when the mouse is over it */
     73.basicbutton:hover
     74{
     75  background: #F0F0F0;
     76  cursor: pointer;
     77}
     78
     79/* The second div is used to for a 3d effect */
     80.basicbutton > div
     81{
     82  border-top: 1px solid #FFFFFF;
     83  border-left: 1px solid #FFFFFF;
     84  border-bottom: 1px solid #999999;
     85  border-right: 1px solid #999999;
     86  border-radius: 4px;
     87  -moz-border-radius: 3px;
     88  padding: 1px 5px 2px 5px;
     89  text-align: center;
     90  white-space: nowrap;
     91}
     92.basicbutton > div > table
     93{
     94  /* Center the table inside the div */
     95  margin-left: auto;
     96  margin-right: auto;
     97}
     98
     99/* A disabled button should be more gray */
     100.basicbutton.disabled
     101{
     102  color: #666666;
     103  border: 1px solid #666666;
     104  background: #D0D0D0;
     105  cursor: default;
     106}
     107.basicbutton.disabled img
     108{
     109  opacity: 0.4;
     110}
     111
     112
     113/*
     114  STYLES BELOW ARE OLD AND SHOULD BE VERIFIED
     115  ------------------------------------------
     116*/
     117
    30118body {
    31119  color: #000000;
     
    34122  padding-left: 8px;
    35123  padding-right: 8px;
    36 }
    37 
    38 td, th {
    39   text-align: left;
    40124}
    41125
  • trunk/www/include/styles/size_m.css

    r5426 r5900  
    3030  @version 2.0
    3131*/
     32
     33/* Dialog buttons in popup windows need fixed height so that we can align other content */
     34.popup .buttongroup.dialogbuttons
     35{
     36  height: 24px;
     37}
     38
     39/*
     40  STYLES BELOW ARE OLD AND SHOULD BE VERIFIED
     41  ------------------------------------------
     42*/
     43
     44
     45
    3246body, td, th, h3, input, select, textarea {
    3347  font-size: 12px;
  • trunk/www/lims/arraybatches/list_batches.jsp

    r5674 r5900  
    659659      %>
    660660    </tbl:table>
    661     <base:buttongroup align="center" clazz="fixedatbottom">
     661    <base:buttongroup clazz="fixedatbottom">
    662662      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    663663      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/arraydesigns/features/list_features.jsp

    r5590 r5900  
    772772      %>
    773773    </tbl:table>
    774     <base:buttongroup align="center">
     774    <base:buttongroup>
    775775      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    776776      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/arraydesigns/list_designs.jsp

    r5674 r5900  
    784784      %>
    785785    </tbl:table>
    786     <base:buttongroup align="center" clazz="fixedatbottom">
     786    <base:buttongroup clazz="fixedatbottom">
    787787      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    788788      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/arrayslides/create_wizard.jsp

    r5426 r5900  
    368368    }
    369369    %>   
    370     <base:buttongroup align="center">
     370    <base:buttongroup>
    371371      <base:button onclick="saveSettings();" title="Save" image="save.gif" visible="<%=cmd.equals("WizardStep2")%>" />
    372372      <base:button onclick="nextStep();" title="Next" image="gonext.gif" visible="<%=cmd.equals("WizardStep1")%>" />
  • trunk/www/lims/arrayslides/list_slides.jsp

    r5674 r5900  
    643643      %>
    644644    </tbl:table>
    645     <base:buttongroup align="center" clazz="fixedatbottom">
     645    <base:buttongroup clazz="fixedatbottom">
    646646      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    647647      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/geometries/list_geometries.jsp

    r5590 r5900  
    487487      %>
    488488    </tbl:table>
    489     <base:buttongroup align="center" clazz="fixedatbottom">
     489    <base:buttongroup clazz="fixedatbottom">
    490490      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    491491      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/platemappings/list_mappings.jsp

    r5590 r5900  
    566566      %>
    567567    </tbl:table>
    568     <base:buttongroup align="center" clazz="fixedatbottom">
     568    <base:buttongroup clazz="fixedatbottom">
    569569      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    570570      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/plates/events/list_events.jsp

    r5590 r5900  
    501501      %>
    502502    </tbl:table>
    503     <base:buttongroup align="center">
     503    <base:buttongroup>
    504504      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    505505      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/plates/list_plates.jsp

    r5674 r5900  
    730730      %>
    731731    </tbl:table>
    732     <base:buttongroup align="center" clazz="fixedatbottom">
     732    <base:buttongroup clazz="fixedatbottom">
    733733      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    734734      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/plates/wells/list_wells.jsp

    r5674 r5900  
    663663      %>
    664664    </tbl:table>
    665     <base:buttongroup align="center">
     665    <base:buttongroup>
    666666      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    667667      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/platetypes/eventtypes/list_eventtypes.jsp

    r5630 r5900  
    436436      %>
    437437    </tbl:table>
    438     <base:buttongroup align="center">
     438    <base:buttongroup>
    439439      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    440440      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/lims/platetypes/list_platetypes.jsp

    r5590 r5900  
    565565      %>
    566566    </tbl:table>
    567     <base:buttongroup align="center" clazz="fixedatbottom">
     567    <base:buttongroup clazz="fixedatbottom">
    568568      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    569569      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/logout.jsp

    r5812 r5900  
    9191    <table align="center">
    9292    <tr>
    93       <td colspan="2">
     93      <td>
    9494      <%
    9595      if (sc.isImpersonated())
     
    107107      </td>
    108108    </tr>
    109     <tr>
    110       <td width="50%"><base:button onclick="beginLogout()" title="Yes" /></td>
    111       <td width="50%"><base:button onclick="window.close()" title="No" /></td>
    112     </tr>
    113109    </table>
     110   
     111    <base:buttongroup subclass="dialogbuttons">
     112      <base:button onclick="beginLogout()" title="Yes" />
     113      <base:button onclick="window.close()" title="No" />
     114    </base:buttongroup>
     115   
    114116  </div>
    115117 
  • trunk/www/my_base/messages/list_messages.jsp

    r5590 r5900  
    446446      %>
    447447    </tbl:table>
    448     <base:buttongroup align="center" clazz="fixedatbottom">
     448    <base:buttongroup clazz="fixedatbottom">
    449449      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    450450      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/my_base/messages/view_message.jsp

    r5426 r5900  
    466466    </t:tabcontrol>
    467467     
    468     <base:buttongroup align="center">
     468    <base:buttongroup>
    469469      <base:button onclick="window.close()" title="Close" />
    470470    </base:buttongroup>
  • trunk/www/my_base/projects/list_projects.jsp

    r5590 r5900  
    467467      %>
    468468    </tbl:table>
    469     <base:buttongroup align="center" clazz="fixedatbottom">
     469    <base:buttongroup clazz="fixedatbottom">
    470470      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    471471      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/my_base/user/preferences.jsp

    r5812 r5900  
    554554  </t:tab>
    555555  </t:tabcontrol>
    556 
    557   <p>
    558   <div align=center>
    559     <table align="center">
    560     <tr>
    561       <td width="50%"><base:button onclick="savePreferences();" title="Save" /></td>
    562       <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    563     </tr>
    564     </table>
    565   </div>
    566556  </form>
     557 
     558    <base:buttongroup subclass="dialogbuttons">
     559      <base:button onclick="savePreferences();" title="Save" />
     560      <base:button onclick="window.close();" title="Cancel" />
     561    </base:buttongroup>
    567562  </base:body>
    568563  </base:page>
  • trunk/www/my_base/user/reset_filters.jsp

    r5812 r5900  
    129129    If that doesn't help, try the 'In-database' option.
    130130  </div>
    131    
    132   <p>
    133   <div align=center>
    134     <table align="center">
    135     <tr>
    136       <td width="50%"><base:button onclick="resetFilters();" title="Ok" /></td>
    137       <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    138     </tr>
    139     </table>
    140   </div>
    141131  </form>
     132 
     133    <base:buttongroup subclass="dialogbuttons">
     134      <base:button onclick="resetFilters();" title="Ok" />
     135      <base:button onclick="window.close();" title="Cancel" />
     136    </base:buttongroup>
    142137  </base:body>
    143138  </base:page>
  • trunk/www/my_base/user/settings.jsp

    r5812 r5900  
    409409  </t:tab>
    410410  </t:tabcontrol>
    411 
    412   <p>
    413   <div align=center>
    414     <% if (writePermission)
    415     {
    416       %>
    417       <table align="center">
    418       <tr>
    419         <td width="50%"><base:button onclick="saveSettings();" title="Save" /></td>
    420         <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    421       </tr>
    422       </table>
    423       <%
    424     }
    425     else
    426     {
    427       %>
    428       <div class="error">You do not have permission to change this information</div>
    429       <table align="center">
    430       <tr>
    431         <td><base:button onclick="window.close();" title="Close" /></td>
    432       </tr>
    433       </table>
    434       <%
    435     }
    436     %>
    437   </div>
    438411  </form>
     412 
     413    <base:buttongroup subclass="dialogbuttons">
     414      <base:button onclick="saveSettings();" title="Save" visible="<%=writePermission%>"/>
     415      <base:button onclick="window.close();" title="Cancel" visible="<%=writePermission%>"/>
     416      <base:button onclick="window.close();" title="Close" visible="<%=!writePermission%>"/>
     417    </base:buttongroup>
     418 
    439419  </base:body>
    440420  </base:page>
  • trunk/www/views/derivedbioassays/list_bioassays.jsp

    r5727 r5900  
    795795      %>
    796796    </tbl:table>
    797     <base:buttongroup align="center" clazz="fixedatbottom">
     797    <base:buttongroup clazz="fixedatbottom">
    798798      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    799799      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/experiments/bioassays/list_bioassays.jsp

    r5674 r5900  
    626626
    627627    </tbl:table>
    628     <base:buttongroup align="center" clazz="fixedatbottom">
     628    <base:buttongroup clazz="fixedatbottom">
    629629      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    630630      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/experiments/bioassaysets/list_bioassaysets.jsp

    r5897 r5900  
    243243      </jsp:include>
    244244   
    245     <base:buttongroup align="center">
     245    <base:buttongroup>
    246246      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    247247      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/experiments/list_experiments.jsp

    r5877 r5900  
    653653      %>
    654654    </tbl:table>
    655     <base:buttongroup align="center" clazz="fixedatbottom">
     655    <base:buttongroup clazz="fixedatbottom">
    656656      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    657657      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/experiments/reporters/list_reporters.jsp

    r5897 r5900  
    410410      %>
    411411    </tbl:table>
    412     <base:buttongroup align="center">
     412    <base:buttongroup>
    413413      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    414414      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/experiments/spotdata/list_spotdata.jsp

    r5881 r5900  
    431431      %>
    432432    </tbl:table>
    433     <base:buttongroup align="center">
     433    <base:buttongroup>
    434434      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    435435      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/formulas/list_formulas.jsp

    r5574 r5900  
    685685      %>
    686686    </tbl:table>
    687     <base:buttongroup align="center" clazz="fixedatbottom">
     687    <base:buttongroup clazz="fixedatbottom">
    688688      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    689689      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/jobs/list_jobs.jsp

    r5707 r5900  
    761761      %>
    762762    </tbl:table>
    763     <base:buttongroup align="center" clazz="fixedatbottom">
     763    <base:buttongroup clazz="fixedatbottom">
    764764      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    765765      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/jobs/view_job.jsp

    r5705 r5900  
    655655      </t:tabcontrol>
    656656 
    657     <base:buttongroup align="center">
     657    <base:buttongroup>
    658658      <%
    659659      if (supportsAbort)
  • trunk/www/views/permissiontemplates/list_templates.jsp

    r5590 r5900  
    474474      %>
    475475    </tbl:table>
    476     <base:buttongroup align="center" clazz="fixedatbottom">
     476    <base:buttongroup clazz="fixedatbottom">
    477477      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    478478      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/physicalbioassays/list_bioassays.jsp

    r5685 r5900  
    769769      %>
    770770    </tbl:table>
    771     <base:buttongroup align="center" clazz="fixedatbottom">
     771    <base:buttongroup clazz="fixedatbottom">
    772772      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    773773      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/rawbioassays/list_rawbioassays.jsp

    r5685 r5900  
    908908      %>
    909909    </tbl:table>
    910     <base:buttongroup align="center" clazz="fixedatbottom">
     910    <base:buttongroup clazz="fixedatbottom">
    911911      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    912912      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/rawbioassays/rawdata/list_rawdata.jsp

    r5426 r5900  
    903903      %>
    904904    </tbl:table>
    905     <base:buttongroup align="center">
     905    <base:buttongroup>
    906906      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    907907      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/reporterlists/list_reporterlists.jsp

    r5590 r5900  
    523523      %>
    524524    </tbl:table>
    525     <base:buttongroup align="center" clazz="fixedatbottom">
     525    <base:buttongroup clazz="fixedatbottom">
    526526      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    527527      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/reporterlists/reporters/add_reporters_control.jsp

    r5426 r5900  
    6969  <base:body>
    7070 
    71   <base:buttongroup align="center" clazz="fixedatbottom">
     71  <base:buttongroup clazz="fixedatbottom">
    7272    <base:button title="Add selected" onclick="addSelected()" />
    7373    <base:button title="Add current page" onclick="addCurrentPage()" />
  • trunk/www/views/reporterlists/reporters/list_reporters.jsp

    r5426 r5900  
    540540      %>
    541541    </tbl:table>
    542     <base:buttongroup align="center" clazz="fixedatbottom">
     542    <base:buttongroup clazz="fixedatbottom">
    543543      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    544544      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/reporters/list_reporters.jsp

    r5426 r5900  
    527527      %>
    528528    </tbl:table>
    529     <base:buttongroup align="center" clazz="fixedatbottom">
     529    <base:buttongroup clazz="fixedatbottom">
    530530      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    531531      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/sessions/list_sessions.jsp

    r5590 r5900  
    400400      %>
    401401    </tbl:table>
    402     <base:buttongroup align="center" clazz="fixedatbottom">
     402    <base:buttongroup clazz="fixedatbottom">
    403403      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
    404404      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
  • trunk/www/views/sessions/view_session.jsp

    r5426 r5900  
    134134    </t:tabcontrol>
    135135   
    136     <base:buttongroup align="center">
     136    <base:buttongroup>
    137137      <base:button onclick="window.close()" title="Close" />
    138138    </base:buttongroup>
Note: See TracChangeset for help on using the changeset viewer.