summaryrefslogtreecommitdiff
path: root/talerblog
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-19 05:07:04 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-19 05:07:04 +0100
commit2d2c1a779ea1ff87b76cca0fde6f6c4bc86f7fdb (patch)
treec41f49ee458461ae69535f94b2f849ccc55cef5c /talerblog
parent35c63251e71f7927aae36a70e5a588f494c57832 (diff)
downloadblog-2d2c1a779ea1ff87b76cca0fde6f6c4bc86f7fdb.tar.gz
blog-2d2c1a779ea1ff87b76cca0fde6f6c4bc86f7fdb.tar.bz2
blog-2d2c1a779ea1ff87b76cca0fde6f6c4bc86f7fdb.zip
copy
Diffstat (limited to 'talerblog')
-rw-r--r--talerblog/blog/templates/base.html2
-rw-r--r--talerblog/blog/templates/index.html26
2 files changed, 12 insertions, 16 deletions
diff --git a/talerblog/blog/templates/base.html b/talerblog/blog/templates/base.html
index 15b13a8..54ceb60 100644
--- a/talerblog/blog/templates/base.html
+++ b/talerblog/blog/templates/base.html
@@ -24,7 +24,7 @@
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='web-common/taler-fallback.css') }}" id="taler-presence-stylesheet" />
<style>
.warn {
- border-left: 0.3em solid #aa3939;
+ background-color: #aa393977;
padding: 1em;
}
.notice {
diff --git a/talerblog/blog/templates/index.html b/talerblog/blog/templates/index.html
index ef712fc..492bfb8 100644
--- a/talerblog/blog/templates/index.html
+++ b/talerblog/blog/templates/index.html
@@ -1,20 +1,6 @@
{% extends "templates/base.html" %}
{% block main %}
- <h1>Essay Shop</h2>
- <div class="taler-installed-hide warn">
- <p>Taler wallet required for payment!</p>
- <p>This site requires a Taler wallet to pay for articles.
- Please visit our <a href="/landing">landing page</a>
- to install a wallet (and to withdraw digital coins).</p>
- </div>
-
- <div class="taler-installed-show warn">
- Click on an article to purchase it. You can
- get free, virtual money to buy articles on this page at the <a href="{{ env('TALER_ENV_URL_BANK', '#') }}">bank</a>.
- </div>
-
- <h2>Free Software, Free Society</h2>
-
+ <h1>Essay Shop: Free Software, Free Society</h2>
<div style="font-size: smaller;">
<p>This is the second edition of <cite>Free Software, Free Society: Selected Essays of Richard M. Stallman.</cite><br>
Free Software Foundation<br>
@@ -36,6 +22,16 @@
</div>
<h2>Chapters</h2>
+ <div class="taler-installed-hide warn">
+ <p>This site requires a Taler wallet to pay for articles.
+ You can install it from our <a href="https://taler.net/en/wallet.html" rel="noopener noreferrer" target="_blank">installation page</a>.
+ </div>
+
+ <div class="taler-installed-show">
+ Click on an individual chapter to to purchase it. You can
+ get free, virtual money to buy articles on this page at the <a href="{{ env('TALER_ENV_URL_BANK', '#') }}">bank</a>.
+ </div>
+
<div>
{% for article in articles %}
<div class="notice">