-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
180 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?php | ||
get_header(); | ||
?> | ||
<main> | ||
<header> | ||
<h1>Jetzt mit uns durchstarten:</h1> | ||
</header> | ||
|
||
<form action="https://receive-forms.glitch.me/api/upload" method="post" class="contact-form"> | ||
<p class="label">Art des Projekts</p> | ||
<div class="select-column"> | ||
<div class="option"> | ||
<input type="radio" name="type" id="type_website" value="website" checked> | ||
<label for="type_website">Website</label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="type" id="type_marketing" value="marketing"> | ||
<label for="type_marketing">Marketing</label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="type" id="type_workshops" value="workshops"> | ||
<label for="type_workshops">Workshops</label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="type" id="type_softwareintegration" value="softwareintegration"> | ||
<label for="type_softwareintegration">Softwareintegration</label> | ||
</div> | ||
</div> | ||
|
||
<p class="label">Anzahl der Mitarbeiter</p> | ||
<div class="select-row"> | ||
<div class="option"> | ||
<input type="radio" name="employees" id="employees_st5" value="<5" checked> | ||
<label for="employees_st5"> <5 </label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="employees" id="employees_st50" value="<50"> | ||
<label for="employees_st50"> <50 </label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="employees" id="employees_st100" value="<100"> | ||
<label for="employees_st100"> <100 </label> | ||
</div> | ||
|
||
<div class="option"> | ||
<input type="radio" name="employees" id="employees_gt100" value=">100"> | ||
<label for="employees_gt100"> >100 </label> | ||
</div> | ||
</div> | ||
|
||
|
||
<label for="name" class="label">Ihr Name</label> | ||
<input type="text" name="name" id="name" required placeholder="Max Mustermann"> | ||
|
||
|
||
<label for="phonenumber" class="label">Ihre Telefonnummer</label> | ||
<input type="tel" name="phonenumber" id="phonenumber" placeholder="+49151701723"> | ||
|
||
<label for="email" class="label">Ihre Emailadresse</label> | ||
<input type="email" name="email" id="email"> | ||
|
||
<label for="info" class="label">Weitere Details</label> | ||
<textarea name="info" id="info" cols="12" rows="5"></textarea> | ||
|
||
<input type="submit" value="Abschicken"> | ||
|
||
</div> | ||
|
||
</form> | ||
</main> | ||
|
||
<?php get_footer(); ?> | ||
|
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 |
---|---|---|
@@ -0,0 +1,99 @@ | ||
.contact-form { | ||
.label { | ||
display: block; | ||
margin: 2rem 0 .5rem; | ||
} | ||
|
||
input { | ||
display: block; | ||
} | ||
|
||
textarea { | ||
resize: vertical; | ||
} | ||
|
||
textarea, input { | ||
font-family: inherit; | ||
border-radius: 0; | ||
border: none; | ||
border-radius: 0; | ||
padding: 1.5ch; | ||
margin: 0; | ||
|
||
outline: 1px solid black; | ||
width: 100%; | ||
|
||
&:focus { | ||
outline-width: 2px; | ||
} | ||
} | ||
|
||
input[type="submit"] { | ||
margin: 2rem 0 .5rem; | ||
background: black; | ||
color: white; | ||
} | ||
|
||
.select-column { | ||
border: 1px solid black; | ||
|
||
input { | ||
display: none; | ||
} | ||
|
||
.option:not(:last-child) { | ||
border-bottom: 1px solid black; | ||
} | ||
|
||
label { | ||
cursor: pointer; | ||
padding: 1.5ch; | ||
display: block; | ||
|
||
&:hover { | ||
background: #f5f5f5; | ||
} | ||
} | ||
|
||
input:checked + label { | ||
background: #E2E2E2; | ||
} | ||
} | ||
|
||
.select-row { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border: 1px solid black; | ||
|
||
input { | ||
display: none; | ||
} | ||
|
||
.option { | ||
&:not(:last-child) { | ||
border-right: 1px solid black; | ||
} | ||
} | ||
|
||
label { | ||
display: block; | ||
width: 100%; | ||
text-align: center; | ||
cursor: pointer; | ||
padding: 1.5ch; | ||
|
||
&:hover { | ||
background: #f5f5f5; | ||
} | ||
} | ||
|
||
input:checked + label { | ||
background: #E2E2E2; | ||
} | ||
|
||
.option { | ||
flex: 1; | ||
} | ||
} | ||
} |
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