This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
199 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,70 @@ | ||
<div> | ||
<h3>Currently Playing</h3> | ||
<span ng-if="!currentlyPlaying"><em>Nothing is currently playing.</em></span> | ||
<span>{{currentlyPlaying}}</span> | ||
</div> | ||
|
||
<div> | ||
<h3>Queue</h3> | ||
<span ng-if="queue.length === 0"><em>No reqests in queue.</em></span> | ||
<ol ng-repeat="request in queue"> | ||
<li> | ||
{{request.title}} | ||
<!-- | ||
<div class="pure-g"> | ||
<div class="pure-u-1-3"> | ||
<div> | ||
<h3>Currently Playing</h3> | ||
<ul> | ||
<li> | ||
<span>Description {{request.description}}</span> | ||
<span><burron ng-click="requestSong(request.id)"></burron></span> | ||
<span ng-if="!currentlyPlaying"><em>Nothing is currently playing.</em></span> | ||
<span>{{currentlyPlaying}}</span> | ||
</li> | ||
</ul> | ||
--> | ||
</li> | ||
</ol> | ||
<div> | ||
</div> | ||
|
||
<div> | ||
<h3>Controls</h3> | ||
<div> | ||
<p><input type="checkbox" ng-model="recentCheckbox" ng-click="recentCheckboxClicked()"> Allow recent songs to be replayed (Once per hour) automatically.</p> | ||
<p><input type="checkbox" ng-model="relatedCheckbox" ng-click="relatedCheckboxClicked()"> Allow songs related to songs that have already been played to be queued automatically.</p> | ||
<p><input type="checkbox" ng-model="relatedToRecentCheckbox" ng-click="relatedToRecentCheckboxClicked()"> Allow a related song to be added to the list of recently played songs. <em>Note: this will allow the player to play a related song to a related song and so forth, eventually resulting in a large drift from the original song that was played.</em> | ||
<p><button ng-click="skipSong()">Skip Current Song</button></p> | ||
<p><button ng-click="clearRecent()">Clear Recently Played Songs List</button> | ||
<div> | ||
<h3>Queue</h3> | ||
<span ng-if="queue.length === 0"><em>No reqests in queue.</em></span> | ||
<ol ng-repeat="request in queue"> | ||
<li> | ||
{{request.title}} | ||
<!-- | ||
<ul> | ||
<li> | ||
<span>Description {{request.description}}</span> | ||
<span><burron ng-click="requestSong(request.id)"></burron></span> | ||
</li> | ||
</ul> | ||
--> | ||
</li> | ||
</ol> | ||
</div> | ||
<div> | ||
<h3>Controls</h3> | ||
<div ng-if="showControls"> | ||
<div> | ||
<p><input type="checkbox" ng-model="recentCheckbox" ng-click="recentCheckboxClicked()"> Allow recent songs to be replayed (Once per hour) automatically.</p> | ||
<p><input type="checkbox" ng-model="relatedCheckbox" ng-click="relatedCheckboxClicked()"> Allow songs related to songs that have already been played to be queued automatically.</p> | ||
<p><input type="checkbox" ng-model="relatedToRecentCheckbox" ng-click="relatedToRecentCheckboxClicked()"> Allow a related song to be added to the list of recently played songs. <em>Note: this will allow the player to play a related song to a related song and so forth, eventually resulting in a large drift from the original song that was played.</em></p> | ||
<p><button ng-click="skipSong()">Skip Current Song</button></p> | ||
<p><button ng-click="clearRecent()">Clear Recently Played Songs List</button></p> | ||
<p><button ng-click="playbackStateButtonClicked()">{{playbackStateMessage()}}</button> | ||
</div> | ||
<button ng-click="toggleControls()">Hide Controls</button> | ||
</div> | ||
<button ng-if="!showControls" ng-click="toggleControls()">Show Controls</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<h3>Add Request</h3> | ||
<div> | ||
<p>Query: <input ng-model="url"></p> | ||
<p><button ng-click="searchSong()">Submit</button> | ||
</div> | ||
<div> | ||
|
||
<div ng-if="searchResults.length > 0"> | ||
<h3>Search Results</h3> | ||
<ul ng-repeat="result in searchResults"> | ||
<li> | ||
<div class="pure-u-2-3"> | ||
<div> | ||
<h3>Add Request</h3> | ||
<div> | ||
<span>{{result.title}}</span> | ||
<span>{{result.url}}</span> | ||
<button ng-click="requestSong(result.yt)">Request</button> | ||
<p>Query: <input ng-model="url"><button ng-click="searchSong()">Submit</button></p> | ||
</div> | ||
</div> | ||
|
||
<div ng-if="searchResults.length > 0"> | ||
<h3>Search Results</h3> | ||
<div style="overflow-y: scroll; height: 500px; border-width: 2px; border-style: solid;"> | ||
<ul ng-repeat="result in searchResults" > | ||
<li> | ||
<div> | ||
<span>{{result.title}}</span> | ||
<button ng-click="requestSong(result.yt)">Request</button> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.