Skip to content

Commit

Permalink
tidied the UI if there are no brokers created yet
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Oct 5, 2013
1 parent 720ab6a commit 68a7dc4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions hawtio-web/src/main/webapp/app/fabric/html/brokers.html
Expand Up @@ -124,6 +124,11 @@
</div>
</div>

<div class="hero-unit" ng-show="groups.length < 1">
<p>There are no brokers configured in this Fabric.</p>

<button class="btn btn-primary btn-large" ng-click="createBroker(null)">Create Broker Configuration</button>
</div>

<div class="mq-group-rectangle" ng-repeat="group in groups" ng-show="groupMatchesFilter(group)"
title="A group of message brokers; used by messaging clients to connect to one of a cluster of message brokers">
Expand Down Expand Up @@ -225,12 +230,5 @@
-->


<div ng-show="groups.length === 0">
<p>There are no brokers configured in this Fabric.</p>

<button class="btn btn-primary btn-large" ng-click="createBroker(null)">Create Broker Configuration</button>
</div>


<div ng-include="'app/fabric/html/connectToContainerDialog.html'"></div>
</div>

0 comments on commit 68a7dc4

Please sign in to comment.