generated from Templates/html-nginx-deployment
Use mock data to render first to panels.
All checks were successful
Home Cluster Builds/wedding-page/pipeline/head This commit looks good
All checks were successful
Home Cluster Builds/wedding-page/pipeline/head This commit looks good
This commit is contained in:
162
html/index.html
162
html/index.html
@@ -22,11 +22,109 @@
|
||||
<img src="/static/img/Invitation.jpeg" alt="">
|
||||
</div>
|
||||
<div class="panel">
|
||||
<h1 class="font-amelia-giovani-regular">We're getting married</h1>
|
||||
<div id="page-content" style="opacity: 0"></div>
|
||||
<div class="btn-holder">
|
||||
<button class="btn font-cinzel-regular" onclick="prevPage()">Back</button>
|
||||
<button class="btn font-cinzel-regular" onclick="nextPage()">Continue</button>
|
||||
<div class="panel-header">
|
||||
<h1 class="font-amelia-giovani-regular">We're getting married</h1>
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<div id="page-content" style="opacity: 0">
|
||||
<!-- Landing Page HTML -->
|
||||
<div id="landing" class="content" style="display: none;">
|
||||
<p>
|
||||
We want you to enjoy the event with us.
|
||||
<br>
|
||||
Please go through the steps below
|
||||
<br>
|
||||
to help us make it the best day.
|
||||
</p>
|
||||
<br><br>
|
||||
<h2 style="color: var(--color-secondary);">We are</h2>
|
||||
<select class="font-cinzel-light" id="select-party">
|
||||
<option class="font-cinzel-light" value="1">Erna & Michael</option>
|
||||
<option class="font-cinzel-light" value="1">Susan & Andre</option>
|
||||
<option class="font-cinzel-light" value="1">Aloma & Ruben</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="user-settings" class="content" style="display: none;">
|
||||
<h3>Hello, <span class="color-secondary" id="user-settings-name"></span></h3>
|
||||
<p>
|
||||
Your group has <span class="color-secondary" id="user-settings-seats">X</span> seats.
|
||||
<br>
|
||||
Can you please check all info is correct for the group?
|
||||
</p>
|
||||
<div id="user-settings-users">
|
||||
|
||||
<div>
|
||||
<h3 class="color-secondary">Erna</h3>
|
||||
<div class="user-settings-user">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td><input type="text"></td>
|
||||
<td>(For seating arrangements)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail:</td>
|
||||
<td><input type="email"></td>
|
||||
<td>*For updates and changes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>RSVP:</td>
|
||||
<td>
|
||||
<select name="" id="">
|
||||
<option value="">I am going</option>
|
||||
<option value="">I cannot come</option>
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Allergies:</td>
|
||||
<td><input type="text"></td>
|
||||
<td>(For food considerations, eg Tomatoes, Garlic)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="color-secondary">Michael</h3>
|
||||
<div class="user-settings-user">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td><input type="text"></td>
|
||||
<td>(For seating arrangements)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail:</td>
|
||||
<td><input type="email"></td>
|
||||
<td>*For updates and changes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>RSVP:</td>
|
||||
<td>
|
||||
<select name="" id="">
|
||||
<option value="">I am going</option>
|
||||
<option value="">I cannot come</option>
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Allergies:</td>
|
||||
<td><input type="text"></td>
|
||||
<td>(For food considerations, eg Tomatoes, Garlic)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-holder">
|
||||
<button class="btn font-cinzel-regular" onclick="prevPage()">Back</button>
|
||||
<button class="btn font-cinzel-regular" onclick="nextPage()">Continue</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -41,49 +139,31 @@
|
||||
</div>
|
||||
<h2>Loading</h2>
|
||||
</div>
|
||||
|
||||
<!-- Landing Page HTML -->
|
||||
<div id="landing" class="content" style="display: none;">
|
||||
<p>
|
||||
We want you to enjoy the event with us.
|
||||
<br>
|
||||
Please go through the steps below
|
||||
<br>
|
||||
to help us make it the best day.
|
||||
</p>
|
||||
<br><br>
|
||||
<h2 style="color: var(--color-secondary);">We are</h2>
|
||||
<select class="font-cinzel-light" id="select-user">
|
||||
<option class="font-cinzel-light" value="1">Erna & Michael</option>
|
||||
<option class="font-cinzel-light" value="1">Susan & Andre</option>
|
||||
<option class="font-cinzel-light" value="1">Aloma & Ruben</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="user-selection" class="content" style="display: none;">
|
||||
<p>
|
||||
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aliquam, nemo cumque unde fugiat quo voluptas impedit alias numquam commodi officiis error fugit sit, quia culpa quis dolor excepturi, odit ratione!
|
||||
</p>
|
||||
<ul>
|
||||
<li>User</li>
|
||||
<li>RSVP</li>
|
||||
<li>Choose menu</li>
|
||||
<li>Choose drinks</li>
|
||||
<li>Venue info</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<!-- JS -->
|
||||
<script src="/static/js/main.js"></script>
|
||||
<script>
|
||||
// Actions get called from here. This makes it easy to see what starts where.
|
||||
var pages = ["#landing", "#user-selection"];
|
||||
var pages = ["#landing", "#user-settings"];
|
||||
var page = 0;
|
||||
var data;
|
||||
var selectedParty;
|
||||
|
||||
setPageContent("#landing");
|
||||
setTimeout(function () {
|
||||
showLoader(false);
|
||||
}, 1000)
|
||||
var pageFunctionsLoad = {
|
||||
"#landing": renderPartySelection,
|
||||
"#user-settings": renderUserSettings
|
||||
}
|
||||
|
||||
var pageFunctionsExit = {
|
||||
"#landing": selectChosenParty
|
||||
}
|
||||
|
||||
async function onLoad() {
|
||||
data = await getData();
|
||||
setPageContent("#landing");
|
||||
}
|
||||
|
||||
onLoad();
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user