-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
78 lines (62 loc) · 1.06 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<title>ASCII CHAN!</title>
<!---link rel="stylesheet" type="text/css" href="styles.css"-->
</head>
<style type="text/css">
/* styles.css */
body {
font-family: inherit;
font-size: 24px;
}
.error {
color:red;
}
textarea {
width: 400px;
height: 200px;
font-family: sans-serif;
}
hr {
margin: 20px auto;
}
art-title {
font-family: inherit;
font-size: 21px;
}
art-body {
font-family: inherit;
font-size: 14px;
}
div {
font-family: fantasy;
font-size: 18px;
}
input[type=submit]{
font-size: 18px;
}
</style>
<body>
<h1>ASCII CHAN!</h1>
<form method="post">
<label>
<div>Title:</div>
<input type="text" name="title">
<label>
<label>
<div>Art:</div>
<textarea name="art"></textarea>
</label>
<div class="error">{{error}}</div>
<input type="submit" value="Post My Art!"></input>
</form>
<hr>
{% for art in arts %}
<div class="art">
<div class="art-title">{{art.title}}</div>
<pre class="art-body">{{art.art}}
</div>
{% endfor %}
</body>
</html>