Added styled Checkbox, Radio & Select list

This commit is contained in:
Brinken
2012-03-16 11:02:32 +01:00
parent 8637ff2557
commit b85f5c0227
8 changed files with 413 additions and 104 deletions

View File

@@ -19,6 +19,10 @@
<h1>Scan Music Library</h1><br />
<p>
Where do you keep your music?<br /><br />
</p>
<form action="musicScan" method="GET">
%if headphones.MUSIC_DIR:
<input type="text" value="${headphones.MUSIC_DIR}" name="path" size="60" />
<div class="tooltip">
<span>
You can put in any directory, and it will scan for audio files in that folder
@@ -26,17 +30,19 @@
For example: '/Users/name/Music'
</span>
</div>
</p>
<br /><br />
<form action="musicScan" method="GET">
%if headphones.MUSIC_DIR:
<input type="text" value="${headphones.MUSIC_DIR}" name="path" size="70" />
%else:
<input type="text" value="Enter a Music Directory to scan" onfocus="if (this.value==this.defaultValue) this.value='';" name="path" size="70" />
<input type="text" value="Enter a Music Directory to scan" onfocus="if (this.value==this.defaultValue) this.value='';" name="path" size="60" />
<div class="tooltip">
<span>
You can put in any directory, and it will scan for audio files in that folder
(including all subdirectories)<br />
For example: '/Users/name/Music'
</span>
</div>
%endif
<br />
<br />
<input type="checkbox" name="autoadd" value="1" ${checked(headphones.ADD_ARTISTS)}> Automatically add new artists
<input class="styled" type="checkbox" name="autoadd" value="1" ${checked(headphones.ADD_ARTISTS)}> Automatically add new artists
<br />
<br />
<input type="submit" />