From 5902f8c94225b6c24f91c61b37cc3c76cc97da07 Mon Sep 17 00:00:00 2001 From: ahliddin Date: Sat, 15 Feb 2014 22:55:46 +0100 Subject: [PATCH 1/2] Fixed the header layout. --- src/main/webapp/WEB-INF/html/cars/layout.html | 12 ++++++------ src/main/webapp/resources/css/app.css | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/WEB-INF/html/cars/layout.html b/src/main/webapp/WEB-INF/html/cars/layout.html index 1f73b09..b66d06d 100755 --- a/src/main/webapp/WEB-INF/html/cars/layout.html +++ b/src/main/webapp/WEB-INF/html/cars/layout.html @@ -1,14 +1,14 @@
- +
-

Car List

-
+

Car List

+
No cars found
- +
@@ -17,9 +17,9 @@

Car List

- +
Action
{{car}}
- \ No newline at end of file + \ No newline at end of file diff --git a/src/main/webapp/resources/css/app.css b/src/main/webapp/resources/css/app.css index da1f3bd..851c43e 100755 --- a/src/main/webapp/resources/css/app.css +++ b/src/main/webapp/resources/css/app.css @@ -2,7 +2,7 @@ #wrapper { margin: 0 auto; - width: 500px; + width: 650px; margin-top: 50px; } From a9d14e23c24279e880f65a0d140860e1ad03c643 Mon Sep 17 00:00:00 2001 From: ahliddin Date: Sun, 16 Feb 2014 00:03:10 +0100 Subject: [PATCH 2/2] Fixed the Railway Stations List output. Speed and Diesel columns were missing. --- .../WEB-INF/html/railwaystations/layout.html | 8 ++------ .../resources/js/controllers/CarController.js | 8 ++++---- .../controllers/RailwayStationController.js | 20 ++++++++++--------- .../js/controllers/TrainController.js | 20 ++++++++++--------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/main/webapp/WEB-INF/html/railwaystations/layout.html b/src/main/webapp/WEB-INF/html/railwaystations/layout.html index 4a30422..c8bb7e6 100644 --- a/src/main/webapp/WEB-INF/html/railwaystations/layout.html +++ b/src/main/webapp/WEB-INF/html/railwaystations/layout.html @@ -57,10 +57,8 @@

Railway Stations List

Id Name - Action @@ -68,11 +66,9 @@

Railway Stations List

{{item.id}} {{item.name}} - - - + ng-show="item.train.diesel" class="icon-ok">