diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/docs.html.j2 | 75 | ||||
-rw-r--r-- | template/features.html.j2 | 4 | ||||
-rw-r--r-- | template/index.html.j2 | 14 |
3 files changed, 41 insertions, 52 deletions
diff --git a/template/docs.html.j2 b/template/docs.html.j2 index da12743e..d60acc40 100644 --- a/template/docs.html.j2 +++ b/template/docs.html.j2 @@ -32,61 +32,51 @@ </div> <div class="row"> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-merchant-manual.html"> <img src="{{ url('icons/icon-backend.svg') }}" height=60> <h3>{{ _("Merchant Backend Administration")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans docshost=siteconfitem['docshost'] %} Tutorial and manual for operating a merchant. - Also available as - <a href="https://%(baseurl)s/pdf/taler-merchant-manual.pdf">PDF</a>. + Also available as <a href="https://{{ docshost }}/pdf/taler-merchant-manual.pdf">PDF</a>. {% endtrans %} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-merchant-api-tutorial.html"> <img src="{{ url('icons/icon-market.svg') }}" height=60> <h3>{{ _("Merchant API Tutorial") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Tutorial for processing Taler payments using the merchant backend API. - Also available as - <a href="https://%(baseurl)s/pdf/taler-merchant-api-tutorial.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-merchant-api-tutorial.pdf") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-exchange-manual.html"> <img src="{{ url('icons/icon-exchange.svg') }}" height=60> <h3>{{ _("Exchange")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Operator's manual for the GNU Taler exchange. - Also available as - <a href="https://%(baseurl)s/pdf/taler-exchange-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-exchange-manual.pdf") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-bank-manual.html"> <img src="{{ url('icons/icon-bank.svg') }}" height=60> <h3>{{ _("Bank Integration") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual for tightly integrating Taler with banking applications. - Also available as - <a href="https://%(baseurl)s/pdf/taler-bank-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-bank-manual.pdf") }} </div> - </div> - - <div class="row mt-5"> - </div> - <div class="row"> - - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-wallet.html"> <img src="{{ url('icons/icon-wallet.svg') }}" height=60> <h3>{{ _("Wallet") }}</h3> @@ -98,31 +88,29 @@ {% endtrans %} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-backoffice-manual.html"> <img src="{{ url('icons/icon-backoffice.svg') }}" height=60> <h3>{{ _("Back office") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual to run the back-office Web application. - Also available as - <a href="https://%(baseurl)s/pdf/taler-backoffice-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-backoffice-manual.pdf") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/taler-merchant-pos-terminal.html"> <img src="{{ url('icons/icon-market.svg') }}" height=60> <h3>{{ _("Merchant POS Terminal") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual for configuring and using the point of sale app. - Also available as - <a href="https://%(baseurl)s/pdf/taler-merchant-pos-terminal.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-merchant-pos-terminal.pdf") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="{{ url_localized('cashier.html') }}"> <img src="{{ url('icons/icon-cashier.svg') }}" height=60> <h3>{{ _("Cashier") }}</h3> @@ -131,6 +119,8 @@ An app for taking in cash and handing out electronic cash. {% endtrans %} </div> + + </div> <div class="row mt-5"> @@ -146,7 +136,7 @@ </div> <div class="row"> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/core/index.html"> <img src="{{ url('icons/icon-api.svg') }}" height=60> <h3>{{ _("HTTP API")}}</h3> @@ -156,16 +146,15 @@ {% endtrans %} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://{{ siteconfitem['docshost'] }}/developers-manual.html"> <img src="{{ url('icons/icon-developers.svg') }}" height=60> <h3>{{ _("Onboarding")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Description of our taler.net setup and how to contribute. - Also available as {% endtrans %} - <a href="https://%(baseurl)s/pdf/developers-manual.pdf">PDF</a>. + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/developers-manual.pdf") }} </div> </div> @@ -182,7 +171,7 @@ </div> <div class="row"> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://lists.gnu.org/mailman/listinfo/taler"> <img src="{{ url('icons/icon-share.svg') }}" height=60> <h3>{{ _("Mailing List")}}</h3> @@ -190,7 +179,7 @@ {{ _("The official GNU Taler mailing list.") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://webchat.freenode.net/?channels=taler"> <img src="{{ url('icons/icon-share.svg') }}" height=60> <h3>{{ _("IRC")}}</h3> @@ -198,7 +187,7 @@ {{ _("Our IRC channel is #taler on freenode.") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://gnunet.org/bugs/"> <img src="{{ url('icons/icon-share.svg') }}" height=60> <h3>{{ _("Bug Tracker")}}</h3> @@ -222,7 +211,7 @@ <div class="row"> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://git.taler.net"> <img src="{{ url('icons/icon-code.svg') }}" height=60> <h3>{{ _("Git repositories") }}</h3> @@ -230,7 +219,7 @@ {{ _("Git repositories for all of GNU Taler.") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://lcov.taler.net"> <img src="{{ url('icons/icon-lcov.svg') }}" height=60> <h3>{{ _("lcov results") }}</h3> @@ -238,7 +227,7 @@ {{ _("Shows results of the code coverage analysis for our test suite.") }} </div> - <div class="col-3"> + <div class="col-lg-4"> <a href="https://buildbot.taler.net"> <img src="{{ url('icons/buildbot.svg') }}" height=60> <h3>{{ _("Continuous integration") }}</h3> diff --git a/template/features.html.j2 b/template/features.html.j2 index dde5c029..cb3df6e6 100644 --- a/template/features.html.j2 +++ b/template/features.html.j2 @@ -8,7 +8,7 @@ </div> </div> <div class="row"> - <div class="col"> + <div class="col-lg-6"> <p> {% trans %} GNU Taler is a <span class="tlr">privacy-preserving</span> @@ -56,7 +56,7 @@ {% endtrans %} </p> </div> - <div class="col"> + <div class="col-lg-6"> <img class="img-fluid" src="{{ url_static('images/diagram-simple.png') }}"> </div> </div> diff --git a/template/index.html.j2 b/template/index.html.j2 index 1c55d09d..f3b82e9a 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 @@ -3,17 +3,16 @@ <div class="container"> <div class="row justify-content-center"> - <div class="col-8"> - <img src="{{ url_static('images/logo-2020.jpg') }}"> - </div> + <img style="width:80vw" src="{{ url_static('images/logo-2020.jpg') }}"> </div> <div class="row mt-5"> </div> <div class="row"> - <div class="col"> + <div class="col-lg-8"> <h2>{{ _("We provide a payment system that makes <span class='tlr'>privacy-friendly</span> online transactions <span class='tlr'>fast and easy</span>.")}}</h2> + <p> <ul class="checklist"> <li> <img class="checkmark" src="{{ url_static('images/checkmark.png') }}"> @@ -42,8 +41,9 @@ </ul> <form action="https://demo.taler.net/" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form> <form action="https://docs.taler.net/" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form> + </p> </div> - <div class="col align-self-center"> + <div class="col-lg-4"> <img class="img-fluid" src="{{ url_static('images/stock1s.jpg') }}" style="border-radius: 1cm;" /> </div> </div> @@ -51,11 +51,11 @@ <div class="row mt-5"> </div> <div class="row"> - <div class="col-8"> + <div class="col-12"> <h2><a href="{{ url_localized('news/index.html')}}">{{ _("News") }}</a></h2> </div> {% for item in newsdata[:3] %} - <div class="col-8"> + <div class="col-12"> <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a> </div> {% endfor %} |