added an info about commissions being closed
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
8207ab2f1d
commit
6c804d8e09
3 changed files with 19 additions and 0 deletions
15
commissions/closed.js
Normal file
15
commissions/closed.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
$.ajax({
|
||||||
|
dataType: "text",
|
||||||
|
url: "closed.txt",
|
||||||
|
cache: false,
|
||||||
|
success: function (value) {
|
||||||
|
if (value !== "true")
|
||||||
|
return;
|
||||||
|
$('#closed').html( /*html*/ `
|
||||||
|
<div class="alert alert-warning" role="alert">
|
||||||
|
<strong>My commissions are currently closed.</strong>
|
||||||
|
<br>If you are willing to wait until they reopen, you can still contact me with a short summmary of your request.
|
||||||
|
</div>
|
||||||
|
`);
|
||||||
|
}
|
||||||
|
});
|
1
commissions/closed.txt
Normal file
1
commissions/closed.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
true
|
|
@ -52,6 +52,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="par" id="closed"></div>
|
||||||
|
<script src="closed.js"></script>
|
||||||
|
|
||||||
<div class="par">
|
<div class="par">
|
||||||
<h1>Past Commissions</h1>
|
<h1>Past Commissions</h1>
|
||||||
<div id="mods"></div>
|
<div id="mods"></div>
|
||||||
|
|
Loading…
Reference in a new issue