Skip to content

Commit 5902f8c

Browse files
author
ahliddin
committed
Fixed the header layout.
1 parent b267891 commit 5902f8c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22
<div class="input-append">
3-
<input style="width:358px;" class="span2" type="text" ng-model="carName" required min="1" />
3+
<input style="width:358px; margin-left: 100px;" class="span2" type="text" ng-model="carName" required min="1" />
44
<button class="btn btn-primary" ng-disabled="!carName" ng-click="addNewCar(carName)">Add Car</button>
55
</div>
66

7-
<h3>Car List</h3>
8-
<div class="alert alert-info" style="width:400px;" ng-show="cars.length == 0">
7+
<h3 style="margin-left:100px;">Car List</h3>
8+
<div class="alert alert-info" style="width:400px;margin-left:100px;" ng-show="cars.length == 0">
99
No cars found
1010
</div>
11-
<table class="table table-bordered table-striped" style="width:450px;" ng-show="cars.length > 0">
11+
<table class="table table-bordered table-striped" style="width:450px; margin-left: 100px;" ng-show="cars.length > 0">
1212
<thead>
1313
<tr>
1414
<th style="text-align: center; width: 25px;">Action</th>
@@ -17,9 +17,9 @@ <h3>Car List</h3>
1717
</thead>
1818
<tbody>
1919
<tr ng-repeat="car in cars">
20-
<td style="width:70px;text-align: center;"><button class="btn btn-mini btn-danger" ng-click="removeCar(car)">Remove</button></td>
20+
<td style="width:70px;text-align:center;"><button class="btn btn-mini btn-danger" ng-click="removeCar(car)">Remove</button></td>
2121
<td>{{car}}</td>
2222
</tr>
2323
</tbody>
2424
</table>
25-
<button class="btn btn-danger" ng-show="cars.length > 1" ng-click="removeAllCars()">Remove All Cars</button>
25+
<button style="margin-left:100px;" class="btn btn-danger" ng-show="cars.length > 1" ng-click="removeAllCars()">Remove All Cars</button>

src/main/webapp/resources/css/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#wrapper {
44
margin: 0 auto;
5-
width: 500px;
5+
width: 650px;
66
margin-top: 50px;
77
}
88

0 commit comments

Comments
 (0)