[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] tts inc/class.uitts.inc.php templates/base/inde...
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] tts inc/class.uitts.inc.php templates/base/inde... |
Date: |
Sun, 14 Jan 2007 11:10:30 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: tts
Changes by: Dave Hall <skwashd> 07/01/14 11:10:30
Modified files:
inc : class.uitts.inc.php
templates/base : index.xsl viewticket_details.xsl
templates/base/css: base.css
Log message:
some ui polish
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tts/inc/class.uitts.inc.php?cvsroot=phpgroupware&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/tts/templates/base/index.xsl?cvsroot=phpgroupware&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/tts/templates/base/viewticket_details.xsl?cvsroot=phpgroupware&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/tts/templates/base/css/base.css?cvsroot=phpgroupware&r1=1.3&r2=1.4
Patches:
Index: inc/class.uitts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/tts/inc/class.uitts.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- inc/class.uitts.inc.php 9 Jan 2007 01:21:53 -0000 1.11
+++ inc/class.uitts.inc.php 14 Jan 2007 11:10:30 -0000 1.12
@@ -5,7 +5,7 @@
* @copyright Copyright (C) 2000-2006 Free Software Foundation, Inc.
http://www.fsf.org/
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package tts
- * @version $Id: class.uitts.inc.php,v 1.11 2007/01/09 01:21:53 skwashd
Exp $
+ * @version $Id: class.uitts.inc.php,v 1.12 2007/01/14 11:10:30 skwashd
Exp $
*/
class tts_uitts
@@ -209,14 +209,14 @@
'view' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'tts.uitts.view') ),
'goto_action' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'tts.uitts.view') )
),
- 'open' => $this->bo->search(array
+ 'open_tickets' => $this->bo->search(array
(
'field' =>
array('ticket_status'),
'stype' => array('is'),
'value' => array('O'),
'search_type' => 'AND'
)),
- 'overdue' => $this->bo->search(array
+ 'overdue_tickets' => $this->bo->search(array
(
'field' =>
array('ticket_status', 'ticket_deadline', 'ticket_deadline'),
'stype' => array('is',
'before', 'is_not'),
Index: templates/base/index.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/tts/templates/base/index.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- templates/base/index.xsl 9 Jan 2007 01:21:53 -0000 1.1
+++ templates/base/index.xsl 14 Jan 2007 11:10:30 -0000 1.2
@@ -34,12 +34,12 @@
<li id="tab2"><a href="#"
onclick="oTabs.display(2);"><span><xsl:value-of select="lang/open"
/></span></a></li>
</ul><br />
</div>
- <xsl:for-each select="//overdue">
+ <xsl:for-each select="//overdue_tickets">
<div id="tabcontent1">
<xsl:call-template name="ticket_list" />
</div>
</xsl:for-each>
- <xsl:for-each select="//open">
+ <xsl:for-each select="//open_tickets">
<div id="tabcontent2">
<xsl:call-template name="ticket_list" />
</div>
@@ -49,7 +49,7 @@
<div class="hd"><div class="lt"></div><span><xsl:value-of
select="lang/goto" /></span><div class="rt"></div></div>
<div class="bd">
<form method="post" action="{url/goto_action}"
id="tts_goto_form" name="tts_goto_form">
- <div> <!-- STFU validator -->
+ <div>
<label for="ticket_id"><xsl:value-of
select="lang/ticket_no" /></label>
<input type="text" name="ticket_id"
id="ticket_id" /><br />
</div>
Index: templates/base/viewticket_details.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/tts/templates/base/viewticket_details.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- templates/base/viewticket_details.xsl 5 Jan 2007 04:14:50 -0000
1.2
+++ templates/base/viewticket_details.xsl 14 Jan 2007 11:10:30 -0000
1.3
@@ -14,8 +14,20 @@
<div id="tabcontent1">
<xsl:for-each select="view">
+ <div>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when
test="position() mod 2 = 0">
+
<xsl:text>row_off</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+
<xsl:text>row_on</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
<span class="mock_label"><xsl:value-of
select="label" /></span>
- <xsl:value-of select="value"
disable-output-escaping="yes" /><br />
+ <span class="mock_field"><xsl:value-of
select="value" disable-output-escaping="yes" /></span><br />
+ </div>
</xsl:for-each>
</div>
@@ -101,12 +113,12 @@
</div>
<div class="button_group">
+ <input type="submit" id="cancel" name="cancel"
onclick="self.location.href='{done_url}';" value="{lang/done}" class="button" />
<xsl:choose>
<xsl:when test="edit">
- <input type="submit" id="submit"
name="submit" value="{lang/save}" />
+ <input type="submit" id="submit"
name="submit" value="{lang/save}" class="button" />
</xsl:when>
</xsl:choose>
- <input type="submit" id="cancel" name="cancel"
onclick="self.location.href='{done_url}';" value="{lang/done}" />
</div>
</form>
Index: templates/base/css/base.css
===================================================================
RCS file: /cvsroot/phpgroupware/tts/templates/base/css/base.css,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- templates/base/css/base.css 17 Dec 2006 23:29:29 -0000 1.3
+++ templates/base/css/base.css 14 Jan 2007 11:10:30 -0000 1.4
@@ -10,30 +10,34 @@
width: 890px;
}
-label, input, select, textarea
+label, input, select, textarea, span.mock_label, span.mock_field
{
display: block;
margin-bottom: 10px;
width: 250px;
}
-label, input, select, textarea
+label, input, select, textarea, span.mock_label, span.mock_field
{
float: left;
}
-label
+label, span.mock_label
{
clear: left;
width: 150px;
}
-.button_group input
+div.button_group
+{
+ text-align: right;
+}
+
+div.button_group input.button
{
clear: none;
float: none;
- margin: 20px;
- text-align: center;
+ margin: 5px;
width: auto;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] tts inc/class.uitts.inc.php templates/base/inde...,
Dave Hall <=