2017-07-27 01:17:28 +02:00
|
|
|
{% if g.viewer %}
|
2017-07-27 00:35:53 +02:00
|
|
|
<p>Hello,
|
2017-07-27 01:17:28 +02:00
|
|
|
<img src="{{g.viewer.account.remote_avatar_url}}"/>
|
|
|
|
{{g.viewer.account.remote_display_name}}! <a href="/logout">Log out</a></p>
|
2017-07-31 00:07:34 +02:00
|
|
|
|
|
|
|
<form action='/upload_twitter_archive' method='post' enctype='multipart/form-data'>
|
|
|
|
Upload your tweet archive:
|
|
|
|
<input type="file" name='file'><input type="submit">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<p>your posts ({{g.viewer.account.post_count()}}):</p>
|
2017-07-28 00:08:20 +02:00
|
|
|
{% for post in posts %}
|
2017-07-27 20:20:59 +02:00
|
|
|
<p>{{post.body}}</p>
|
|
|
|
{% else %}
|
|
|
|
<p>no posts :(</p>
|
|
|
|
{% endfor %}
|
2017-07-25 23:05:46 +02:00
|
|
|
{% else %}
|
2017-07-26 11:11:54 +02:00
|
|
|
<p>Hello, stranger! <a href="/login/twitter">Log in with Twitter</a></p>
|
2017-07-25 23:05:46 +02:00
|
|
|
{% endif %}
|