-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(merge) #69 from acmpesuecc/improve-wizard
Improve wizard
- Loading branch information
Showing
5 changed files
with
386 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,64 +11,75 @@ | |
<body> | ||
<nav class="navbar"> | ||
<div class="navbar-header"> | ||
<h1 class="navbar-title">🧙 Setup Wizard</h1> | ||
<div class="progress-circle"> | ||
<div class="progress"></div> | ||
<span class="emoji">🍚</span> | ||
</div> | ||
<h1 class="navbar-title">Setup Wizard 🍚</h1> | ||
</div> | ||
</nav> | ||
|
||
<div class="progress-container"></div> | ||
<div class="container"> | ||
<div id="wizard" class="slide"> | ||
<div class="content"> | ||
<h2>Setup your Anna site</h2> | ||
<div class="input-group"> | ||
<input type="text" id="author" required placeholder="Enter an author name" oninput="checkFormValidity()"> | ||
</div> | ||
<div class="nav-buttons"> | ||
<button onclick="nextSlide()" id="nextButton" disabled>Next</button> | ||
</div> | ||
<h2>Get started!</h2> | ||
<div class="input-group"><input type="text" id="author" required placeholder="Enter an author name" | ||
oninput="checkFormValidity()"></div> | ||
<div class="nav-buttons"><button onclick="nextSlide()" id="authorButton" disabled>Next</button></div> | ||
</div> | ||
<div class="content"> | ||
<h2>Name your site</h2> | ||
<div class="input-group"><input type="text" id="siteTitle" required placeholder="ex: my blog" oninput="checkFormValidity()"></div> | ||
<div class="input-group"><input type="text" id="siteTitle" required placeholder="ex: my blog" | ||
oninput="checkFormValidity()"></div> | ||
<div class="nav-buttons"> | ||
<button onclick="prevSlide()">←</button> | ||
<button onclick="nextSlide()" id="nextButton2" disabled>Next →</button> | ||
<button onclick="nextSlide()" id="siteTitleButton" disabled>Next →</button> | ||
</div> | ||
</div> | ||
<div class="content"> | ||
<h2>Enter a domain name</h2> | ||
<div class="input-group"><input type="text" id="baseURL" required placeholder="ex: https://anna.github.io" oninput="checkFormValidity()"></div> | ||
<div class="input-group"><input type="text" id="baseURL" required | ||
placeholder="ex: https://anna.github.io" oninput="checkFormValidity()"></div> | ||
<div class="nav-buttons"> | ||
<button onclick="prevSlide()">←</button> | ||
<button onclick="nextSlide()" id="nextButton3" disabled>Next →</button> | ||
<button onclick="nextSlide()" id="baseURLButton" disabled>Next →</button> | ||
</div> | ||
</div> | ||
<div class="content"> | ||
<h2>Choose a Theme</h2> | ||
<div class="input-group"> | ||
<select id="themeURL" required oninput="checkFormValidity()"> | ||
<option value="/static/style.css" selected>default</option> | ||
<option value="https://sudhir.live/static/style.css">Sudhir</option> | ||
<option value="https://hegde.live/static/style.css">Hegde</option> | ||
<option value="https://raw.githubusercontent.com/polarhive/sushi/main/style.css">sushi</option> | ||
</select> | ||
<h2>Pick what you'd like on the navbar</h2> | ||
<div class="nav-checkboxes"> | ||
<label><input type="checkbox" id="navbar-index" checked value="index">home</label><br> | ||
<label><input type="checkbox" id="navbar-about" value="about">about</label><br> | ||
<label><input type="checkbox" id="navbar-posts" value="posts">posts</label><br> | ||
<label><input type="checkbox" id="navbar-tags" value="tags">tags</label><br> | ||
<label><input type="checkbox" id="navbar-contact" value="contact">contact</label><br> | ||
</div> | ||
<div class="nav-buttons"> | ||
<button onclick="prevSlide()">←</button> | ||
<button onclick="submitForm()">Submit</button> | ||
</div> | ||
<button onclick="prevSlide()">←</button> | ||
<button onclick="nextSlide()" id="baseURLButton">Next →</button> | ||
</div> | ||
</div> | ||
<div class="content"> | ||
<h2>Choose a Theme</h2> | ||
<div class="input-group"> | ||
<select id="themeURL" required oninput="checkFormValidity()"> | ||
<option value="/static/style.css" selected>default</option> | ||
<option value="https://sudhir.live/static/style.css">Sudhir</option> | ||
<option value="https://hegde.live/static/style.css">Hegde</option> | ||
<option value="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">Pico CSS</option> | ||
<option value="https://cdn.simplecss.org/simple.css">Simple CSS</option> | ||
</select> | ||
</div> | ||
<div class="content" id="final-slide"> | ||
<h2>Cooking your Anna site</h2> | ||
<p>Your Anna site is being cooked. This page will reload...</p> | ||
<div class="nav-buttons"> | ||
<button onclick="prevSlide()">←</button> | ||
<button onclick="submitForm()">Submit</button> | ||
</div> | ||
</div> | ||
<div class="content" id="final-slide"> | ||
<h2>Cooking your Anna site</h2> | ||
<p>Your Anna site is being cooked. This page will reload...</p> | ||
</div> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script> | ||
<script src="script.js"></script> | ||
<script defer async src="https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.bundle.min.js"></script> | ||
<script defer src="script.js"></script> | ||
</body> | ||
|
||
</html> | ||
</html> |
Oops, something went wrong.