Initial
This commit is contained in:
48
resources/app/templates/playlist/playlist-config.html
Normal file
48
resources/app/templates/playlist/playlist-config.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<form autocomplete="off">
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Name" }}</label>
|
||||
<input type="text" name="name" placeholder="{{ localize 'PLAYLIST.Name' }}" value="{{data.name}}"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Mode" }}</label>
|
||||
<select name="mode" data-dtype="Number">
|
||||
{{selectOptions modes selected=data.mode}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Channel" }}</label>
|
||||
<select name="channel">
|
||||
{{selectOptions channels selected=data.channel localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{localize "PLAYLIST.SortMode"}}</label>
|
||||
<select name="sorting">
|
||||
{{selectOptions sorting selected=data.sorting}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Fade" }}</label>
|
||||
<input name="fade" type="number" value="{{data.fade}}" step="1" min="0"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-stacked">
|
||||
<label>{{ localize "PLAYLIST.Description" }}</label>
|
||||
<textarea name="description" style="resize: none;">{{data.description}}</textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.BulkImport" }}</label>
|
||||
<div class="form-fields">
|
||||
<file-picker name="importPath" type="folder" noupload></file-picker>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit">
|
||||
<i class="far fa-save"></i> {{ localize "PLAYLIST.Update" }}
|
||||
</button>
|
||||
</form>
|
||||
44
resources/app/templates/playlist/sound-config.html
Normal file
44
resources/app/templates/playlist/sound-config.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<form autocomplete="off">
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.SoundName" }}</label>
|
||||
<input type="text" name="name" placeholder="{{ localize 'Name' }}" value="{{data.name}}" required/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.SoundSrc" }}</label>
|
||||
<div class="form-fields">
|
||||
<file-picker name="path" type="audio" value="{{data.path}}" placeholder="path/to/audio.mp3"></file-picker>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Channel" }}</label>
|
||||
<select name="channel">
|
||||
{{selectOptions channels selected=data.channel localize=true blank=""}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.SoundVolume" }}</label>
|
||||
<input class="sound-volume" type="range" name="lvolume" title="{{ localize 'PLAYLIST.SoundVolume' }}" value="{{lvolume}}" min="0" max="1" step="0.05" tabindex="-1"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.SoundRepeat" }}</label>
|
||||
<input type="checkbox" name="repeat" {{checked data.repeat}}/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "PLAYLIST.Fade" }}</label>
|
||||
<input name="fade" type="number" value="{{data.fade}}" step="1" min="0"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-stacked">
|
||||
<label>{{ localize "PLAYLIST.SoundDescription" }}</label>
|
||||
<textarea name="description" style="resize: none;">{{data.description}}</textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit">
|
||||
<i class="far fa-save"></i> {{ localize "PLAYLIST.SoundUpdate" }}
|
||||
</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user