diff options
| author | ilotterytea <iltsu@alright.party> | 2025-06-15 16:53:35 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-06-15 16:53:35 +0400 |
| commit | c31320dd1e10a57b381354085124431d5eb7f8c3 (patch) | |
| tree | 598364a1d70bca571a66e77a2ae93fc983340ea7 /public/static | |
| parent | 03cc8b980f7c3f63765fe9c4cd30f23ffe4b1604 (diff) | |
upd: noscript updates
Diffstat (limited to 'public/static')
| -rw-r--r-- | public/static/img/icons/chad.png | bin | 0 -> 1167 bytes | |||
| -rw-r--r-- | public/static/scripts/audiorecorder.js | 9 | ||||
| -rw-r--r-- | public/static/style.css | 11 |
3 files changed, 14 insertions, 6 deletions
diff --git a/public/static/img/icons/chad.png b/public/static/img/icons/chad.png Binary files differnew file mode 100644 index 0000000..979bf1c --- /dev/null +++ b/public/static/img/icons/chad.png diff --git a/public/static/scripts/audiorecorder.js b/public/static/scripts/audiorecorder.js index b12a2af..145b18f 100644 --- a/public/static/scripts/audiorecorder.js +++ b/public/static/scripts/audiorecorder.js @@ -1,8 +1,5 @@ -// getting form upload tabs -const tabs = document.getElementById('form-upload-tabs'); - // creating an audio button -tabs.innerHTML += ` +formTabs.innerHTML += ` <div class="form-upload-tab tab disabled" id="form-tab-audio"> <button onclick="showUploadType('audio')" class="transparent"> <p>Record</p> @@ -160,7 +157,7 @@ function stopRecording() { formFile.files = dt.files; } - tabs.setAttribute('disabled', 'true'); + formTabs.setAttribute('disabled', 'true'); }; } @@ -171,7 +168,7 @@ function removeRecording() { formFile.value = ''; setFormDetailsVisiblity(false); - tabs.removeAttribute('disabled'); + formTabs.removeAttribute('disabled'); } function playRecord() { diff --git a/public/static/style.css b/public/static/style.css index 057d8f2..53c246e 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -56,6 +56,17 @@ margin: 0; } +noscript { + background: #000; + color: #fff; + padding: 8px; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + a { color: var(--anchor-color); } |
