Added link sharing warning for when order is closed
This commit is contained in:
@@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="card shadow mb-4 bg-light">
|
<div class="card shadow mb-4 bg-light">
|
||||||
<div class="card-body">
|
<div class="card-body @(Model.IsClosed ? "disabled" : "")">
|
||||||
<h5>@Localizer.Get("ShareOrder")</h5>
|
<h5>@Localizer.Get("ShareOrder")</h5>
|
||||||
<p>@Localizer.Get("SendLinkToOthers")</p>
|
<p>@Localizer.Get("SendLinkToOthers")</p>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
|||||||
@@ -28,4 +28,18 @@ body {
|
|||||||
|
|
||||||
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
|
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
|
||||||
text-align: start;
|
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;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user