fix tweet archive error banner placement
This commit is contained in:
parent
f7b36ad257
commit
deda43fd8a
|
@ -103,6 +103,10 @@ body > section > .banner {
|
||||||
background: #eec;
|
background: #eec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin: 1em auto;
|
||||||
|
}
|
||||||
|
|
||||||
.banner form {
|
.banner form {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,14 +68,15 @@
|
||||||
<a href="https://twitter.com/settings/account">Twitter's settings page</a>,
|
<a href="https://twitter.com/settings/account">Twitter's settings page</a>,
|
||||||
and upload it here.
|
and upload it here.
|
||||||
</p>
|
</p>
|
||||||
<form action='{{url_for('upload_tweet_archive')}}' method='post' enctype='multipart/form-data'>
|
|
||||||
<input type="file" name='file'><input type="submit" value="Upload">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
{% if tweet_archive_failed %}
|
{% if tweet_archive_failed %}
|
||||||
<div class="banner error">The file you uploaded is not a valid tweet archive. No posts have been imported.</div>
|
<div class="banner error">The file you uploaded is not a valid tweet archive. No posts have been imported.</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<form action='{{url_for('upload_tweet_archive')}}' method='post' enctype='multipart/form-data'>
|
||||||
|
<input type="file" name='file'><input type="submit" value="Upload">
|
||||||
|
</form>
|
||||||
|
|
||||||
{% if g.viewer.account.twitter_archives %}
|
{% if g.viewer.account.twitter_archives %}
|
||||||
<h3 id="recent_archives">Recent archives</h3>
|
<h3 id="recent_archives">Recent archives</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue