owntone-server/admin-root/smart.html

44 lines
1.1 KiB
HTML

@include hdr.html@
<h2>Smart Playlists</h2>
<table width="400">
<thead><tr><th>ID</th><th>Playlist Name</th><th>Type</th><th>Action</th></tr></thead>
<tbody id="playlists">
</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="">
<div>
<input type="hidden" name="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>
<br />
<input type="button" onclick="javascript:pl_update();" name="submit_button" value="Submit"/>
<input type="button" onclick="javascript:pl_cancel();" value="Cancel"/>
<input type="button" onclick="javascript:popUp('smartpopup.html');" value="Wizard"/>
</div>
</form>
</div>
<div id="pl_warning" class="message" style="display:none">
Error messages go here...
</div>
</div>
@include ftr.html@