mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Forgot to add some files
This commit is contained in:
20
js/toggler.js
Normal file
20
js/toggler.js
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
/*var e = document.getElementById("filt-css"),
|
||||||
|
d = document.getElementById("filt-javascript"),
|
||||||
|
t = document.getElementById("switcher");
|
||||||
|
|
||||||
|
e.addEventListener("click", function(){
|
||||||
|
t.checked = false;
|
||||||
|
e.classList.add("toggler--is-active");
|
||||||
|
d.classList.remove("toggler--is-active");
|
||||||
|
});
|
||||||
|
|
||||||
|
d.addEventListener("click", function(){
|
||||||
|
t.checked = true;
|
||||||
|
d.classList.add("toggler--is-active");
|
||||||
|
e.classList.remove("toggler--is-active");
|
||||||
|
});
|
||||||
|
|
||||||
|
t.addEventListener("click", function(){
|
||||||
|
d.classList.toggle("toggler--is-active");
|
||||||
|
e.classList.toggle("toggler--is-active");
|
||||||
|
})*/
|
||||||
13
php/panel.php
Executable file
13
php/panel.php
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
<b>Admin Panel</b>
|
||||||
|
<br>
|
||||||
|
<form id="adminForm" name="ufo" action="" class="daform nomargin" id="base">
|
||||||
|
|
||||||
|
<label>Anyone can vote <input type="checkbox" name="vote" value="1"></input></label>
|
||||||
|
<label>Anyone can add songs <input type="checkbox" name="addSongs" value="1"></input></label>
|
||||||
|
<label>Allow long songs <input type="checkbox" name="longSongs" value="1"></input></label>
|
||||||
|
<label>Show playlist on frontpage <input type="checkbox" name="frontPage" value="1"></input></label>
|
||||||
|
<label>Allow only music <input type="checkbox" name="onlyMusic" value="1"></input></label>
|
||||||
|
<label>Remove song after playing <input type="checkbox" name="onlyMusic" value="1"></input></label>
|
||||||
|
|
||||||
|
<input type="button" class="button" value="Save Settings" onclick="submitAdmin(this.form)">
|
||||||
|
</form>
|
||||||
Reference in New Issue
Block a user