diff options
Diffstat (limited to 'talerblog')
-rw-r--r-- | talerblog/blog/templates/base.html | 2 | ||||
-rw-r--r-- | talerblog/blog/templates/index.html | 26 |
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"> |