put the different results pages seperately, and then just import them

This commit is contained in:
buzz-lightsnack-2007 2024-04-23 18:19:43 +08:00
parent 81c5c6f825
commit 91564df25b
4 changed files with 54 additions and 15 deletions

16
pages/popup/results.htm Normal file
View file

@ -0,0 +1,16 @@
<html>
<head>
<script src="../../styles/external/materialize/js/materialize.js"></script>
<script src="../../scripts/pages/popup.js" type="module"></script>
<link href="../styles/popup.css" rel="stylesheet" type="text/css" />
</head>
<body id="results">
<summary>
<p data-active-result="Description,Summary"></p>
<p id="summary" class="flow-text" data-active-result="Rating,Reason"></p>
<progress id="score" data-active-result="Rating,Score" min="0" max="1" value=".2"></progress>
</summary>
<details>
</details>
</body>
</html>