mirror of
https://github.com/danbee/mpd-client
synced 2025-03-04 08:39:09 +00:00
17 lines
812 B
HTML
17 lines
812 B
HTML
<div id="transport" ng-controller="transport">
|
|
<div class="scrubber">
|
|
<div class="time elapsed">{{ elapsedTime | formatLength }}</div>
|
|
<div class="time total">{{ totalTime | formatLength }}</div>
|
|
<div class="track">
|
|
<div class="marker" style="left: {{ markerPosition() }}%" ng-if="!stopped()"></div>
|
|
</div>
|
|
</div>
|
|
<nav class="controls">
|
|
<button ng-click="sendCommand('previous')" ng-disabled="!playingOrPaused()">previous</button>
|
|
<button ng-click="sendCommand('pause')" ng-if="playing()">pause</button>
|
|
<button ng-click="sendCommand('play')" ng-if="!playing()">play</button>
|
|
<button ng-click="sendCommand('stop')" ng-disabled="!playingOrPaused()">stop</button>
|
|
<button ng-click="sendCommand('next')" ng-disabled="!playingOrPaused()">next</button>
|
|
</nav>
|
|
</div>
|