Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Few more layout tweaks, also tidy up the createBroker page
  • Loading branch information
gashcrumb committed Oct 8, 2013
1 parent 384ed93 commit c08e215
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
26 changes: 13 additions & 13 deletions hawtio-web/src/main/webapp/app/fabric/html/createBroker.html
@@ -1,25 +1,25 @@
<div ng-controller="Fabric.CreateBrokerController">

<form name="create_broker" ng-submit="onSubmit()">
<div class="row-fluid">
<div class="span8">
<div ng-show="brokerNameExists()" class="alert">
Please choose a different broker name as <b>{{entity.brokerName}}</b> already exists
</div>
</div>
<div class="pull-right">
<button type="submit" class='btn btn-primary' ng-disabled="!forms.create_broker.$valid || brokerNameExists()">
<i class="icon-ok"></i> Create Broker
</button>
<div class="row-fluid">
<div class="span8">
<div ng-show="brokerNameExists()" class="alert">
Please choose a different broker name as <b>{{entity.brokerName}}</b> already exists
</div>
</div>
<div class="pull-right page-padded">
<button hawtio-submit="create_broker" class='btn btn-primary' ng-disabled="!forms.create_broker.$valid || brokerNameExists()">
<i class="icon-ok"></i> Create Broker
</button>
</div>
</div>


<div class="create-broker-body row-fluid">
<div class="create-broker-body row-fluid">
<div class="span10 offset1">
<div id="create-form">
<div simple-form name="create_broker" data="schema" entity="entity"></div>
</div>
</div>
</form>
</div>

</div>
16 changes: 14 additions & 2 deletions hawtio-web/src/main/webapp/css/site-base.css
Expand Up @@ -2021,6 +2021,14 @@ i.mq-master {
position: relative;
}

.mq-page .hero-unit {
position: absolute;
top: 53px;
left: 10px;
right: 10px;

}

.mq-groups {
position: absolute;
top: 42px;
Expand Down Expand Up @@ -2069,6 +2077,8 @@ i.mq-master {
min-width: 150px;
max-width: 150px;
min-height: 150px;
border: 1px solid #d4d4d4;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.mq-profiles {
Expand All @@ -2095,6 +2105,7 @@ i.mq-master {
padding-left: 4px;
padding-right: 4px;
padding-top: 4px;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.mq-profile-rectangle-label {
Expand Down Expand Up @@ -2123,11 +2134,12 @@ i.mq-master {

.mq-broker-area {
position: relative;
top: 23px;
top: 11px;
text-align: center;
}

.mq-container-rectangle {
margin-top: 2px;
border-radius: 4px;
width: 20px;
}
Expand All @@ -2140,7 +2152,7 @@ i.mq-master {
}

.mq-broker-rectangle {
height: 75px;
height: 88px;
}


Expand Down

0 comments on commit c08e215

Please sign in to comment.