File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 22
33# wrapper {
44 margin : 0 auto;
5- width : 500 px ;
5+ width : 650 px ;
66 margin-top : 50px ;
77}
88
You can’t perform that action at this time.
0 commit comments