Author: remi
Date: 2009-07-05 12:54:28 +0200 (Sun, 05 Jul 2009)
New Revision: 5050

Added:
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/attitunes.css
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/online.css
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/tools.css
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/attitunes.xsl
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/online.xsl
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/tools.xsl
Modified:
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
   
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
Log:
* Added bases for the "attitunes" "tools" and "online" pages creation.

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/attitunes.css
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/attitunes.css
                                (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/attitunes.css
        2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,123 @@
+*:focus {
+    outline: none;
+}
+
+*::-moz-focus-inner {
+    border: none;
+}
+
+div.frame01TopSpace{
+    margin-top:15px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_top.png);
+    background-repeat:no-repeat;
+    height:10px;
+    width:855px;
+    overflow: hidden;
+}
+
+div.frame01Middle{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_middle.png);
+    background-repeat:repeat;
+    height:1px;
+    width:855px;
+}
+
+div.frame01Sep{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_sep.png);
+    background-repeat:repeat;
+    height:4px;
+    width:855px;
+}
+
+div.frame01Bottom{
+    margin-top:0px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_bottom.png);
+    background-repeat:no-repeat;
+    height:20px;
+    width:855px;
+    overflow: hidden;
+}
+
+.toolsBtnTitle{
+    width:56px;
+    _width:72px;
+    height:34px;
+    padding-left:16px;
+    padding-top:-1px;
+    margin-left:0px;
+    margin-top:2px;
+    display:table;
+    float:left;
+    line-height:34px;
+    font-size:10px;
+    color:#FFFFFF;
+    text-align:center;
+    vertical-align:middle;
+    font-weight:bold;
+    overflow:hidden;
+    text-decoration:none;
+    font-family:Verdana, Bitstream Vera Sans;
+}
+
+.toolsBtnStartEnable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_enable.png);
+}
+
+.toolsBtnStartEnable:hover{
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartActivate{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartDisable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_disable.png);
+}
+
+.leightbox {
+       color: #333;
+       display: none;
+       position: absolute;
+       top: 25%;
+       left: 25%;
+       width: 50%;
+       height: 50%;
+       padding: 1em;
+       border: 1em solid #B8B8B8;
+       background-color: white;
+       text-align: left;
+       z-index:1001;
+       overflow: auto;
+}
+
+#overlay{
+       display:none;
+       position:absolute;
+       top:0px;
+       left:0px;
+       width:855px;
+       height:535px;
+       z-index:1000;
+       background-color:#000000;
+       -moz-opacity: 0.7;
+       opacity:.70;
+       filter: alpha(opacity=70);
+}
+
+.lightbox[id]{ /* IE6 and below Can't See This */    position:fixed;    
}#overlay[id]{ /* IE6 and below Can't See This */    position:fixed;    }

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/online.css
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/online.css
                           (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/online.css
   2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,123 @@
+*:focus {
+    outline: none;
+}
+
+*::-moz-focus-inner {
+    border: none;
+}
+
+div.frame01TopSpace{
+    margin-top:15px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_top.png);
+    background-repeat:no-repeat;
+    height:10px;
+    width:855px;
+    overflow: hidden;
+}
+
+div.frame01Middle{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_middle.png);
+    background-repeat:repeat;
+    height:1px;
+    width:855px;
+}
+
+div.frame01Sep{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_sep.png);
+    background-repeat:repeat;
+    height:4px;
+    width:855px;
+}
+
+div.frame01Bottom{
+    margin-top:0px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_bottom.png);
+    background-repeat:no-repeat;
+    height:20px;
+    width:855px;
+    overflow: hidden;
+}
+
+.toolsBtnTitle{
+    width:56px;
+    _width:72px;
+    height:34px;
+    padding-left:16px;
+    padding-top:-1px;
+    margin-left:0px;
+    margin-top:2px;
+    display:table;
+    float:left;
+    line-height:34px;
+    font-size:10px;
+    color:#FFFFFF;
+    text-align:center;
+    vertical-align:middle;
+    font-weight:bold;
+    overflow:hidden;
+    text-decoration:none;
+    font-family:Verdana, Bitstream Vera Sans;
+}
+
+.toolsBtnStartEnable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_enable.png);
+}
+
+.toolsBtnStartEnable:hover{
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartActivate{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartDisable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_disable.png);
+}
+
+.leightbox {
+       color: #333;
+       display: none;
+       position: absolute;
+       top: 25%;
+       left: 25%;
+       width: 50%;
+       height: 50%;
+       padding: 1em;
+       border: 1em solid #B8B8B8;
+       background-color: white;
+       text-align: left;
+       z-index:1001;
+       overflow: auto;
+}
+
+#overlay{
+       display:none;
+       position:absolute;
+       top:0px;
+       left:0px;
+       width:855px;
+       height:535px;
+       z-index:1000;
+       background-color:#000000;
+       -moz-opacity: 0.7;
+       opacity:.70;
+       filter: alpha(opacity=70);
+}
+
+.lightbox[id]{ /* IE6 and below Can't See This */    position:fixed;    
}#overlay[id]{ /* IE6 and below Can't See This */    position:fixed;    }

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/tools.css
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/tools.css
                            (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/tools.css
    2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,123 @@
+*:focus {
+    outline: none;
+}
+
+*::-moz-focus-inner {
+    border: none;
+}
+
+div.frame01TopSpace{
+    margin-top:15px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_top.png);
+    background-repeat:no-repeat;
+    height:10px;
+    width:855px;
+    overflow: hidden;
+}
+
+div.frame01Middle{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_middle.png);
+    background-repeat:repeat;
+    height:1px;
+    width:855px;
+}
+
+div.frame01Sep{
+    font-family:Verdana, Bitstream Vera Sans;
+    display:table;
+    background-image:url(/data/web_interface/user_01/img/frame_01_sep.png);
+    background-repeat:repeat;
+    height:4px;
+    width:855px;
+}
+
+div.frame01Bottom{
+    margin-top:0px;
+    font-family:Verdana, Bitstream Vera Sans;
+    background-image:url(/data/web_interface/user_01/img/frame_01_bottom.png);
+    background-repeat:no-repeat;
+    height:20px;
+    width:855px;
+    overflow: hidden;
+}
+
+.toolsBtnTitle{
+    width:56px;
+    _width:72px;
+    height:34px;
+    padding-left:16px;
+    padding-top:-1px;
+    margin-left:0px;
+    margin-top:2px;
+    display:table;
+    float:left;
+    line-height:34px;
+    font-size:10px;
+    color:#FFFFFF;
+    text-align:center;
+    vertical-align:middle;
+    font-weight:bold;
+    overflow:hidden;
+    text-decoration:none;
+    font-family:Verdana, Bitstream Vera Sans;
+}
+
+.toolsBtnStartEnable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_enable.png);
+}
+
+.toolsBtnStartEnable:hover{
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartActivate{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_activate.png);
+}
+
+.toolsBtnStartDisable{
+    width:59px;
+    _width:72px;
+    padding-left:13px;
+    
background-image:url(/data/web_interface/user_01/img/gadgets_btn_play_disable.png);
+}
+
+.leightbox {
+       color: #333;
+       display: none;
+       position: absolute;
+       top: 25%;
+       left: 25%;
+       width: 50%;
+       height: 50%;
+       padding: 1em;
+       border: 1em solid #B8B8B8;
+       background-color: white;
+       text-align: left;
+       z-index:1001;
+       overflow: auto;
+}
+
+#overlay{
+       display:none;
+       position:absolute;
+       top:0px;
+       left:0px;
+       width:855px;
+       height:535px;
+       z-index:1000;
+       background-color:#000000;
+       -moz-opacity: 0.7;
+       opacity:.70;
+       filter: alpha(opacity=70);
+}
+
+.lightbox[id]{ /* IE6 and below Can't See This */    position:fixed;    
}#overlay[id]{ /* IE6 and below Can't See This */    position:fixed;    }

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/attitunes.xsl
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/attitunes.xsl
                                (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/attitunes.xsl
        2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+    xmlns:fo="http://www.w3.org/1999/XSL/Format";>
+
+<xsl:include href="plugin_gadget_common.xsl"/>
+
+<xsl:template match="/">
+<html>
+    <head>
+        <link href="/data/web_interface/user_01/css/attitunes.css" 
rel="stylesheet" type="text/css"/>
+        <!-- CSS HACKS FOR BROWSERS -->
+        <xsl:choose>
+            <!-- IE -->
+            <xsl:when test="system-property('xsl:vendor') = 'Microsoft'">
+                <!-- IE <= 7 -->
+                <xsl:comment><![CDATA[[if lte IE 7]>
+                <link href="/data/web_interface/user_01/css/popup-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+                <!-- IE >= 8 -->
+                <xsl:comment><![CDATA[[if gte IE 8]>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+            </xsl:when>
+            <!-- FIREFOX ETC... -->
+            <xsl:otherwise>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+            </xsl:otherwise>
+        </xsl:choose>
+        <script src="/data/web_interface/user_01/js/hashtable.js" 
type="text/javascript"/>
+        <script src="/data/web_interface/user_01/js/common.js" 
type="text/javascript"/>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/prototype.js"></script>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/lightbox.js"></script>
+        <script language="javascript">
+        <![CDATA[
+            function initialization()
+            {
+            }
+        ]]>
+        </script>
+    </head>
+
+    <body bgcolor="#EFEFEF" onLoad="initialization();">
+        <!-- SKIN STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">skin</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/skin"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- LANGUAGE STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">language</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/language"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- SOME TRANSLATIONS FOR JS -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStart</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/start"/>
+            </xsl:attribute>
+        </xsl:element>
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStop</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/stop"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- MAIN DIV FRAME -->
+        <div style="position:absolute;
+                    left:0px;
+                    top:0px;">
+            <!-- NOTIFICATION VIEW -->
+            <div class="frame01TopSpace">
+            </div>
+            <div class="frame01Middle" style="height:495px;">
+            </div>
+            <div class="frame01Bottom"></div>
+        </div>
+    </body>
+</html>
+</xsl:template>
+</xsl:stylesheet>

Modified: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
    2009-07-03 18:46:14 UTC (rev 5049)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
    2009-07-05 10:54:28 UTC (rev 5050)
@@ -37,17 +37,17 @@
                 else if (menu == "attitunes")
                 {
                     menuCenter2.className = "menuCenterActivate";
-                    frameUrl = "/wi_user_01/attitunes?";
+                    frameUrl = "/wi_user_01/attitunes?uuid=NULL";
                 }
                 else if (menu == "tools")
                 {
                     menuCenter3.className = "menuCenterActivate";
-                    frameUrl = "/wi_user_01/tools?";
+                    frameUrl = "/wi_user_01/tools?uuid=NULL";
                 }
                 else if (menu == "online")
                 {
                     menuRight.className = "menuRightActivate";
-                    frameUrl = "/wi_user_01/online?";
+                    frameUrl = "/wi_user_01/online?uuid=NULL";
                 }
                 else
                 {

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/online.xsl
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/online.xsl
                           (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/online.xsl
   2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+    xmlns:fo="http://www.w3.org/1999/XSL/Format";>
+
+<xsl:include href="plugin_gadget_common.xsl"/>
+
+<xsl:template match="/">
+<html>
+    <head>
+        <link href="/data/web_interface/user_01/css/online.css" 
rel="stylesheet" type="text/css"/>
+        <!-- CSS HACKS FOR BROWSERS -->
+        <xsl:choose>
+            <!-- IE -->
+            <xsl:when test="system-property('xsl:vendor') = 'Microsoft'">
+                <!-- IE <= 7 -->
+                <xsl:comment><![CDATA[[if lte IE 7]>
+                <link href="/data/web_interface/user_01/css/popup-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+                <!-- IE >= 8 -->
+                <xsl:comment><![CDATA[[if gte IE 8]>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+            </xsl:when>
+            <!-- FIREFOX ETC... -->
+            <xsl:otherwise>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+            </xsl:otherwise>
+        </xsl:choose>
+        <script src="/data/web_interface/user_01/js/hashtable.js" 
type="text/javascript"/>
+        <script src="/data/web_interface/user_01/js/common.js" 
type="text/javascript"/>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/prototype.js"></script>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/lightbox.js"></script>
+        <script language="javascript">
+        <![CDATA[
+            function initialization()
+            {
+            }
+        ]]>
+        </script>
+    </head>
+
+    <body bgcolor="#EFEFEF" onLoad="initialization();">
+        <!-- SKIN STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">skin</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/skin"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- LANGUAGE STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">language</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/language"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- SOME TRANSLATIONS FOR JS -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStart</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/start"/>
+            </xsl:attribute>
+        </xsl:element>
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStop</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/stop"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- MAIN DIV FRAME -->
+        <div style="position:absolute;
+                    left:0px;
+                    top:0px;">
+            <!-- NOTIFICATION VIEW -->
+            <div class="frame01TopSpace">
+            </div>
+            <div class="frame01Middle" style="height:495px;">
+            </div>
+            <div class="frame01Bottom"></div>
+        </div>
+    </body>
+</html>
+</xsl:template>
+</xsl:stylesheet>

Added: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/tools.xsl
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/tools.xsl
                            (rev 0)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/tools.xsl
    2009-07-05 10:54:28 UTC (rev 5050)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+    xmlns:fo="http://www.w3.org/1999/XSL/Format";>
+
+<xsl:include href="plugin_gadget_common.xsl"/>
+
+<xsl:template match="/">
+<html>
+    <head>
+        <link href="/data/web_interface/user_01/css/tools.css" 
rel="stylesheet" type="text/css"/>
+        <!-- CSS HACKS FOR BROWSERS -->
+        <xsl:choose>
+            <!-- IE -->
+            <xsl:when test="system-property('xsl:vendor') = 'Microsoft'">
+                <!-- IE <= 7 -->
+                <xsl:comment><![CDATA[[if lte IE 7]>
+                <link href="/data/web_interface/user_01/css/popup-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window-ie6.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+                <!-- IE >= 8 -->
+                <xsl:comment><![CDATA[[if gte IE 8]>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+                <![endif]]]></xsl:comment>
+            </xsl:when>
+            <!-- FIREFOX ETC... -->
+            <xsl:otherwise>
+                <link href="/data/web_interface/user_01/css/popup.css" 
rel="stylesheet" type="text/css"/>
+                <link href="/data/web_interface/user_01/css/window.css" 
rel="stylesheet" type="text/css"/>
+            </xsl:otherwise>
+        </xsl:choose>
+        <script src="/data/web_interface/user_01/js/hashtable.js" 
type="text/javascript"/>
+        <script src="/data/web_interface/user_01/js/common.js" 
type="text/javascript"/>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/prototype.js"></script>
+        <script type="text/javascript" 
src="/data/web_interface/user_01/js/lightbox.js"></script>
+        <script language="javascript">
+        <![CDATA[
+            function initialization()
+            {
+            }
+        ]]>
+        </script>
+    </head>
+
+    <body bgcolor="#EFEFEF" onLoad="initialization();">
+        <!-- SKIN STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">skin</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/skin"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- LANGUAGE STORAGE -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">language</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/language"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- SOME TRANSLATIONS FOR JS -->
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStart</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/start"/>
+            </xsl:attribute>
+        </xsl:element>
+        <xsl:element name="input">
+            <xsl:attribute name="type">hidden</xsl:attribute>
+            <xsl:attribute name="id">translationStop</xsl:attribute>
+            <xsl:attribute name="value">
+                <xsl:value-of select="root/translations/stop"/>
+            </xsl:attribute>
+        </xsl:element>
+        <!-- MAIN DIV FRAME -->
+        <div style="position:absolute;
+                    left:0px;
+                    top:0px;">
+            <!-- NOTIFICATION VIEW -->
+            <div class="frame01TopSpace">
+            </div>
+            <div class="frame01Middle" style="height:495px;">
+            </div>
+            <div class="frame01Bottom"></div>
+        </div>
+    </body>
+</html>
+</xsl:template>
+</xsl:stylesheet>

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-07-03 18:46:14 UTC (rev 5049)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-07-05 10:54:28 UTC (rev 5050)
@@ -72,6 +72,20 @@
         result['soundState'] = soundState
         return result
 
+    def startTuxController(self):
+        resourcePluginsServer.startPlugin(
+            "548f7a77-567d-773e-a0ef-321fe63a1c88",
+            "run",
+            {})
+
+    def startAttitunesStudio(self, path):
+        resourcePluginsServer.startPlugin(
+            "548f7a9a-567d-773e-a0dd-102fe68a1b49",
+            "run",
+            {
+                'path' : path,
+            })
+
 # Create an instance of the resource
 resourceWIUser01 = TDSResourceWIUser01("resourceWIUser01")
 # Register the resource into the resources manager
@@ -181,6 +195,102 @@
 resourceWIUser01.addService(TDSServiceWIUser01Gadgets)
 
 # 
------------------------------------------------------------------------------
+# Declaration of the service "attitunes".
+# 
------------------------------------------------------------------------------
+class TDSServiceWIUser01Attitunes(TDSService):
+
+    def configure(self):
+        self.parametersDict = {
+            'language' : 'string',
+            'skin' : 'string',
+        }
+        self.minimalUserLevel = TDS_CLIENT_LEVEL_ANONYMOUS
+        self.exclusiveExecution = False
+        self.name = "attitunes"
+        self.comment = "Show the attitunes page."
+
+    def execute(self, id, parameters):
+        headersStruct = self.getDefaultHeadersStruct()
+        contentStruct = self.getDefaultContentStruct()
+        contentStruct['root']['result'] = getStrError(E_TDREST_SUCCESS)
+        language = parameters['language']
+        skin = parameters['skin']
+        contentStruct['root']['data'] = {}
+        contentStruct['root']['translations'] = 
resourceWIUser01.translations.getTranslations(language)
+        contentStruct['root']['skin'] = skin
+        contentStruct['root']['language'] = language
+        self.haveXsl = True
+        self.xslPath = "/data/web_interface/%s/xsl/attitunes.xsl" % skin
+        return headersStruct, contentStruct
+
+# Register the service into the resource
+resourceWIUser01.addService(TDSServiceWIUser01Attitunes)
+
+# 
------------------------------------------------------------------------------
+# Declaration of the service "tools".
+# 
------------------------------------------------------------------------------
+class TDSServiceWIUser01Tools(TDSService):
+
+    def configure(self):
+        self.parametersDict = {
+            'language' : 'string',
+            'skin' : 'string',
+        }
+        self.minimalUserLevel = TDS_CLIENT_LEVEL_ANONYMOUS
+        self.exclusiveExecution = False
+        self.name = "tools"
+        self.comment = "Show the tools page."
+
+    def execute(self, id, parameters):
+        headersStruct = self.getDefaultHeadersStruct()
+        contentStruct = self.getDefaultContentStruct()
+        contentStruct['root']['result'] = getStrError(E_TDREST_SUCCESS)
+        language = parameters['language']
+        skin = parameters['skin']
+        contentStruct['root']['data'] = {}
+        contentStruct['root']['translations'] = 
resourceWIUser01.translations.getTranslations(language)
+        contentStruct['root']['skin'] = skin
+        contentStruct['root']['language'] = language
+        self.haveXsl = True
+        self.xslPath = "/data/web_interface/%s/xsl/tools.xsl" % skin
+        return headersStruct, contentStruct
+
+# Register the service into the resource
+resourceWIUser01.addService(TDSServiceWIUser01Tools)
+
+# 
------------------------------------------------------------------------------
+# Declaration of the service "online".
+# 
------------------------------------------------------------------------------
+class TDSServiceWIUser01Online(TDSService):
+
+    def configure(self):
+        self.parametersDict = {
+            'language' : 'string',
+            'skin' : 'string',
+        }
+        self.minimalUserLevel = TDS_CLIENT_LEVEL_ANONYMOUS
+        self.exclusiveExecution = False
+        self.name = "online"
+        self.comment = "Show the online page."
+
+    def execute(self, id, parameters):
+        headersStruct = self.getDefaultHeadersStruct()
+        contentStruct = self.getDefaultContentStruct()
+        contentStruct['root']['result'] = getStrError(E_TDREST_SUCCESS)
+        language = parameters['language']
+        skin = parameters['skin']
+        contentStruct['root']['data'] = {}
+        contentStruct['root']['translations'] = 
resourceWIUser01.translations.getTranslations(language)
+        contentStruct['root']['skin'] = skin
+        contentStruct['root']['language'] = language
+        self.haveXsl = True
+        self.xslPath = "/data/web_interface/%s/xsl/online.xsl" % skin
+        return headersStruct, contentStruct
+
+# Register the service into the resource
+resourceWIUser01.addService(TDSServiceWIUser01Online)
+
+# 
------------------------------------------------------------------------------
 # Declaration of the service "get_states".
 # 
------------------------------------------------------------------------------
 class TDSServiceWIUser01GetStates(TDSService):


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to