Changeset 2184

Show
Ignore:
Timestamp:
05/20/09 15:32:05
Author:
johnsa
Message:

admin client: some simple stylistic updates and better presentation of cross-tagged events

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.css

    r2175 r2184  
    342342#commonListTable { 
    343343  margin-bottom: 2em; 
     344  border-spacing: 0; 
     345  border-top: 1px solid #ddd; 
     346  border-left: 1px solid #ddd; 
    344347} 
    345348#commonListTable th { 
    346349  padding: 0.2em 1em 0.2em 0.5em; 
    347   background-color : #bbb; 
    348   color: black; 
    349   white-space: nowrap; 
     350  background-color : #ccc; 
     351  color: black; 
     352  white-space: nowrap; 
     353  border-right: 1px solid #ccc; 
     354  border-bottom: 1px solid #ccc; 
    350355} 
    351356#commonListTable td { 
    352357  vertical-align: top; 
    353358  font-size: 0.9em; 
    354   padding: 0.2em 1em 0.2em 0.5em; 
    355   color: black; 
    356   background-color: #ddd; 
     359  padding: 0.5em; 
     360  color: black; 
     361  background-color: white; 
     362  border-right: 1px solid #ddd; 
     363  border-bottom: 1px solid #ddd; 
    357364} 
    358365#commonListTable td.date, 
    359366#commonListTable td.calcat { 
    360367  white-space: nowrap; 
     368} 
     369#commonListTable tr.even td { 
     370  background-color: #fcfcfc; 
     371  color: black; 
    361372} 
    362373#commonListTable tr.highlight td { 
     
    11041115  padding-right: 2em; 
    11051116} 
     1117.bwEventListOtherGroupTags { 
     1118  font-size: 0.8em; 
     1119  margin: 1em 0 0 0; 
     1120} 
     1121.bwOtherTags { 
     1122  margin: 0.5em 0; 
     1123  padding: 4px; 
     1124  background-color: #eee; 
     1125  color: black; 
     1126} 
    11061127#filterTable { 
    11071128  font-size: 0.9em; 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r2183 r2184  
    997997    <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    998998    <tr> 
     999      <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    9991000      <xsl:if test="$pending = 'true' and not(xproperties/X-BEDEWORK-SUBMISSION-CLAIMANT)"> 
    10001001        <xsl:attribute name="class">highlight</xsl:attribute> 
     
    10821083            <xsl:if test="xproperties/X-BEDEWORK-ALIAS[not(contains(values/text,/bedework/currentCalSuite/resourcesHome))]"> 
    10831084              <xsl:variable name="tagsId">bwTags-<xsl:value-of select="guid"/></xsl:variable> 
    1084               <br/><button type="button" onmouseover="changeClass('{$tagsId}','visible');" onmouseout="changeClass('{$tagsId}','invisible');">Show tags from other groups</button> 
    1085               <div id="{$tagsId}" class="invisible"> 
    1086                 <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS[not(contains(values/text,/bedework/currentCalSuite/resourcesHome))]"> 
    1087                   <xsl:value-of select="values/text"/><br/> 
    1088                 </xsl:for-each> 
     1085              <div class="bwEventListOtherGroupTags"> 
     1086                <strong>This event is cross-tagged.</strong><br/> 
     1087                <input type="checkbox" name="tagsToggle" value="" onclick="toggleVisibility('{$tagsId}','bwOtherTags')"/> 
     1088                Show tags by other groups 
     1089                <div id="{$tagsId}" class="invisible"> 
     1090                  <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS[not(contains(values/text,/bedework/currentCalSuite/resourcesHome))]"> 
     1091                    <xsl:value-of select="values/text"/><br/> 
     1092                  </xsl:for-each> 
     1093                </div> 
    10891094              </div> 
    10901095            </xsl:if> 
     
    32563261      <xsl:for-each select="/bedework/contacts/contact"> 
    32573262        <tr> 
     3263          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    32583264          <td> 
    32593265            <xsl:copy-of select="name" /> 
     
    33903396      <xsl:for-each select="/bedework/locations/location"> 
    33913397        <tr> 
     3398          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    33923399          <td> 
    33933400            <xsl:copy-of select="address/*"/> 
     
    35193526        <xsl:variable name="catUid" select="uid"/> 
    35203527        <tr> 
     3528          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    35213529          <td> 
    35223530            <a href="{$category-fetchForUpdate}&amp;catUid={$catUid}"> 
     
    50985106        <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
    50995107        <tr> 
     5108          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    51005109          <td> 
    51015110            <xsl:variable name="viewName" select="name"/> 
     
    56305639      <xsl:for-each select="calSuite"> 
    56315640        <tr> 
     5641          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    56325642          <td> 
    56335643            <xsl:variable name="name" select="name"/> 
     
    59215931        <!--<xsl:sort select="account" order="ascending" case-order="upper-first"/>--> 
    59225932        <tr> 
     5933          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    59235934          <td> 
    59245935            <xsl:value-of select="account"/> 
     
    61626173        <xsl:variable name="groupName" select="name"/> 
    61636174        <tr> 
     6175          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    61646176          <xsl:if test="name = /bedework/calSuites//calSuite/group"> 
    61656177            <xsl:attribute name="class">highlight</xsl:attribute> 
     
    62336245        <xsl:variable name="admGroupName" select="name"/> 
    62346246        <tr> 
     6247          <xsl:if test="position() mod 2 = 0"><xsl:attribute name="class">even</xsl:attribute></xsl:if> 
    62356248          <xsl:if test="name = /bedework/calSuites//calSuite/group"> 
    62366249            <xsl:attribute name="class">highlight</xsl:attribute>