summaryrefslogtreecommitdiffstats
path: root/apps/media/templates/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/templates/settings.php')
-rw-r--r--apps/media/templates/settings.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/media/templates/settings.php b/apps/media/templates/settings.php
new file mode 100644
index 00000000000..45c60761507
--- /dev/null
+++ b/apps/media/templates/settings.php
@@ -0,0 +1,23 @@
+<form id="quota">
+ <fieldset>
+ <legend>Music Directories</legend>
+ <ul id='folderlist'>
+ <?php foreach($_['folders'] as $folder):?>
+ <li>
+ <?php echo $folder['name'];?>
+ <span class='right'>
+ <?php echo $folder['songs'];?> songs
+ <button class='rescan prettybutton'>Rescan</button>
+ <button class='delete prettybutton'>Delete</button>
+ </span>
+ </li>
+ <?php endforeach; ?>
+ <li>
+ <input placeholder='path' id='scanpath'/>
+ <span class='right'><button class='scan prettybutton'>Scan</button></span>
+ </li>
+ </ul>
+ <label for="autoupdate" title='Automaticaly scan new files in above directories'>Auto Update</label>
+ <input type='checkbox' <?php if($_['autoupdate']){echo 'checked="checked"';};?> id='autoupdate' title='Automaticaly scan new files in above directories'>
+ </fieldset>
+</form> \ No newline at end of file