From 6c804d8e091a158a3eab1bf62965940723e1b526 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 15 May 2021 17:08:56 +0200 Subject: [PATCH] added an info about commissions being closed --- commissions/closed.js | 15 +++++++++++++++ commissions/closed.txt | 1 + commissions/index.html | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 commissions/closed.js create mode 100644 commissions/closed.txt diff --git a/commissions/closed.js b/commissions/closed.js new file mode 100644 index 0000000..c5ea6d5 --- /dev/null +++ b/commissions/closed.js @@ -0,0 +1,15 @@ +$.ajax({ + dataType: "text", + url: "closed.txt", + cache: false, + success: function (value) { + if (value !== "true") + return; + $('#closed').html( /*html*/ ` + + `); + } +}); \ No newline at end of file diff --git a/commissions/closed.txt b/commissions/closed.txt new file mode 100644 index 0000000..f32a580 --- /dev/null +++ b/commissions/closed.txt @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/commissions/index.html b/commissions/index.html index ae2f6d5..63d7a4a 100644 --- a/commissions/index.html +++ b/commissions/index.html @@ -52,6 +52,9 @@ +
+ +

Past Commissions