Tried to add the contact form --> js is not working atm
This commit is contained in:
parent
f536885785
commit
01fadc2ccf
5 changed files with 143 additions and 15 deletions
|
@ -1,13 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
<title>AI Assistant</title>
|
||||
</head>
|
||||
<body>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
<title>AI Assistant</title>
|
||||
<script src="/static/contact-form.js" type="text/javascript" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/">
|
||||
<img src="/static/img/logo.png" alt="logo.png">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/faq">FAQ</a>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<section id="contact">
|
||||
<h2>Contact Us</h2>
|
||||
<p>This contact form has an invalid mail until our mailserver is configured</p>
|
||||
<form id="contactForm">
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" id="name" name="name" required />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" id="email" name="email" required />
|
||||
|
||||
<label for="message">Message:</label>
|
||||
<textarea id="message" name="message" rows="5" required></textarea>
|
||||
|
||||
<button type="submit">Send Message</button>
|
||||
</form>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
<title>AI Assistant</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/">
|
||||
<img src="/static/img/logo.png" alt="logo.png">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/faq.html">FAQ</a>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -12,15 +12,15 @@
|
|||
<header>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/static/templates/index.html">
|
||||
<a href="/">
|
||||
<img src="/static/img/logo.png" alt="logo.png">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/static/template/contact.html">Contact</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/static/template/faq.html">FAQ</a>
|
||||
<a href="/faq.html">FAQ</a>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
|
|
Reference in a new issue