aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-08-20 14:07:14 +0200
committerGravatar GitHub <noreply@github.com> 2021-08-20 14:07:14 +0200
commitf1e15cdd82e99342a58250f62535f4e2e05ba94a (patch)
treed3cd74e0f6022e77e880b380e9ad06884cfce844 /app
parent051cf5be10b7f28576f8a6b6af4921ded75c61b1 (diff)
Improve the link "back to RSS feeds": set a CSS class (#3761)
* templates * improved CSS class names
Diffstat (limited to 'app')
-rw-r--r--app/views/auth/index.phtml4
-rw-r--r--app/views/configure/archiving.phtml6
-rw-r--r--app/views/configure/display.phtml6
-rw-r--r--app/views/configure/integration.phtml4
-rw-r--r--app/views/configure/queries.phtml4
-rw-r--r--app/views/configure/reading.phtml4
-rw-r--r--app/views/configure/shortcut.phtml4
-rw-r--r--app/views/configure/system.phtml4
-rw-r--r--app/views/extension/index.phtml4
-rw-r--r--app/views/importExport/index.phtml4
-rw-r--r--app/views/index/about.phtml4
-rw-r--r--app/views/index/logs.phtml4
-rw-r--r--app/views/stats/idle.phtml4
-rw-r--r--app/views/stats/index.phtml4
-rw-r--r--app/views/stats/repartition.phtml4
-rw-r--r--app/views/subscription/add.phtml4
-rw-r--r--app/views/subscription/bookmarklet.phtml4
-rw-r--r--app/views/subscription/index.phtml4
-rw-r--r--app/views/tag/index.phtml4
-rw-r--r--app/views/update/apply.phtml4
-rw-r--r--app/views/update/checkInstall.phtml4
-rw-r--r--app/views/update/index.phtml4
-rw-r--r--app/views/user/manage.phtml4
-rw-r--r--app/views/user/profile.phtml4
24 files changed, 74 insertions, 26 deletions
diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml
index 313a7c14d..cf95e21f6 100644
--- a/app/views/auth/index.phtml
+++ b/app/views/auth/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('auth', 'index') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtml
index 3cc014b15..9d091abf6 100644
--- a/app/views/configure/archiving.phtml
+++ b/app/views/configure/archiving.phtml
@@ -1,8 +1,10 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
-
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
+
<form method="post" action="<?= _url('configure', 'archiving') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<legend><?= _t('conf.archiving') ?></legend>
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 8e2105333..9ed5d9465 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -1,8 +1,10 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
-
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
+
<form method="post" action="<?= _url('configure', 'display') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<legend><?= _t('conf.display') ?></legend>
diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml
index c6deea5c2..278265aed 100644
--- a/app/views/configure/integration.phtml
+++ b/app/views/configure/integration.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('configure', 'integration') ?>"
data-simple='<div class="form-group" id="group-share-##key##"><label class="group-name">##label##</label><div class="group-controls"><div class="stick">
diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml
index 9c13eeb0e..6402d63fb 100644
--- a/app/views/configure/queries.phtml
+++ b/app/views/configure/queries.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('configure', 'queries') ?>" class="draggableList">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml
index 199bd5ab6..c73866486 100644
--- a/app/views/configure/reading.phtml
+++ b/app/views/configure/reading.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('configure', 'reading') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index 1bc3f775b..49b7fd6ee 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<datalist id="keys">
<?php foreach ($this->list_keys as $key) { ?>
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index f185fb1d3..d3ead87a8 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('configure', 'system') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtml
index f3e75cfcc..254479f40 100644
--- a/app/views/extension/index.phtml
+++ b/app/views/extension/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.extensions.title') ?></h1>
<h2><?= _t('admin.extensions.system') ?></h2>
diff --git a/app/views/importExport/index.phtml b/app/views/importExport/index.phtml
index e5a24dbc4..c16f4272f 100644
--- a/app/views/importExport/index.phtml
+++ b/app/views/importExport/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_subscription'); ?>
<div class="post ">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('importExport', 'import') ?>" enctype="multipart/form-data">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index 320847886..0c8ef2538 100644
--- a/app/views/index/about.phtml
+++ b/app/views/index/about.phtml
@@ -1,5 +1,7 @@
<div class="post content">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('index.about') ?></h1>
diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml
index 3bbf233ac..c2b940e5c 100644
--- a/app/views/index/logs.phtml
+++ b/app/views/index/logs.phtml
@@ -1,5 +1,7 @@
<div class="post content">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('index.log') ?></h1>
<form method="post" action="<?= _url('index', 'logs') ?>"><p>
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index 7834d23c7..8b5317c2b 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_stats'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.stats.idle') ?></h1>
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml
index 661485f75..dd7faa72c 100644
--- a/app/views/stats/index.phtml
+++ b/app/views/stats/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_stats'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.stats.main') ?></h1>
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtml
index 4ec843a10..e04418614 100644
--- a/app/views/stats/repartition.phtml
+++ b/app/views/stats/repartition.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_stats'); ?>
<div class="post ">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.stats.repartition') ?></h1>
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml
index 63272dccb..70b9267aa 100644
--- a/app/views/subscription/add.phtml
+++ b/app/views/subscription/add.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_subscription'); ?>
<div class="post drop-section">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form action="<?= _url('category', 'create') ?>" method="post">
diff --git a/app/views/subscription/bookmarklet.phtml b/app/views/subscription/bookmarklet.phtml
index 981304933..48ff44135 100644
--- a/app/views/subscription/bookmarklet.phtml
+++ b/app/views/subscription/bookmarklet.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_subscription'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h2><?= _t('sub.bookmarklet.title') ?></h2>
<p><a class="btn btn-important"
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml
index 7b36a02c1..ff0684a9f 100644
--- a/app/views/subscription/index.phtml
+++ b/app/views/subscription/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_subscription'); ?>
<div class="post drop-section">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h2><?= _t('sub.title') ?></h2>
diff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtml
index 3d38195c6..e56adbf4f 100644
--- a/app/views/tag/index.phtml
+++ b/app/views/tag/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_subscription'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form id="add_tag" method="post" action="<?= _url('tag', 'add') ?>" autocomplete="off">
<legend><?= _t('sub.title.add_label') ?></legend>
diff --git a/app/views/update/apply.phtml b/app/views/update/apply.phtml
index c5e6884db..b52a31c5b 100644
--- a/app/views/update/apply.phtml
+++ b/app/views/update/apply.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.update') ?></h1>
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml
index 8a05fa301..313dc5f24 100644
--- a/app/views/update/checkInstall.phtml
+++ b/app/views/update/checkInstall.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h2><?= _t('admin.check_install.php') ?></h2>
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 041941e39..1d5c2f5cb 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<h1><?= _t('admin.update') ?></h1>
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml
index bffda64e6..3474cc4b0 100644
--- a/app/views/user/manage.phtml
+++ b/app/views/user/manage.phtml
@@ -1,7 +1,9 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('user', 'create') ?>" autocomplete="off">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index 799ead160..ae930a957 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -5,7 +5,9 @@
?>
<div class="post">
- <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ <div class="link-back-wrapper">
+ <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
+ </div>
<form method="post" action="<?= _url('user', 'profile') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />