aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 21:13:46 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 21:13:46 +0100
commit06131470704a3467e3b95610cb1a3b200ada872d (patch)
treeaa0f26b18cd3c5847ddfffebf8dd9233776850f8
parentUpdated default configuration file. (diff)
downloadnewspipe-06131470704a3467e3b95610cb1a3b200ada872d.tar.gz
newspipe-06131470704a3467e3b95610cb1a3b200ada872d.tar.bz2
newspipe-06131470704a3467e3b95610cb1a3b200ada872d.zip
fixed layou of home page when a user has no feed
-rw-r--r--newspipe/templates/home.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/newspipe/templates/home.html b/newspipe/templates/home.html
index a4f60297..34149b5c 100644
--- a/newspipe/templates/home.html
+++ b/newspipe/templates/home.html
@@ -7,9 +7,11 @@
</style>
<div class="container-fluid">
{% if feeds|count == 0 %}
- <div class="col-md-4 col-md-offset-4">
- <h1>{{ _("You don't have any feeds.") }}</h1>
- <h1><a href="{{ url_for('feed.form') }}">{{ _('Add some') }}</a>, {{ _('or') }} <a href="{{ url_for('user.management') }}">{{ _('upload an OPML file.') }}</a></h1>
+ <div class="row justify-content-center">
+ <div class="col-md-6">
+ <h1>{{ _("You don't have any feeds.") }}</h1>
+ <h1><a href="{{ url_for('feed.form') }}">{{ _('Add some') }}</a>, {{ _('or') }} <a href="{{ url_for('user.management') }}">{{ _('upload an OPML file.') }}</a></h1>
+ </div>
</div>
{% else %}
<div class="row">
bgstack15