e2e/src/html/index.html (view raw)
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <title>Send mail</title>
6 <meta name="viewport" content="width=device-width,initial-scale=1" />
7 <link rel="stylesheet" href="/style.css" />
8 </head>
9 <body>
10 <form action="/" method="POST" enctype="multipart/form-data">
11 <p>
12 <label for="recipient">Recipient</label>
13 <input
14 type="email"
15 name="recipient"
16 id="recipient"
17 placeholder="Email address"
18 required
19 />
20 </p>
21 <p>
22 <label for="subject">Subject</label>
23 <input type="text" name="subject" id="subject" />
24 </p>
25 <p>
26 <label for="content">Message</label>
27 <textarea name="content" id="content" rows="5"></textarea>
28 </p>
29 <p>
30 <input type="file" name="attachments" id="attachments" multiple />
31 </p>
32 <p><button type="submit" id="submit">Send email</button></p>
33 </form>
34 <form action="/logout" method="POST">
35 <p><button type="submit" id="logout" class="warning">Logout</button></p>
36 </form>
37 </body>
38</html>