feat: update order payment methods and refine profile edit functionality
All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
- Replaced `Order.PaymentMethod` options with "cash" and "card" while adjusting related code and templates - Set "cash" as the default payment method for orders and checkout forms - Added profile editing functionality with `ProfileForm`, allowing users to update names - Improved feedback messages across profile and order management templates - Updated catalog to handle empty filter results with a "reset filters" option
This commit is contained in:
@@ -50,6 +50,34 @@ aside {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.catalog-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.catalog-empty__reset {
|
||||
display: inline-block;
|
||||
min-height: 42px;
|
||||
padding: 12px 28px;
|
||||
border: 1px solid #63768d;
|
||||
background: #63768d;
|
||||
color: #ffffff;
|
||||
font-family: 'Noah', sans-serif;
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, border-color 0.2s;
|
||||
}
|
||||
|
||||
.catalog-empty__reset:hover {
|
||||
background: #554971;
|
||||
border-color: #554971;
|
||||
}
|
||||
|
||||
.catalog-filter-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -461,6 +489,7 @@ aside {
|
||||
}
|
||||
|
||||
.product-summary__color-name {
|
||||
margin-top: 10px;
|
||||
font-size: 16px;
|
||||
color: #554971;
|
||||
}
|
||||
|
||||
@@ -179,6 +179,10 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.auth-form .auth-actions {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.register-auth-actions {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user