summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-11-24 09:08:19 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-24 09:08:19 +0100
commit9f7a973ca041ff513d29acf0ad114294c9b85e3a (patch)
treef319cbca2a7ef02a4b5a00fcd527e9e6ba0c2529 /app
parentaf85a754ad6e17460196d72c8d2d6cc17fc0935a (diff)
improved HTML (#3989)
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; ?>