fix onboarding not optimizing cpu and added onboarding to add preset usernames

This commit is contained in:
Kevin Froman 2021-01-18 04:29:28 +00:00
parent d247c1eee8
commit df292afe69
2 changed files with 17 additions and 4 deletions

View File

@ -203,7 +203,7 @@
<div class="step-content has-text-justified">
<div class="box">
<div class="columns">
<div class="column is-4">
<div class="column is-3">
<div class="box">
<nav class="level">
<div class="level-left">
@ -214,7 +214,7 @@
</nav>
</div>
</div>
<div class="column is-4">
<div class="column is-3">
<div class="box">
<nav class="level">
<div class="level-left">
@ -225,12 +225,23 @@
</nav>
</div>
</div>
<div class="column is-4">
<div class="column is-3">
<div class="box">
<nav class="level">
<div class="level-left">
<div class="level-item">
<i class="icon fas fa-microchip" for="optimize"></i> <input type="checkbox" name="optimize"> <label for="optimize">Optimize CPU</label>
<i class="icon fas fa-microchip" for="optimize"></i> <input type="checkbox" name="optimize" checked> <label for="optimize">Optimize CPU</label>
</div>
</div>
</nav>
</div>
</div>
<div class="column is-3">
<div class="box">
<nav class="level">
<div class="level-left">
<div class="level-item">
<i class="icon fas fa-id-card" for="usernames"></i> <input type="checkbox" name="usernames" checked> <label for="usernames">Preloaded Usernames</label>
</div>
</div>
</nav>

View File

@ -56,6 +56,8 @@ document.getElementById('onboardingForm').onsubmit = function(e){
submitInfo.mail = getCheckValue('useMail')
submitInfo.circles = getCheckValue('useCircles')
submitInfo.useDark = getCheckValue('useDarkTheme')
submitInfo.preloadUsernames = getCheckValue('usernames')
submitInfo.optimize = getCheckValue('optimize')
if (submitInfo.donate){
openDonateModal(submitInfo)