Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
7625d665
Commit
7625d665
authored
May 02, 2022
by
蓝云Reyes
Committed by
Melledy
May 02, 2022
Browse files
Update gacha_records.html
Change the colour scheme to make it look more comfortable.
parent
824600cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
data/gacha_records.html
View file @
7625d665
...
...
@@ -6,6 +6,9 @@
<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"
>
<style>
body
{
background-color
:
#f0f0f0
;
}
p
{
font-weight
:
300
;
}
...
...
@@ -40,7 +43,7 @@
border
:
none
;
}
.yellow
{
color
:
yellow
;
color
:
rgb
(
255
,
162
,
0
)
;
}
.blue
{
color
:
rgb
(
75
,
107
,
251
);
...
...
@@ -52,16 +55,16 @@
<title>
Gacha Records
</title>
<script>
// Debug entry
//
record = [
//
{"time": 10000341, "item": 10
0
1},
//
{"time": 10000342, "item": 10
0
2},
//
{"time": 10000343, "item": 10
0
3},
//
];
//
maxPage = 5;
record
=
[
{
"
time
"
:
10000341
,
"
item
"
:
10
4
1
},
{
"
time
"
:
10000342
,
"
item
"
:
10
3
2
},
{
"
time
"
:
10000343
,
"
item
"
:
103
5
},
];
maxPage
=
5
;
// in production environment
record
=
{{
REPLACE_RECORD
}};
maxPage
=
{{
REPLACE_MAXPAGE
}};
//
record = {{REPLACE_RECORD}};
//
maxPage = {{REPLACE_MAXPAGE}};
// TODO: implement this mapper by yourself
// I don't want to put real items' name here to avoid being DMCA'd
...
...
@@ -70,7 +73,7 @@
200
:
"
Standard
"
,
301
:
"
Event Avatar
"
,
302
:
"
Event Weapon
"
,
1041
:
[
"
M0n4
"
,
"
yellow
"
],
1041
:
[
"
M0n4
"
,
"
blue
"
],
1032
:
[
"
B4nn477
"
,
"
purple
"
],
1035
:
[
"
77
"
,
"
yellow
"
]
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment