aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/index/normal.phtml8
-rw-r--r--app/views/index/reader.phtml8
2 files changed, 10 insertions, 6 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index 418c44111..4c2b25fbc 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -114,9 +114,11 @@ $today = @strtotime('today');
else:
ob_end_clean(); //Discard the articles headers, as we have no articles
?>
-<main id="stream" class="prompt alert alert-warn normal">
- <h2><?= _t('index.feed.empty') ?></h2>
- <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+<main id="stream" class="normal">
+ <div class="prompt alert alert-warn">
+ <h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
+ <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
+ </div>
</main>
<?php endif; ?>
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index 69f000835..e4dac65c4 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -82,8 +82,10 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
else:
ob_end_clean(); //Discard the articles headers, as we have no articles
?>
-<main id="stream" class="prompt alert alert-warn reader">
- <h2><?= _t('index.feed.empty') ?></h2>
- <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+<main id="stream" class="reader">
+ <div class="prompt alert alert-warn">
+ <h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
+ <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
+ </div>
</main>
<?php endif; ?>