80 lines
2.7 KiB
HTML
80 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>BS Overlay</title>
|
|
<link rel="stylesheet" href="index.css">
|
|
</head>
|
|
<body data-game-state="Menu">
|
|
<div id="overlayStack">
|
|
<div id="songOverlay">
|
|
<div class="row">
|
|
<img id="coverImg" src="images/unknown.svg">
|
|
<div id="mapInfo">
|
|
<div class="row">
|
|
<span id="title">Title</span>
|
|
<span id="subTitle">Subtitle</span>
|
|
</div>
|
|
<div class="row">
|
|
<span id="artist">Artist</span>
|
|
<span id="mapper">Mapper</span>
|
|
</div>
|
|
<div class="row">
|
|
<span id="difficulty">Easy</span>
|
|
<img id="characteristicImg" src="images/characteristic/Standard.svg">
|
|
<span id="difficultyLabel">Diff Label</span>
|
|
<span id="type"></span>
|
|
<span id="bsrKey">25f</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div id="time">
|
|
<div id="timeBar" style="width: 28%"></div>
|
|
<div id="timeText">1:23 / 4:56</div>
|
|
</div>
|
|
<div id="score">
|
|
<span id="accuracy">96.9</span>
|
|
<span id="mistakes">7</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="requestOverlay" aria-live="polite">
|
|
<div id="requestHeader">Song requests</div>
|
|
<ol id="requestList"></ol>
|
|
<div id="requestEmpty">No pending requests</div>
|
|
</div>
|
|
</div>
|
|
<svg width="0" height="0" style="position: absolute">
|
|
<filter id="gamma" color-interpolation-filters="sRGB">
|
|
<feComponentTransfer>
|
|
<feFuncR type="gamma" exponent="0.47"></feFuncR>
|
|
<feFuncG type="gamma" exponent="0.47"></feFuncG>
|
|
<feFuncB type="gamma" exponent="0.47"></feFuncB>
|
|
</feComponentTransfer>
|
|
</filter>
|
|
</svg>
|
|
<dialog id="settings">
|
|
<strong>Settings</strong>
|
|
<label>Show cover: <input id="coverInput" type="checkbox"></label>
|
|
<label>Show map info: <input id="mapInfoInput" type="checkbox"></label>
|
|
<label>Show time: <input id="timeInput" type="checkbox"></label>
|
|
<label>Show score: <input id="scoreInput" type="checkbox"></label>
|
|
<label>Show BSR / map id: <input id="bsrInput" type="checkbox"></label>
|
|
<label>Position: <select id="positionInput">
|
|
<option value="[false,false]">Top left</option>
|
|
<option value="[true,false]">Top right</option>
|
|
<option value="[false,true]">Bottom left</option>
|
|
<option value="[true,true]">Bottom right</option>
|
|
</select></label>
|
|
<label>Scale (%): <input id="scaleInput" type="number" min="10" max="1000" step="5"></label>
|
|
<label>Fade (ms): <input id="fadeInput" type="number" min="0" max="5000" step="10"></label>
|
|
<label>Debug: <input id="debugInput" type="checkbox"></label>
|
|
<br>
|
|
<strong>About</strong>
|
|
<a href="https://github.com/ibillingsley/BeatSaber-Overlay" target="_blank">This was forked from Iza's overlay</a>
|
|
</dialog>
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|