
Untitled
By: a guest on
May 27th, 2012 | syntax:
None | size: 1.13 KB | hits: 18 | expires: Never
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://spiceapps.com/bridge/v1">
<head>
<title></title>
<script src="bridge.js" type="text/javascript"></script>
</head>
<body>
<b:input type="submit" value="reload" onclick="$columns.reload()"></b:input>
<b:div>
<b:data id="host">http://192.168.1.138:8124/clove/column/</b:data>
<b:remoteCollection id="columns" url="{$host}info/4ca778eb53eda4a5c35f0100.json" path="data.children"></b:remoteCollection>
<b:repeat id="r_column" source="{$columns}">
<b:div>
<b:remoteCollection id="columnData" url="{$host}load/4ca778eb53eda4a5c35f0100.json?groupUID={$r_column.currentItem.metadata.columnUID}" path="data.result" reloadInterval="data.ttl"></b:remoteCollection>
<b:h1>{$r_column.currentItem.metadata.title}</b:h1>
<b:div>
<b:repeat id="r_columnData" source="{$columnData}">
<b:div>
<b:strong>{$r_columnData.currentItem.title}</b:strong> - {$r_columnData.currentItem.description}<br /><br />
</b:div>
</b:repeat>
</b:div>
</b:div>
</b:repeat>
</b:div>
</body>
</html>