Mercurial > libervia-templates
changeset 291:1ca9384fb681
bulma: new `embed/embed.html` template
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 28 Sep 2020 17:26:47 +0200 |
parents | 1743fd741fed |
children | 829d87a70136 |
files | sat_templates/templates/bulma/embed/embed.html sat_templates/templates/bulma/static/styles.css |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/embed/embed.html Mon Sep 28 17:26:47 2020 +0200 @@ -0,0 +1,6 @@ +{% if not embedded %}{% extends 'base/base.html' %}{% endif %} +{% block body_wrapper %} + <iframe class="embed" src="{{target_url}}"></iframe> +{% endblock body_wrapper %} + +{% block footer %}{% endblock footer %}
--- a/sat_templates/templates/bulma/static/styles.css Mon Sep 28 17:26:15 2020 +0200 +++ b/sat_templates/templates/bulma/static/styles.css Mon Sep 28 17:26:47 2020 +0200 @@ -229,6 +229,15 @@ transition: width 0.3s ease-out; } +/********* + * embed * + *********/ + +.embed { + width: 100%; + height: 100%; +} + /**************** * media player * ****************/