From deda43fd8a9c0217b240722007616bd1be2df8d4 Mon Sep 17 00:00:00 2001
From: codl
Date: Mon, 7 Aug 2017 15:47:00 +0200
Subject: [PATCH] fix tweet archive error banner placement
---
static/style.css | 4 ++++
templates/logged_in.html | 7 ++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/static/style.css b/static/style.css
index 6a12112..cad556c 100644
--- a/static/style.css
+++ b/static/style.css
@@ -103,6 +103,10 @@ body > section > .banner {
background: #eec;
}
+form {
+ margin: 1em auto;
+}
+
.banner form {
display: inline;
}
diff --git a/templates/logged_in.html b/templates/logged_in.html
index bae07a2..e283dca 100644
--- a/templates/logged_in.html
+++ b/templates/logged_in.html
@@ -68,14 +68,15 @@
Twitter's settings page,
and upload it here.
-
{% if tweet_archive_failed %}
The file you uploaded is not a valid tweet archive. No posts have been imported.
{% endif %}
+
+
{% if g.viewer.account.twitter_archives %}
Recent archives