Forgot to add some files

This commit is contained in:
Nicolas A. Tonne
2014-10-20 15:36:06 +02:00
parent b8e9f8189d
commit 13d47a000a
2 changed files with 33 additions and 0 deletions

20
js/toggler.js Normal file
View 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
View 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>