-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
30 lines (30 loc) · 987 Bytes
/
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
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Autofollowr</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8"/>
</head>
<body>
<div>
{% if logged_user %}
<div>
<div id="avatar"><img src="{{ logged_user.picture }}"></div>
<div id="greeting">Hello {{ logged_user.name }} ({{ username }})</div>
</div>
<div id="actions">
<form action="/" method="POST">
Follow <input type="text" name="follow_account" value="{{ logged_user.follow_account }}" />
to be <input type="text" name="needed_count" value="{{ logged_user.needed_count }}">'th follower
<input type="submit" value="Apply" />
</form>
</div>
{% else %}
<div id="actions">
<a href="/login">Sign in with Twitter</a>
</div>
{% endif %}
</div>
</body>
</html>