[tuxdroid-svn] r4935 - in software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_0
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-06-29 10:51:28
|
Author: remi
Date: 2009-06-29 12:51:21 +0200 (Mon, 29 Jun 2009)
New Revision: 4935
Modified:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/gadget-configuration.css
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_configuration.xsl
Log:
* updated "gadget configuration" page.
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/gadget-configuration.css
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/gadget-configuration.css 2009-06-29 10:17:45 UTC (rev 4934)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/gadget-configuration.css 2009-06-29 10:51:21 UTC (rev 4935)
@@ -9,11 +9,30 @@
.gadgetConfTitleBarUses{
height:26px;
width:408px;
+ margin-top:15px;
overflow:hidden;
display:block;
background-image:url(/data/web_interface/user_01/img/gadget_conf_title_bar_uses.png);
}
+.gadgetConfTitleBarOnDemand{
+ height:26px;
+ width:408px;
+ margin-top:15px;
+ overflow:hidden;
+ display:block;
+ background-image:url(/data/web_interface/user_01/img/gadget_conf_title_bar_ondemand.png);
+}
+
+.gadgetConfTitleBarAlert{
+ height:26px;
+ width:408px;
+ margin-top:15px;
+ overflow:hidden;
+ display:block;
+ background-image:url(/data/web_interface/user_01/img/gadget_conf_title_bar_alert.png);
+}
+
.gadgetConfTitleBarLabel{
width:357px;
height:14px;
@@ -51,6 +70,7 @@
.gadgetConfContentFrameTop{
height:10px;
width:408px;
+ margin-top:10px;
overflow:hidden;
display:block;
background-image:url(/data/web_interface/user_01/img/gadget_conf_content_frame_top.png);
@@ -132,33 +152,17 @@
background-repeat:repeat;
}
-.gadgetConfMyUseTitle{
- font-family:Verdana, Bitstream Vera Sans;
- width:370px;
- height:20px;
- font-size:11px;
- line-height:20px;
- color:#000;
- text-align:left;
- vertical-align:middle;
- font-weight:bold;
- text-decoration:underline;
-}
-
.gadgetConfMyUseDescription{
font-family:Verdana, Bitstream Vera Sans;
width:370px;
height:20px;
- margin-left:20px;
+ margin-left:0px;
font-size:11px;
line-height:20px;
color:#000;
text-align:left;
vertical-align:middle;
text-decoration:none;
- font-style:italic;
- display:table;
- float:left;
}
input.text{
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_configuration.xsl
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_configuration.xsl 2009-06-29 10:17:45 UTC (rev 4934)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_configuration.xsl 2009-06-29 10:51:21 UTC (rev 4935)
@@ -108,16 +108,15 @@
</xsl:if>
</xsl:for-each>
<div class="gadgetConfContentFrameBottom"></div>
- <xsl:element name="br"></xsl:element>
- <!-- MY USE OF GADGET BAR -->
- <div class="gadgetConfTitleBarUses">
- <span class="gadgetConfTitleBarLabel"><xsl:value-of select="root/translations/my_use_of_the_gadget"/></span>
- </div>
- <div class="gadgetConfTitleBarBottom2"></div>
- <!-- MY USE OF GADGET CONTENT -->
<!-- ON DEMAND -->
<xsl:choose>
<xsl:when test="root/data/description/onDemandIsAble = 'true'">
+ <!-- BAR -->
+ <div class="gadgetConfTitleBarOnDemand">
+ <span class="gadgetConfTitleBarLabel"><xsl:value-of select="root/translations/on_demand"/></span>
+ </div>
+ <div class="gadgetConfTitleBarBottom2"></div>
+ <!-- Content -->
<xsl:element name="input">
<xsl:attribute name="class">checkbox</xsl:attribute>
<xsl:attribute name="type">checkbox</xsl:attribute>
@@ -126,8 +125,6 @@
<xsl:attribute name="checked">true</xsl:attribute>
</xsl:if>
</xsl:element>
- <span class="gadgetConfMyUseTitle"><xsl:value-of select="root/translations/on_demand"/></span>
- <xsl:element name="br"></xsl:element>
<span class="gadgetConfMyUseDescription"><xsl:value-of select="root/translations/on_demand_description"/></span>
</xsl:when>
<xsl:otherwise>
@@ -142,6 +139,18 @@
<!-- ALERTS -->
<xsl:for-each select="root/data/tasks/*">
<xsl:element name="input">
+ <xsl:attribute name="class">text</xsl:attribute>
+ <xsl:attribute name="type">hidden</xsl:attribute>
+ <xsl:attribute name="id">req_task_<xsl:value-of select="name"/>_visible</xsl:attribute>
+ <xsl:attribute name="value">true</xsl:attribute>
+ </xsl:element>
+ <!-- BAR -->
+ <div class="gadgetConfTitleBarAlert">
+ <span class="gadgetConfTitleBarLabel"><xsl:value-of select="translatedName"/></span>
+ </div>
+ <div class="gadgetConfTitleBarBottom2"></div>
+ <!-- CONTENT -->
+ <xsl:element name="input">
<xsl:attribute name="class">checkbox</xsl:attribute>
<xsl:attribute name="type">checkbox</xsl:attribute>
<xsl:attribute name="id">req_task_<xsl:value-of select="name"/>_activated</xsl:attribute>
@@ -149,16 +158,6 @@
<xsl:attribute name="checked">true</xsl:attribute>
</xsl:if>
</xsl:element>
- <xsl:element name="input">
- <xsl:attribute name="class">text</xsl:attribute>
- <xsl:attribute name="type">hidden</xsl:attribute>
- <xsl:attribute name="id">req_task_<xsl:value-of select="name"/>_visible</xsl:attribute>
- <xsl:attribute name="value">true</xsl:attribute>
- </xsl:element>
- <span class="gadgetConfMyUseTitle">
- <xsl:value-of select="translatedName"/>
- </span>
- <xsl:element name="br"></xsl:element>
<span class="gadgetConfMyUseDescription">
<xsl:value-of select="description"/>
</span>
|