-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
71 additions
and
15 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
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 |
---|---|---|
|
@@ -11,3 +11,7 @@ | |
#stop-button, #resume-button { | ||
width: 82px; | ||
} | ||
|
||
#prepare-button { | ||
width: 125px; | ||
} |
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 |
---|---|---|
|
@@ -9,23 +9,46 @@ | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | ||
</head> | ||
<body> | ||
<!-- TODO: Add modal with playlist URL input/selection https://getbootstrap.com/docs/5.3/components/modal/ --> | ||
<div class="modal fade" id="start-modal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> | ||
<div class="modal-dialog modal-dialog-centered"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h1 class="modal-title fs-5" id="staticBackdropLabel">Spotify Quiz</h1> | ||
</div> | ||
<div class="modal-body"> | ||
Select a playlist to draw from. | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-primary" id="prepare-button">Prepare Quiz</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<span id="timer-span">00:00</span> | ||
<button class="btn btn-primary btn-timer" id="start-timer-button" disabled>Start</button> | ||
|
||
<button class="btn btn-primary btn-timer" id="pause-timer-button" disabled>Pause</button> | ||
<button class="btn btn-primary btn-timer" id="resume-timer-button" style="display: none;">Resume</button> | ||
|
||
<button class="btn btn-primary" id="give-up-button" disabled>Give Up</button> | ||
<br><br> | ||
|
||
<button class="btn btn-primary" id="stop-button" disabled>Stop</button> | ||
<button class="btn btn-primary" id="resume-button" style="display: none;">Resume</button> | ||
|
||
<span>Playing: </span><span id="clip-info">-</span> | ||
<button class="btn btn-primary" id="prev-button" disabled>Previous</button> | ||
<button class="btn btn-primary" id="next-button" disabled>Next</button> | ||
<br><br> | ||
|
||
<input id="guess-input" disabled> | ||
<br> | ||
<span>Score: </span><span id="score-span">-</span>/<span id="max-score-span">-</span> | ||
<br><br> | ||
<div id="song-ui-container"></div> | ||
|
||
</body> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> | ||
|
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