|
From: <tob...@us...> - 2014-03-12 20:33:22
|
Revision: 7944
http://sourceforge.net/p/bigdata/code/7944
Author: tobycraig
Date: 2014-03-12 20:33:19 +0000 (Wed, 12 Mar 2014)
Log Message:
-----------
#845 - Put namespace properties in a table
Modified Paths:
--------------
branches/RDR/bigdata-war/src/html/js/workbench.js
branches/RDR/bigdata-war/src/html/new.html
Modified: branches/RDR/bigdata-war/src/html/js/workbench.js
===================================================================
--- branches/RDR/bigdata-war/src/html/js/workbench.js 2014-03-12 17:48:28 UTC (rev 7943)
+++ branches/RDR/bigdata-war/src/html/js/workbench.js 2014-03-12 20:33:19 UTC (rev 7944)
@@ -108,12 +108,12 @@
function getNamespaceProperties(namespace) {
$('#namespace-properties h1').html(namespace);
- $('#namespace-properties ul').empty();
+ $('#namespace-properties table').empty();
$('#namespace-properties').show();
var url = '/bigdata/namespace/' + namespace + '/properties';
$.get(url, function(data) {
$.each(data.getElementsByTagName('entry'), function(i, entry) {
- $('#namespace-properties ul').append('<li>' + entry.getAttribute('key') + ': ' + entry.textContent + '</li>');
+ $('#namespace-properties table').append('<tr><td>' + entry.getAttribute('key') + '</td><td>' + entry.textContent + '</td></tr>');
});
});
}
Modified: branches/RDR/bigdata-war/src/html/new.html
===================================================================
--- branches/RDR/bigdata-war/src/html/new.html 2014-03-12 17:48:28 UTC (rev 7943)
+++ branches/RDR/bigdata-war/src/html/new.html 2014-03-12 20:33:19 UTC (rev 7944)
@@ -170,7 +170,7 @@
<div id="namespace-properties" class="box">
<h1></h1>
- <ul></ul>
+ <table></table>
</div>
<div class="box">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|