Added basic options panel.

Co-authored-by: Official Noob <31563761+OfficialNoob@users.noreply.github.com>
This commit is contained in:
Ajay Ramachandran
2019-12-29 23:18:18 -05:00
parent d10c8041bf
commit b27f56bc00
9 changed files with 327 additions and 12 deletions

34
options/options.html Normal file
View File

@@ -0,0 +1,34 @@
<head>
<title>Options - SponsorBlock</title>
<link href="options.css" rel="stylesheet"/>
<script src="../utils.js"></script>
<script src="options.js"></script>
</head>
<body class="sponsorBlockPageBody">
<div id="title">
<img src="../icons/LogoSponsorBlocker256px.png" height="80" class="profilepiccircle"/>
SponsorBlock
</div>
<center>
<p class="createdBy">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<h1>__MSG_Options__</h1>
<div id="options">
<label class="switch-container" label-name="__MSG_hideButtons__" toggle-sync-option="hideVideoPlayerControls">
<label class="switch">
<input id="buttons" type="checkbox">
<span class="slider round"></span>
</label>
</label>
</div>
</center>
</body>