|
6 | 6 | content="width=device-width, initial-scale=1.0, maximum-scale=1.0, shrink-to-fit=no, user-scalable=no"> |
7 | 7 | <title>Create Account</title> |
8 | 8 | <link rel="stylesheet" type="text/css" href="css/normalize.css"> |
9 | | - <!-- TODO: change later--> |
10 | 9 | <link rel="stylesheet" type="text/css" href="css/*SL{SpixiThemeMode}"> |
11 | 10 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> |
12 | 11 |
|
|
16 | 15 | <body onload="onload()"> |
17 | 16 | <div id="wrap" class="onboarding-container"> |
18 | 17 | <section class="create-account-start-section" id="createAccountStart"> |
| 18 | + <img src="" data-theme-src="img/spixi-logo-full.svg" alt="spixi logo full" class="intro-new-start-logo"/> |
19 | 19 | <div class="details"> |
20 | | - <img src="" data-theme-src="img/spixi-logo-full.svg" alt="spixi logo full"/> |
21 | 20 | <span class="heading-xs">*SL{create-account-title}</span> |
22 | 21 | <div class="body-sm">*SL{create-account-description}</div> |
23 | 22 | <img src="" data-theme-src="img/create-account/create-start.svg" alt="create-start"/> |
|
38 | 37 | </div> |
39 | 38 | <div class="create-account-stepper-header"> |
40 | 39 | <img src="" data-theme-src="img/spixi-logo-full.svg" alt="spixi logo full"/> |
41 | | - <div class="step-number label-sm">*SL{create-account-step} <span id="stepNumberSpan">1</span> |
42 | | - *SL{create-account-step-of} <span |
43 | | - id="stepTotalSpan">2</span></div> |
| 40 | + |
44 | 41 | </div> |
45 | 42 | <div id="step1" class="single-step create-step active"> |
| 43 | + <div class="step-number label-sm">*SL{create-account-step} <span class="stepNumberSpan">1</span> |
| 44 | + *SL{create-account-step-of} <span |
| 45 | + class="stepTotalSpan">2</span></div> |
46 | 46 | <span class="label-lg">*SL{create-account-step-1-title}</span> |
47 | 47 | <div class="body-md">*SL{create-account-step-1-subtitle}</div> |
48 | 48 | <div class="upload-img-container" onclick="location='ixian:avatar'"> |
|
54 | 54 | placeholder="*SL{create-account-step-1-nickname-placeholder}"/> |
55 | 55 | </div> |
56 | 56 | <div id="step2" class="single-step create-step"> |
| 57 | + <div class="step-number label-sm">*SL{create-account-step} <span class="stepNumberSpan">1</span> |
| 58 | + *SL{create-account-step-of} <span |
| 59 | + class="stepTotalSpan">2</span></div> |
57 | 60 | <span class="label-lg">*SL{create-account-step-2-title}</span> |
58 | 61 | <div class="body-md">*SL{create-account-step-2-subtitle}</div> |
59 | 62 | <div class="password-inputs"> |
|
118 | 121 | document.getElementById("version").innerHTML = version; |
119 | 122 | } |
120 | 123 |
|
121 | | - document.getElementById("stepTotalSpan").innerText = steps.length.toString(); |
122 | | - document.getElementById("stepNumberSpan").innerText = currentStep.toString(); |
| 124 | + document.getElementsByName("stepTotalSpan").innerText = steps.length.toString(); |
| 125 | + document.getElementsByName("stepNumberSpan").innerText = currentStep.toString(); |
123 | 126 |
|
124 | 127 | function toggleStep() { |
125 | 128 | steps.forEach(el => el.classList.remove('active')); |
126 | 129 | document.getElementById(`step${currentStep}`).classList.add('active'); |
127 | | - document.getElementById("stepNumberSpan").innerText = currentStep.toString(); |
| 130 | + document.getElementsByName("stepNumberSpan").innerText = currentStep.toString(); |
128 | 131 | if (currentStep === steps.length) { |
129 | 132 | document.getElementById("stepperNext").style.display = "none"; |
130 | 133 | document.getElementById("finishSetup").style.display = "flex"; |
|
0 commit comments