mirror of https://github.com/hykilpikonna/AquaDX
commit
09c3ce3164
|
@ -0,0 +1,20 @@
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
# Matches multiple files: .ts, .json, .svelte .sass
|
||||||
|
[*.{json,svelte,ts,sass}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
|
||||||
|
# Markdown files (e.g., README.md) often use a line length of 80 characters
|
||||||
|
[*.md]
|
||||||
|
max_line_length = 80
|
||||||
|
trim_trailing_whitespace = false
|
|
@ -233,7 +233,9 @@
|
||||||
|
|
||||||
<h2>Link Card</h2>
|
<h2>Link Card</h2>
|
||||||
<p>Please enter the following information:</p>
|
<p>Please enter the following information:</p>
|
||||||
<p>1. The 20-digit access code on the back of your card.
|
{#if !inputSN}
|
||||||
|
<div out:slide={{ duration: 250 }}>
|
||||||
|
<p>The 20-digit access code on the back of your card.
|
||||||
(If it doesn't work, please try scanning your card in game and enter the access code shown on screen)</p>
|
(If it doesn't work, please try scanning your card in game and enter the access code shown on screen)</p>
|
||||||
<label>
|
<label>
|
||||||
<!-- DO NOT change the order of bind:value and on:input. Their order determines the order of reactivity -->
|
<!-- DO NOT change the order of bind:value and on:input. Their order determines the order of reactivity -->
|
||||||
|
@ -247,14 +249,18 @@
|
||||||
on:input={inputACChange}
|
on:input={inputACChange}
|
||||||
class:error={inputAC && (!inputACRegex.test(inputAC) || errorAC)}>
|
class:error={inputAC && (!inputACRegex.test(inputAC) || errorAC)}>
|
||||||
{#if inputAC.length > 0}
|
{#if inputAC.length > 0}
|
||||||
<button transition:slide={{axis: 'x'}} on:click={() => link('AC')}>Link</button>
|
<button transition:slide={{axis: 'x'}} on:click={() => {link('AC');inputAC=''}}>Link</button>
|
||||||
{/if}
|
{/if}
|
||||||
</label>
|
</label>
|
||||||
{#if errorAC}
|
{#if errorAC}
|
||||||
<p class="error" transition:slide>{errorAC}</p>
|
<p class="error" transition:slide>{errorAC}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<p>2. Download the NFC Tools app on your phone
|
{#if !inputAC}
|
||||||
|
<div out:slide={{ duration: 250 }}>
|
||||||
|
<p>Download the NFC Tools app on your phone
|
||||||
(<a href="https://play.google.com/store/apps/details?id=com.wakdev.wdnfc">Android</a> /
|
(<a href="https://play.google.com/store/apps/details?id=com.wakdev.wdnfc">Android</a> /
|
||||||
<a href="https://apps.apple.com/us/app/nfc-tools/id1252962749">Apple</a>) and scan your card.
|
<a href="https://apps.apple.com/us/app/nfc-tools/id1252962749">Apple</a>) and scan your card.
|
||||||
Then, enter the Serial Number.
|
Then, enter the Serial Number.
|
||||||
|
@ -270,12 +276,14 @@
|
||||||
on:input={inputSNChange}
|
on:input={inputSNChange}
|
||||||
class:error={inputSN && (!inputSNRegex.test(inputSN) || errorSN)}>
|
class:error={inputSN && (!inputSNRegex.test(inputSN) || errorSN)}>
|
||||||
{#if inputSN.length > 0}
|
{#if inputSN.length > 0}
|
||||||
<button transition:slide={{axis: 'x'}} on:click={() => link('SN')}>Link</button>
|
<button transition:slide={{axis: 'x'}} on:click={() => {link('SN'); inputSN = ''}}>Link</button>
|
||||||
{/if}
|
{/if}
|
||||||
</label>
|
</label>
|
||||||
{#if errorSN}
|
{#if errorSN}
|
||||||
<p class="error" transition:slide>{errorSN}</p>
|
<p class="error" transition:slide>{errorSN}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#if conflictOld && conflictNew && me}
|
{#if conflictOld && conflictNew && me}
|
||||||
<div class="overlay" transition:fade>
|
<div class="overlay" transition:fade>
|
||||||
|
|
Loading…
Reference in New Issue