aboutsummaryrefslogtreecommitdiffhomepage
path: root/popup.html
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-07-09 17:51:49 -0400
committerAjay Ramachandran <[email protected]>2019-07-09 17:51:49 -0400
commit52f95a0a8422692d736ad9e6a5364abdc2642347 (patch)
tree101c166791b28646ed5f800b0aa8ba8d8023a1c3 /popup.html
parent9b370af340118956a89209e2cce832393c5c4dc4 (diff)
downloadSponsorBlock-52f95a0a8422692d736ad9e6a5364abdc2642347.tar.gz
SponsorBlock-52f95a0a8422692d736ad9e6a5364abdc2642347.zip
Made it warn you when you are on a non YouTube tab
Diffstat (limited to 'popup.html')
-rw-r--r--popup.html60
1 files changed, 32 insertions, 28 deletions
diff --git a/popup.html b/popup.html
index c04c9415..1ee5d853 100644
--- a/popup.html
+++ b/popup.html
@@ -3,37 +3,41 @@
<title>Set Page Color Popup</title>
<link rel="stylesheet" type="text/css" href="popup.css"/>
</head>
- <div id="app">
- <div class="main">
- <center>
- <h1>SponsorBlock</h1>
- <!-- If the video was found in the database -->
- <div id="videoFound">
-
- </div>
+ <center>
+ <div id="app">
+ <h1>SponsorBlock</h1>
- <br/>
+ <!-- Loading text -->
+ <p id="loadingIndicator">Loading...</p>
- <div>
- <button id="sponsorStart">Sponsorship Starts</button>
+ <!-- Hidden until loading complete -->
+ <div id="mainControls" class="main" style="display: none">
+ <!-- If the video was found in the database -->
+ <div id="videoFound">
+
+ </div>
+
+ <br/>
+
+ <div>
+ <button id="sponsorStart">Sponsorship Starts</button>
+ </div>
+
+ <h3>Latest Sponsor Message Times Chosen</h3>
+ <b>
+ <div id="sponsorMessageTimes">
+
+ </div>
+ </b>
+
+ <button id="clearTimes">Clear Times</button>
+
+ <br/>
+
+ <button id="submitTimes">Submit Times</button>
</div>
-
- <h3>Latest Sponsor Message Times Chosen</h3>
- <b>
- <div id="sponsorMessageTimes">
-
- </div>
- </b>
-
- <button id="clearTimes">Clear Times</button>
-
- <br/>
-
- <button id="submitTimes">Submit Times</button>
- </center>
- </div>
- </div>
-
+ </div>
+ </center>
<script src="popup.js"></script>
</html> \ No newline at end of file