-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasciiart.html
More file actions
106 lines (95 loc) · 1.7 KB
/
asciiart.html
File metadata and controls
106 lines (95 loc) · 1.7 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<title>AsCii aRt</title>
</head>
<style type="text/css">
body {
font-family: sans-serif;
width: 800;
margin: 0 auto;
padding: 18px;
}
.error {
color: red;
}
label {
display: block;
font-size: 16px;
}
input[type=text] {
width: 400px;
font-size: 14px;
padding: 2px;
}
textarea {
width: 400px;
height: 200px;
font-size: 10px;
font-family: monospace;
}
input[type=submit] {
font-size: 30px;
}
hr {
margin: 20px auto;
}
.art + .art {
margin-top: 20px;
}
.art-title {
font-weight: bold;
font-size: 15px;
}
.art-date {
font-weight: normal;
font-size: 12px;
}
.art-body {
margin: 0;
font-size: 6px;
}
</style>
<body>
<table cellpadding="20">
<tr>
<td>
<h1> AsCii aRt </h1>
<form method="post">
<label>
<div>title:</div>
<input type="text" maxlength="500" name="title" value="{{title}}">
</label>
<br>
<label>
<div>input ascii art:</div>
<textarea name="arttext">{{arttext}}</textarea>
</label>
<div class="error">{{error}}</div>
<input type="submit" value="Submit To Art Gallery">
</form>
</td>
<td>
{% if mapsurl %}
<br><br><br>
<div>
Known Locations From Which Posts Were Made
<br>
<img src="{{mapsurl}}">
</div>
{% endif %}
</td>
</tr>
</table>
<br>
<h2> Art Gallery: </h2>
<hr>
{% for art in arts %}
<div class="art">
<div class="art-title">{{art.title}}<font class="art-date"> - [{{art.date_created}}]</font></div>
<pre class="art-body">{{art.arttext}}</pre>
</div>
<hr>
{% endfor %}
</body>
</html>