Add preferences page

* For now, the prefs page has just a single option, Downloads Folder
* For now, you can't type in a folder, you must use the chooser
* Further fixes coming om master
* Written by @ChrisMorrisOrg and @grunjol, rebased by @dcposch
This commit is contained in:
grunjol
2016-04-14 22:02:24 -03:00
committed by DC
parent 455c9c02b9
commit 12f9709601
8 changed files with 395 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ function Header (state) {
}
function getAddButton () {
if (state.location.url() !== 'player') {
if (state.location.url() === 'home') {
return hx`
<i
class='icon add'