[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-www] branch master updated: news logic
From: |
gnunet |
Subject: |
[taler-anastasis-www] branch master updated: news logic |
Date: |
Wed, 26 Aug 2020 15:57:18 +0200 |
This is an automated email from the git hooks/post-receive script.
ds-meister pushed a commit to branch master
in repository anastasis-www.
The following commit(s) were added to refs/heads/master by this push:
new 76e724b news logic
76e724b is described below
commit 76e724b16ef56339af7adcfe4fea914b1b9a30e5
Author: Dominik Meister <dominik.meister@hotmail.ch>
AuthorDate: Wed Aug 26 15:57:09 2020 +0200
news logic
---
news/2020-05.html.j2 | 7 ++++++
news/2020-06.html.j2 | 7 ++++++
news/2020-07.html.j2 | 7 ++++++
news/index.html.j2 | 57 ++++++++++++++++++++----------------------------
static/styles.css | 60 ++++++++++++++++++++++++++++++++++++---------------
template/docs.html.j2 | 49 +++++++++++++++++++++++++++++++----------
www.yml | 15 +++++++++++++
7 files changed, 140 insertions(+), 62 deletions(-)
diff --git a/news/2020-05.html.j2 b/news/2020-05.html.j2
new file mode 100644
index 0000000..b7381e1
--- /dev/null
+++ b/news/2020-05.html.j2
@@ -0,0 +1,7 @@
+{% extends "common/news.j2" %}
+{% block body_content %}
+<h1>2020-07: New Website</h1>
+<p>
+The new Anastasis Website launched
+</p>
+{% endblock body_content %}
diff --git a/news/2020-06.html.j2 b/news/2020-06.html.j2
new file mode 100644
index 0000000..b7381e1
--- /dev/null
+++ b/news/2020-06.html.j2
@@ -0,0 +1,7 @@
+{% extends "common/news.j2" %}
+{% block body_content %}
+<h1>2020-07: New Website</h1>
+<p>
+The new Anastasis Website launched
+</p>
+{% endblock body_content %}
diff --git a/news/2020-07.html.j2 b/news/2020-07.html.j2
new file mode 100644
index 0000000..b7381e1
--- /dev/null
+++ b/news/2020-07.html.j2
@@ -0,0 +1,7 @@
+{% extends "common/news.j2" %}
+{% block body_content %}
+<h1>2020-07: New Website</h1>
+<p>
+The new Anastasis Website launched
+</p>
+{% endblock body_content %}
diff --git a/news/index.html.j2 b/news/index.html.j2
index 8329df5..563514c 100644
--- a/news/index.html.j2
+++ b/news/index.html.j2
@@ -1,36 +1,25 @@
{% extends "common/base.j2" %}
{% block body_content %}
-<div id="page-container">
- <div id="content-wrap">
- <div class="main-title">
- <h1>Anastasis</h1>
- </div>
- <div class="toolbar">
- <ul>
- <li><a href="index.html">Home</a></li>
- <li><a href="news.html">News</a></li>
- <li><a href="about.html">About</a></li>
- <li><a class="active" href="docs.html">Docs</a></li>
- <li style="float:right"><a class="active" href="index.html">EN</a></li>
- <li style="float:right"><a href="../de/index.html">DE</a></li>
- </ul>
- </div>
- <div class="content">
- <h1>
- {% trans %}
- Introducing Anastasis
- {% endtrans %}
- </h1>
- {% trans %}
- Anastasis is a key recovery system that allows the user to securely
deposit
- shares of a core secret with an open set of escrow providers, to
recover it if the secret is lost.
- The core secret itself is protected from the escrow providers by
giving each provider only part of
- the information, and additionally by encrypting it with an
identity-based key unknown to the providers.
- The main objective of Anastasis is to ensure that the user can
reliably recover the core secret,
- while making this as difficult as possible for everyone else.
- {% endtrans %}
- </div>
- </div>
- <footer id="footer"></footer>
- </div>
- {% endblock body_content %}
+<h1>
+News
+</h1>
+<div id="home-intro">
+ {% trans %}
+ Anastasis is developed by a motivated team with the goal to help you to
protect your private data.
+ {% endtrans %}
+</div>
+
+<div id="news-split">
+
+{% for item in newsdata %}
+<div id="news-item">
+ <h3>{{ item['title']|e }}</h3>
+ {{ item['date'] }}
+ {{ item['abstract'] }} <br/>
+ [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more")
}}</a>]
+</div>
+{% endfor %}
+</div>
+{% endblock body_content %}
+
+
diff --git a/static/styles.css b/static/styles.css
index 1b18141..204b8b9 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -6,6 +6,23 @@ body {
font-family: 'Lato';
font-size: 20px;
}
+i {
+ color: #ABC;
+ padding: 50px;
+}
+
+h1 {
+ color: #06C;
+ padding-bottom: 20px;
+}
+h2 {
+ color: #06C;
+ padding-bottom: 20px;
+}
+h3 {
+ color: #06C;
+ padding-bottom: 20px;
+}
/* Page Layout*/
/******************************************/
@@ -20,6 +37,7 @@ body {
max-width: 1800px;
margin: auto;
background-color: #fff;
+ min-height: inherit;
}
#footer {
@@ -58,8 +76,9 @@ li a:hover:not(.active) {
background-color: #808080;
}
-/* Div classes for different sections*/
-/******************************************/
+/* Flex Box Layouts for the different pages*/
+/*******************************************/
+
#home-split {
display: flex;
align-items: stretch;
@@ -70,6 +89,20 @@ li a:hover:not(.active) {
align-items: stretch;
line-height: 1.7;
}
+#docs-split {
+ display: flex;
+ align-content: stretch;
+ justify-content: space-around;
+ line-height: 1.7;
+ flex-wrap: wrap;
+}
+#news-split {
+ display: flex;
+ align-content: stretch;
+ justify-content: space-around;
+ line-height: 1.7;
+ flex-wrap: wrap;
+}
#home-intro {
padding-bottom: 50px;
@@ -81,25 +114,18 @@ li a:hover:not(.active) {
#about-box {
padding: 50px;
}
-
-i {
- color: #ABC;
+#docs-item {
padding: 50px;
-}
-
-h1 {
- color: #06C;
- padding-bottom: 20px;
}
-h2 {
- color: #06C;
- padding-bottom: 20px;
-}
-h3 {
- color: #06C;
- padding-bottom: 20px;
+#news-item {
+ padding: 50px;
}
+
+
+/* Div classes for different sections*/
+/******************************************/
+
.main-title {
background-color: #3B77DB;
color: white;
diff --git a/template/docs.html.j2 b/template/docs.html.j2
index 92df99f..2358d3f 100644
--- a/template/docs.html.j2
+++ b/template/docs.html.j2
@@ -1,16 +1,43 @@
{% extends "common/base.j2" %}
{% block body_content %}
- <h1>
+ <h1>
+ {% trans %}
+ References
+ {% endtrans %}
+ </h1>
+ <div id="home-intro">
+ {% trans %}
+ Anastasis is developed by a motivated team with the goal to help you to
protect your private data.
+ {% endtrans %}
+ </div>
+ <div id="docs-split">
+ <div id="docs-item">
+ <i class="fas fa-terminal fa-4x"></i>
+ <h2>
{% trans %}
- Introducing Anastasis
+ Codebase
{% endtrans %}
- </h1>
- {% trans %}
- Anastasis is a key recovery system that allows the user to securely
deposit
- shares of a core secret with an open set of escrow providers, to
recover it if the secret is lost.
- The core secret itself is protected from the escrow providers by
giving each provider only part of
- the information, and additionally by encrypting it with an
identity-based key unknown to the providers.
- The main objective of Anastasis is to ensure that the user can
reliably recover the core secret,
- while making this as difficult as possible for everyone else.
- {% endtrans %}
+ </h2>
+ <a href="https://git.taler.net/anastasis.git/">Anastasis Git</a>
+ </div>
+
+ <div id="docs-item">
+ <i class="fas fa-book fa-4x"></i>
+ <h2>
+ {% trans %}
+ API Documentation
+ {% endtrans %}
+ </h2>
+ <a href="https://docs.taler.net/anastasis.html">Anastasis API Doc</a>
+ </div>
+ <div id="docs-item">
+ <i class="fas fa-coins fa-4x"></i>
+ <h2>
+ {% trans %}
+ Taler Project
+ {% endtrans %}
+ </h2>
+ <a href="https://taler.net/de/">Taler Project</a>
+ </div>
+ </div>
{% endblock body_content %}
diff --git a/www.yml b/www.yml
index d00d1ef..e21591a 100644
--- a/www.yml
+++ b/www.yml
@@ -31,5 +31,20 @@ newsposts:
title: New Anastasis website released
abstract:
content:
+ - page: 2020-07.html
+ date: 2020-08-01
+ title: New Anastasis website released
+ abstract:
+ content:
+ - page: 2020-06.html
+ date: 2020-08-01
+ title: New Anastasis website released
+ abstract:
+ content:
+ - page: 2020-05.html
+ date: 2020-08-01
+ title: New Anastasis website released
+ abstract:
+ content:
videoslist:
paperslist:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-www] branch master updated: news logic,
gnunet <=