changeset 083145474b5c in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=083145474b5c
description:
Add banner for develop and supporters
diffstat:
static/images/banner-develop-400px.jpg | Bin
static/images/banner-develop-800px.jpg | Bin
static/images/banner-develop.jpg | Bin
static/images/banner-supporters-400px.jpg | Bin
static/images/banner-supporters-800px.jpg | Bin
static/images/banner-supporters.jpg | Bin
templates/develop.html | 13 ++++++++-----
templates/supporters.html | 13 ++++++++-----
8 files changed, 16 insertions(+), 10 deletions(-)
diffs (65 lines):
diff -r ee79477f8854 -r 083145474b5c static/images/banner-develop-400px.jpg
Binary file static/images/banner-develop-400px.jpg has changed
diff -r ee79477f8854 -r 083145474b5c static/images/banner-develop-800px.jpg
Binary file static/images/banner-develop-800px.jpg has changed
diff -r ee79477f8854 -r 083145474b5c static/images/banner-develop.jpg
Binary file static/images/banner-develop.jpg has changed
diff -r ee79477f8854 -r 083145474b5c static/images/banner-supporters-400px.jpg
Binary file static/images/banner-supporters-400px.jpg has changed
diff -r ee79477f8854 -r 083145474b5c static/images/banner-supporters-800px.jpg
Binary file static/images/banner-supporters-800px.jpg has changed
diff -r ee79477f8854 -r 083145474b5c static/images/banner-supporters.jpg
Binary file static/images/banner-supporters.jpg has changed
diff -r ee79477f8854 -r 083145474b5c templates/develop.html
--- a/templates/develop.html Thu Oct 17 19:14:05 2019 +0200
+++ b/templates/develop.html Thu Oct 17 23:36:12 2019 +0200
@@ -18,14 +18,17 @@
]
%}
{% extends "layout-toc.html" %}
+{% from "utils.html" import background with context %}
+{% block style %}
+{{ super() }}
+{{ background('banner-develop') }}
+{% endblock %}
{% block content %}
-<div class="section bg-primary">
+<section class="section section-banner background-banner-develop filter
filter-primary text-center lazy">
<div class="container">
- <div class="section-header text-center text-white bg-primary mb1">
- <h1 class="pl-3 pr-3">{{ title }}</h1>
- </div>
+ <h1 class="mb-0 text-white position-relative z-1">{{ title }}</h1>
</div>
-</div>
+</section>
{{ super() }}
{% endblock content %}
diff -r ee79477f8854 -r 083145474b5c templates/supporters.html
--- a/templates/supporters.html Thu Oct 17 19:14:05 2019 +0200
+++ b/templates/supporters.html Thu Oct 17 23:36:12 2019 +0200
@@ -2,15 +2,18 @@
{% set description = "List of foundation supporters" %}
{% set keywords = ["foundation", "supporters"] %}
{% extends "layout.html" %}
+{% from "utils.html" import background with context %}
+{% block style %}
+{{ super() }}
+{{ background('banner-supporters') }}
+{% endblock %}
{% block content %}
{{ super() }}
-<div class="section bg-primary">
+<section class="section section-banner background-banner-supporters filter
filter-primary text-center lazy">
<div class="container">
- <section class="section-header text-center text-white bg-primary mb1">
- <h1 class="pl-3 pr-3">{{ title }}</h1>
- </section>
+ <h1 class="mb-0 text-white position-relative z-1">{{ title }}</h1>
</div>
-</div>
+</section>
<section class="section">
<div class="container">