Started the basic structure of the table page
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/6931af34 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/6931af34 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/6931af34 Branch: refs/heads/blur-console-v2 Commit: 6931af34899734d4260195a16927b3e682b42d54 Parents: 2a5e411 Author: Chris Rohr <[email protected]> Authored: Tue Nov 12 22:28:40 2013 -0500 Committer: Chris Rohr <[email protected]> Committed: Tue Nov 12 22:28:40 2013 -0500 ---------------------------------------------------------------------- .../console/webapp/partials/tables.tpl.html | 64 ++++++++++++++------ 1 file changed, 44 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/6931af34/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/tables.tpl.html ---------------------------------------------------------------------- diff --git a/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/tables.tpl.html b/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/tables.tpl.html index ed42964..ffc2d30 100644 --- a/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/tables.tpl.html +++ b/contrib/blur-console/src/main/resources/org/apache/blur/console/webapp/partials/tables.tpl.html @@ -25,26 +25,50 @@ Licensed to the Apache Software Foundation (ASF) under one <div ng-if="summaryData.clusters.length > 0"> <tabset> <tab ng-repeat="cluster in summaryData.clusters" heading="{{cluster}}"> - <table class="table table-hover table-striped table-bordered table-condensed"> - <thead> - <tr> - <th>Name</th> - <th>Row Count</th> - <th>Record Count</th> - <th>Info</th> - <th>Actions</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="table in summaryData.tables[cluster]"> - <td>{{table.name}}</td> - <td>{{table.rowCount}}</td> - <td>{{table.recordCount</td> - <td></td> - <td></td> - </tr> - </tbody> - </table> + <div class="row"> + <div class="col-md-12"> + <h4>Enabled Tables</h4> + <table class="table table-hover table-striped table-bordered table-condensed"> + <thead> + <tr> + <th>Name</th> + <th>Row Count</th> + <th>Record Count</th> + <th>Info</th> + <th>Actions</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="table in summaryData.tables[cluster]"> + <td>{{table.name}}</td> + <td>{{table.rowCount}}</td> + <td>{{table.recordCount}}</td> + <td></td> + <td></td> + </tr> + </tbody> + </table> + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <h4>Disabled Tables</h4> + <table class="table table-hover table-striped table-bordered table-condensed"> + <thead> + <tr> + <th>Name</th> + <th>Actions</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="table in summaryData.tables[cluster]"> + <td>{{table.name}}</td> + <td></td> + </tr> + </tbody> + </table> + </div> + </div> </tab> </tabset> </div>
