Commit 7625d665 authored by 蓝云Reyes's avatar 蓝云Reyes Committed by Melledy
Browse files

Update gacha_records.html

Change the colour scheme to make it look more comfortable.
parent 824600cc
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css">
<style> <style>
body {
background-color: #f0f0f0;
}
p { p {
font-weight:300; font-weight:300;
} }
...@@ -40,7 +43,7 @@ ...@@ -40,7 +43,7 @@
border:none; border:none;
} }
.yellow { .yellow {
color: yellow; color: rgb(255, 162, 0);
} }
.blue { .blue {
color: rgb(75, 107, 251); color: rgb(75, 107, 251);
...@@ -52,16 +55,16 @@ ...@@ -52,16 +55,16 @@
<title>Gacha Records</title> <title>Gacha Records</title>
<script> <script>
// Debug entry // Debug entry
// record = [ record = [
// {"time": 10000341, "item": 1001}, {"time": 10000341, "item": 1041},
// {"time": 10000342, "item": 1002}, {"time": 10000342, "item": 1032},
// {"time": 10000343, "item": 1003}, {"time": 10000343, "item": 1035},
// ]; ];
// maxPage = 5; maxPage = 5;
// in production environment // in production environment
record = {{REPLACE_RECORD}}; //record = {{REPLACE_RECORD}};
maxPage = {{REPLACE_MAXPAGE}}; //maxPage = {{REPLACE_MAXPAGE}};
// TODO: implement this mapper by yourself // TODO: implement this mapper by yourself
// I don't want to put real items' name here to avoid being DMCA'd // I don't want to put real items' name here to avoid being DMCA'd
...@@ -70,7 +73,7 @@ ...@@ -70,7 +73,7 @@
200: "Standard", 200: "Standard",
301: "Event Avatar", 301: "Event Avatar",
302: "Event Weapon", 302: "Event Weapon",
1041 : ["M0n4", "yellow"], 1041 : ["M0n4", "blue"],
1032 : ["B4nn477", "purple"], 1032 : ["B4nn477", "purple"],
1035 : ["77", "yellow"] 1035 : ["77", "yellow"]
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment