nagasurendra commited on
Commit
44d4011
·
verified ·
1 Parent(s): 061b31d

Update templates/order.html

Browse files
Files changed (1) hide show
  1. templates/order.html +45 -17
templates/order.html CHANGED
@@ -13,6 +13,9 @@
13
  color: #333333; /* Dark gray text */
14
  margin: 0;
15
  padding: 0;
 
 
 
16
  }
17
 
18
  .order-container {
@@ -23,6 +26,7 @@
23
  border-radius: 15px;
24
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for modern look */
25
  border: 1px solid #ffe5b4; /* Light orange border */
 
26
  }
27
 
28
  .order-title {
@@ -73,27 +77,43 @@
73
  color: #2b9348; /* Green for the total price */
74
  }
75
 
76
- /* Responsive Design */
77
- @media (max-width: 768px) {
78
- .order-container {
79
- padding: 15px;
80
- }
 
 
 
 
 
 
 
 
 
 
81
 
82
- .order-title {
83
- font-size: 1.6rem;
84
- }
 
85
 
86
- .section-title {
87
- font-size: 1.3rem;
88
- }
 
 
 
 
89
 
90
- .order-details {
91
- font-size: 0.9rem;
92
- }
 
93
 
94
- .total-price {
95
- font-size: 1.5rem;
96
- }
97
  }
98
  </style>
99
  </head>
@@ -125,7 +145,15 @@
125
  <span class="total-price">${{ order.Total_Amount__c }}</span>
126
  </div>
127
  {% endif %}
 
 
 
128
  </div>
129
  </div>
 
 
 
 
 
130
  </body>
131
  </html>
 
13
  color: #333333; /* Dark gray text */
14
  margin: 0;
15
  padding: 0;
16
+ display: flex;
17
+ flex-direction: column;
18
+ min-height: 100vh;
19
  }
20
 
21
  .order-container {
 
26
  border-radius: 15px;
27
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for modern look */
28
  border: 1px solid #ffe5b4; /* Light orange border */
29
+ flex-grow: 1;
30
  }
31
 
32
  .order-title {
 
77
  color: #2b9348; /* Green for the total price */
78
  }
79
 
80
+ .back-to-menu {
81
+ display: block;
82
+ margin: 30px auto 10px auto;
83
+ padding: 10px 20px;
84
+ background-color: #ff5722; /* Bright orange button */
85
+ color: #ffffff; /* White text */
86
+ border: none;
87
+ border-radius: 25px;
88
+ font-size: 1rem;
89
+ font-weight: bold;
90
+ text-align: center;
91
+ text-decoration: none;
92
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
93
+ transition: background-color 0.3s ease;
94
+ }
95
 
96
+ .back-to-menu:hover {
97
+ background-color: #e64a19; /* Darker orange on hover */
98
+ text-decoration: none;
99
+ }
100
 
101
+ footer {
102
+ background-color: #333333; /* Dark gray background */
103
+ color: #ffffff; /* White text */
104
+ text-align: center;
105
+ padding: 15px 10px;
106
+ margin-top: auto;
107
+ }
108
 
109
+ footer p {
110
+ margin: 0;
111
+ font-size: 1rem;
112
+ }
113
 
114
+ footer p span {
115
+ color: #ffcc00; /* Golden highlight for the message */
116
+ font-weight: bold;
117
  }
118
  </style>
119
  </head>
 
145
  <span class="total-price">${{ order.Total_Amount__c }}</span>
146
  </div>
147
  {% endif %}
148
+
149
+ <!-- Back to Menu Button -->
150
+ <a href="/menu" class="back-to-menu">Back to Menu</a>
151
  </div>
152
  </div>
153
+
154
+ <!-- Footer -->
155
+ <footer>
156
+ <p>Thank you for dining with us! <span>We look forward to serving you again.</span></p>
157
+ </footer>
158
  </body>
159
  </html>