diff --git a/backend/prisma/seed.ts b/backend/prisma/seed.ts index c2667d9..01459c5 100644 --- a/backend/prisma/seed.ts +++ b/backend/prisma/seed.ts @@ -21,6 +21,11 @@ async function main() { formattedName: "Hatsune Miku: Project DIVA Arcade Future Tone", description: "A 4-button and touch slider game from SEGA", }, + { + internalName: "musicdiver", + formattedName: "MUSIC DIVER", + description: "Taito's quadrant based drumming game", + }, ], }); console.log("Initial seed data inserted"); diff --git a/frontend/index.html b/frontend/index.html index c5e3113..bf98083 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,6 +4,9 @@ + + +
Import some score data to get started!
++ {score.artist} +
+ )} + + )} + {showUsername && score.username && ( ++ by {score.username} +
+ )} ++ {getDisplayName(key)} +
++ {renderValue(value, key)} +
++ {getDisplayName(key)} +
+ {renderValue(value, key)} ++ {new Date( + typeof timestamp === "number" ? timestamp : timestamp, + ).toLocaleDateString()}{" "} + •{" "} + {new Date( + typeof timestamp === "number" ? timestamp : timestamp, + ).toLocaleTimeString([], { + hour: "2-digit", + minute: "2-digit", + })} +
+| + {key === "judgements" ? ( + {getDisplayName(key)} + ) : ( + + )} + | + ))} + {showActions && ( ++ Actions + | + )} +
|---|---|
|
+ {key === "lamp" || key === "diff_lamp" ? (
+
+
+ {score[key] || "NO DATA"}
+
+
+ ) : key === "judgements" ? (
+
+ {renderValue(score[key], key, true)}
+
+ ) : key === "timestamp" ? (
+
+ {new Date(
+ typeof score[key] === "number"
+ ? score[key]
+ : score[key],
+ ).toLocaleDateString()}
+
+ ) : key === "username" ? (
+
+ {score[key] || "Unknown"}
+
+ ) : (
+
+ {renderValue(score[key], key)}
+
+ )}
+ |
+ ))}
+ {showActions && (
+ + + | + )} +