Skip to content

Commit fddc2be

Browse files
committed
Refactored Code
1 parent 8cccaeb commit fddc2be

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/main/resources/templates/customers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1> Customers List</h1>
4646
</div>
4747

4848
<br> <br>
49-
<div>
49+
<div style="text-align: center">
5050
<p>
5151
<a href="/create-customer" style="margin: 10px">Create New</a>
5252
<a href="/home" style="margin: 10px">Home</a>

src/main/resources/templates/greetings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1> Greetings List</h1>
3838

3939

4040
<br> <br>
41-
<div>
41+
<div style="text-align: center">
4242
<p>
4343
<a href="/create-greeting" style="margin: 10px">Create New</a>
4444
<a href="/home" style="margin: 10px">Home</a>

src/main/resources/templates/new-customer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<h1>Created Customer</h1>
2020
<br> <br>
2121
<div>
22-
<p th:text="'customerId: ' + ${customer.customerId}"></p>
22+
<p th:text="'Customer Id: ' + ${customer.customerId}"></p>
2323
<p th:text="'First Name: ' + ${customer.firstName}"></p>
2424
<p th:text="'Last Name: ' + ${customer.lastName}"></p>
2525
<p th:text="'Email: ' + ${customer.email}"></p>
@@ -28,7 +28,7 @@ <h1>Created Customer</h1>
2828
</div>
2929

3030
<br> <br>
31-
<div>
31+
<div style="text-align: center">
3232
<p>
3333
<a href="/create-customer" style="margin: 10px">Create New</a>
3434
<a href="/customers" style="margin: 10px">All Customers</a>

src/main/resources/templates/new-greeting.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>Created Greeting</h1>
2424
</div>
2525

2626
<br> <br>
27-
<div>
27+
<div style="text-align: center">
2828
<p>
2929
<a href="/create-greeting" style="margin: 10px">Create New</a>
3030
<a href="/greetings" style="margin: 10px">All Greetings</a>

src/main/resources/templates/new-order.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<h1>Created Order</h1>
2020
<br> <br>
2121
<div>
22-
<p th:text="'orderId: ' + ${order.orderId}"></p>
23-
<p th:text="'customerId: ' + ${order.customerId}"></p>
22+
<p th:text="'Order Id: ' + ${order.orderId}"></p>
23+
<p th:text="'Customer Id: ' + ${order.customerId}"></p>
2424
<p th:text="'Order ItemName: ' + ${order.orderItemName}"></p>
2525
<p th:text="'Order Place: ' + ${order.orderPlace}"></p>
2626
<p th:text="'Order Purchase Time: ' + ${order.orderPurchaseTime}"></p>
2727
</div>
2828

2929

3030
<br> <br>
31-
<div>
31+
<div style="text-align: center">
3232
<p>
3333
<a href="/create-order" style="margin: 10px">Create New</a>
3434
<a href="/orders" style="margin: 10px">All Orders</a>

src/main/resources/templates/orders.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h1> Order List</h1>
4444

4545

4646
<br> <br>
47-
<div>
47+
<div style="text-align: center">
4848
<p>
4949
<a href="/create-order" style="margin: 10px">Create New</a>
5050
<a href="/home" style="margin: 10px">Home</a>

0 commit comments

Comments
 (0)