Show error messages when creating smart playlists. Closes #180

This commit is contained in:
Anders Betnér
2006-06-29 08:06:28 +00:00
parent 8ba331adae
commit a205cda835
4 changed files with 33 additions and 16 deletions

View File

@@ -4,25 +4,27 @@
<table cellspacing="0" >
<thead><tr><th>ID</th><th>Playlist Name</th><th>Type</th><th>Action</th></tr></thead>
<tbody id="playlists">
<tr><td></td></tr>
</tbody>
</table>
<a href="javascript:pl_new();">Add new playlist</a>
<div id="pl_data">
</div>
<div id="pl_editor" style="display: none;">
<div class="naviheader">
New playlist
</div>
<div class="navibox">
<form name="pl_form" action="">
<form id="pl_form" action="">
<div>
<input type="hidden" name="playlist_id"/>
<input type="hidden" name="playlist_id" id="playlist_id" />
<label for="playlist_name">Name</label>
<input id="playlist_name" class="playlistfield" type="text" name="playlist_name" />
<br />
<label for="playlist_spec">Playlist criteria</label>
<textarea id="playlist_spec" class="playlistfield" rows="5" name="playlist_spec"></textarea>
<textarea id="playlist_spec" class="playlistfield" rows="5" cols="50" name="playlist_spec"></textarea>
<br />
<div id="playlist_buttons">
<input type="button" onclick="javascript:pl_update();" name="submit_button" value="Submit"/>
@@ -33,13 +35,10 @@ New playlist
</div>
</form>
</div>
<div id="pl_warning" class="message" style="display:none">
</div>
<br />
<div id="pl_warning" class="message" style="display:none;">
Error messages go here...
</div>
</div>
@include ftr.html@