Files
MaterialDeck/templates/playlistConfig.html
CDeenen 0112e029d9 v0.8.2
2020-11-10 01:52:58 +01:00

36 lines
1.6 KiB
HTML

<form autocomplete="off" onsubmit="event.preventDefault()">
<div >
<h2>{{localize "MaterialDeck.Playlist.Playmethod.Header"}}</h2>
</div>
<div class="form-group">
<label>{{localize "MaterialDeck.Playlist.Playmethod.Label"}}</label>
<select name="playMethod" class="playMethod" default="">
{{#select playMethod}}
<option value="0">{{localize "MaterialDeck.Playlist.Playmethod.Unrestricted"}}</option>
<option value="1">{{localize "MaterialDeck.Playlist.Playmethod.OneTrackPlaylist"}}</option>
<option value="2">{{localize "MaterialDeck.Playlist.Playmethod.OneTrackTotal"}}</option>
{{/select}}
</select>
</div>
<div>
<h2>{{localize "MaterialDeck.Playlist.Playlists"}}</h2>
</div>
{{#each playlistData}}
<div class="form-group">
<label>{{localize "MaterialDeck.Playlist.Playlist"}} {{this.iteration}}</label>
<select name="selectedPlaylist" class="playlist-select" default="">
{{#select this.playlist}}
<option value="">{{localize "MaterialDeck.Playlist.None"}}</option>
{{#each this.playlists}}
<option value="{{this._id}}">{{this.name}}</option>
{{/each}}
{{/select}}
</select>
</div>
{{/each}}
<button type="submit" name="submit">
<i class="far fa-save"></i> {{localize "MaterialDeck.Playlist.Save"}}
</button>
</form>