98 lines
3.0 KiB
HTML
98 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
{% load i18n %}
|
|
{% load static %}
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"> <!-- Set character encoding -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Button Navigation</title>
|
|
<style>
|
|
|
|
/* Flex container to align items in a row */
|
|
|
|
.container-wrapper {
|
|
display: flex;
|
|
justify-content: center; /* Centers the images horizontally */
|
|
align-items: flex-start; /* Aligns items to the top */
|
|
gap: 20px; /* Adds spacing between images */
|
|
margin-top: 50px; /* Adjust margin */
|
|
}
|
|
|
|
/* Container needed to position the button. Adjust the width as needed */
|
|
.container {
|
|
position: relative;
|
|
width: 30%;
|
|
}
|
|
|
|
/* Make the image responsive */
|
|
.container img {
|
|
width: 50%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Style the button and place it in the middle of the container/image */
|
|
.container .btn {
|
|
position: absolute;
|
|
top: 120%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
background-color: #555;
|
|
color: white;
|
|
font-size: 16px;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.container .btn:hover {
|
|
background-color: black;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
text-align: center;
|
|
margin-top: 175px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Choose Your Destination</h1>
|
|
<div class="container-wrapper">
|
|
<!-- the first container with image and button for onboarding -->
|
|
<div class="container">
|
|
<img src="{% static 'evapp/onboarding1.png' %}"/>
|
|
<button class="btn" onclick="window.location.href='/onboarding';">Eintritt</button>
|
|
|
|
</div>
|
|
<!-- the second container with image and button for onboarding -->
|
|
<div class="container">
|
|
<img src="{% static 'evapp/veränderung.png' %}"/>
|
|
<button class="btn" onclick="window.location.href='/veränderung';">Veränderung</button>
|
|
</div>
|
|
<!-- the third container with image and button for onboarding -->
|
|
<div class="container">
|
|
<img src="{% static 'evapp/offboarding.png' %}"/>
|
|
<button class="btn" onclick="window.location.href='/offboarding';">Austritt</button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--
|
|
|
|
<div>
|
|
<img src="{% static 'evapp/onboarding1.png' %}" width="100" height="100" align="right" />
|
|
<img src="{% static 'evapp/offboarding.png' %}" width="100" height="100" align="right" />
|
|
<img src="{% static 'evapp/veränderung.png' %}" width="100" height="100" align="right" />
|
|
</div>
|
|
|
|
<button onclick="window.location.href='/onboarding';">Onboarding</button>
|
|
<button onclick="window.location.href='/offboarding';">Offboarding</button>
|
|
<button onclick="window.location.href='/veränderung';">Veränderung</button>-->
|
|
</body>
|
|
</html>
|
|
|