|
From: <ma...@us...> - 2010-11-01 16:42:50
|
Revision: 59
http://openautomation.svn.sourceforge.net/openautomation/?rev=59&view=rev
Author: mayerch
Date: 2010-11-01 16:42:44 +0000 (Mon, 01 Nov 2010)
Log Message:
-----------
New Feature: tag for "line" break
Modified Paths:
--------------
CometVisu/trunk/visu/lib/templateengine.js
CometVisu/trunk/visu/lib/visudesign_pure.js
CometVisu/trunk/visu/style_orange.css
CometVisu/trunk/visu/visu_config.xml
Modified: CometVisu/trunk/visu/lib/templateengine.js
===================================================================
--- CometVisu/trunk/visu/lib/templateengine.js 2010-11-01 11:06:39 UTC (rev 58)
+++ CometVisu/trunk/visu/lib/templateengine.js 2010-11-01 16:42:44 UTC (rev 59)
@@ -221,6 +221,8 @@
return design.createPage( page, path );
case 'line':
return design.createLine();
+ case 'break':
+ return design.createBreak();
case 'text':
return design.createText( page );
case 'info':
Modified: CometVisu/trunk/visu/lib/visudesign_pure.js
===================================================================
--- CometVisu/trunk/visu/lib/visudesign_pure.js 2010-11-01 11:06:39 UTC (rev 58)
+++ CometVisu/trunk/visu/lib/visudesign_pure.js 2010-11-01 16:42:44 UTC (rev 59)
@@ -44,6 +44,11 @@
return $( '<hr />' );
}
+ this.createBreak = function()
+ {
+ return $( '<br />' );
+ }
+
this.createText = function( page )
{
var ret_val = $('<div class="widget" />');
Modified: CometVisu/trunk/visu/style_orange.css
===================================================================
--- CometVisu/trunk/visu/style_orange.css 2010-11-01 11:06:39 UTC (rev 58)
+++ CometVisu/trunk/visu/style_orange.css 2010-11-01 16:42:44 UTC (rev 59)
@@ -25,6 +25,11 @@
margin:0.1em;
}
+body br
+{
+ clear:both;
+}
+
.nav_path
{
color: #ff8000;
Modified: CometVisu/trunk/visu/visu_config.xml
===================================================================
--- CometVisu/trunk/visu/visu_config.xml 2010-11-01 11:06:39 UTC (rev 58)
+++ CometVisu/trunk/visu/visu_config.xml 2010-11-01 16:42:44 UTC (rev 59)
@@ -38,6 +38,7 @@
<trigger address="2/2/5" datatype="5.001" value="0" >Rolladen Licht 0</trigger>
<trigger address="2/2/5" datatype="5.001" value="100" >Rolladen Licht 100</trigger>
<switch address="1/0/50" datatype="1.001" response_address="1/4/50" mapping="OnOff">Schalt Schiebetüre Licht</switch>
+ <break />
<dim address="1/2/51" datatype="5.010" response_address="1/3/51" response_datatype="5.010">Dim Esstisch</dim>
<shade address="2/4/5" datatype="5.001">Rollladen links</shade>
<slide address="12/4/250" datatype="9" min="-18" max="26">Slide</slide>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|