phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/skins/default account_mgr.xsl, NONE, 1.1.2.1 defa


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default account_mgr.xsl, NONE, 1.1.2.1 default.css, 1.1.1.1.2.3, 1.1.1.1.2.4
Date: Sun, 26 Oct 2003 02:16:55 +0000

Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv15854/skins/default

Modified Files:
      Tag: proposal-branch
        default.css 
Added Files:
      Tag: proposal-branch
        account_mgr.xsl 
Log Message:
Working on the admin section, this layout is sort of experimental


Index: default.css
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/default.css,v
retrieving revision 1.1.1.1.2.3
retrieving revision 1.1.1.1.2.4
diff -C2 -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
*** default.css 24 Oct 2003 02:58:43 -0000      1.1.1.1.2.3
--- default.css 26 Oct 2003 02:16:53 -0000      1.1.1.1.2.4
***************
*** 153,156 ****
--- 153,164 ----
  }
  
+ .normalbox
+ {
+       border-right: #98aab1 1px solid; 
+       border-top: #98aab1 1px solid; 
+       border-left: #98aab1 1px solid; 
+       border-bottom: #98aab1 1px solid
+ }
+ 
  .articletitle 
  {
***************
*** 164,165 ****
--- 172,184 ----
        height: 20px
  }
+ 
+ .row_on
+ {
+       background: #DDDDDD;
+ }
+ 
+ .row_off
+ {
+       background: #EEEEEE;
+ }
+ 

--- NEW FILE: account_mgr.xsl ---
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output indent="yes"/>

<xsl:template match="APP/accounts">
        <br />
        <table class="normalbox" cellSpacing="1" cellPadding="0" width="80%" 
border="0">
                <tr> 
                        <td class="sideboxtitle" align="center" height="28" 
width="100%">

                                <table border="0" width="100%" cellspacing="0" 
cellpadding="0">
                                        <tr bgcolor="#D3DCE3" 
class="sideboxtitle">
                                                <td width="5">&#160;</td>
                                                <td width="295">LoginID</td>
                                                <td width="295">First name</td>
                                                <td width="*">Last name</td>
                                        </tr>
                                </table>

                        </td>
                </tr>
                <tr>
                        <td class="sideboxcontent" bgColor="#efefef">
                                <table class="sideboxtext" cellSpacing="0" 
cellPadding="0" width="100%" border="0" valign="top">
                                        <xsl:for-each select="accounts_item">
                                        <xsl:variable name="account_id" 
select="account_id" />  

                                        <tr>
                                                <xsl:choose>                    
        
                                                        <xsl:when 
test="position() mod 2 = 1">
                                                                <xsl:attribute 
name="class">row_on</xsl:attribute>
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                                <xsl:attribute 
name="class">row_off</xsl:attribute>
                                                        </xsl:otherwise>
                                                </xsl:choose>
                                                <td><font color="#000000"><a 
href="{$baseurl}&amp;op=api.account_mgr.view&amp;account_id={$account_id}"><xsl:value-of
 select="account_lid" /></a></font></td>
                                                <td><font 
color="#000000"><xsl:value-of select="account_firstname" /></font></td>
                                                <td><font 
color="#000000"><xsl:value-of select="account_lastname" /></font></td>
                                                <td width="24" 
align="center"><a 
href="{$baseurl}&amp;op=api.account_mgr.edit&amp;account_id={$account_id}"><img 
alt="Edit" title="Edit" src="{$api_image_path}/edit.png" border="0" /></a></td>
                                                <xsl:choose>
                                                        <xsl:when 
test="$account_id = /PHPGW/API/user/id">
                                                                <td width="24" 
align="center"><img alt="Delete" title="Delete" 
src="{$api_image_path}/delete_x.png" border="0" /></td>
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                                <td width="24" 
align="center"><a 
href="{$baseurl}&amp;op=api.account_mgr.delete&amp;account_id={$account_id}"><img
 alt="Delete" title="Delete" src="{$api_image_path}/delete.png" border="0" 
/></a></td>
                                                        </xsl:otherwise>
                                                </xsl:choose>
                                                </tr>
                                        </xsl:for-each>
                                </table>
                        </td>
                </tr>
        </table>
        <p>&#160;</p>
</xsl:template>

</xsl:stylesheet>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]