Added link sharing warning for when order is closed

This commit is contained in:
2025-11-30 13:42:17 +01:00
parent 03c5d69c98
commit 7bd74136e7
2 changed files with 15 additions and 1 deletions

View File

@@ -132,7 +132,7 @@
<div class="col-md-4">
<div class="card shadow mb-4 bg-light">
<div class="card-body">
<div class="card-body @(Model.IsClosed ? "disabled" : "")">
<h5>@Localizer.Get("ShareOrder")</h5>
<p>@Localizer.Get("SendLinkToOthers")</p>
<div class="input-group">

View File

@@ -28,4 +28,18 @@ body {
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
text-align: start;
}
.card-body.disabled::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: repeating-linear-gradient(-45deg, transparent, transparent 15px, #ffc107 10px, #ffc107 30px);
z-index: 1000;
pointer-events: none;
opacity: 0.5;
}