mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-03 20:28:05 +03:00
generate valid access codes on web
This commit is contained in:
Generated
+5
@@ -56,7 +56,12 @@
|
||||
},
|
||||
"../amnet-shared": {
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"big-integer": "^1.6.52",
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.17.14",
|
||||
"tsup": "^8.2.4",
|
||||
"typescript": "^5.5.4"
|
||||
}
|
||||
|
||||
@@ -98,10 +98,9 @@ function AimeCardCreationForm(props: { callback?: () => void }) {
|
||||
<FormControl>
|
||||
<Input placeholder="0000 0000 0000 0000 0000" {...field} />
|
||||
</FormControl>
|
||||
<FormDescription>
|
||||
<FormDescription className="select-none">
|
||||
If you've got a card, enter the matrix code here. If not, you can
|
||||
<span className="font-bold hover:cursor-pointer ml-1"
|
||||
onClick={() => form.setValue("id", generateCardNumber())}>
|
||||
<span className="font-bold hover:cursor-pointer ml-1" onClick={() => form.setValue("id", generateCardNumber())}>
|
||||
generate a new one.
|
||||
</span>
|
||||
</FormDescription>
|
||||
|
||||
Reference in New Issue
Block a user