2016-08-19 09:19:06 +02:00
|
|
|
| {% extends 'layout.html' %}
|
|
|
|
|
|
|
|
| {% set title = 'theatre' %}
|
|
|
|
|
|
|
|
| {% block og %}
|
|
|
|
meta(property="og:title", content="{{ node.name }}")
|
2017-02-06 14:37:53 +01:00
|
|
|
meta(name="twitter:title", content="{{node.name}}")
|
2016-08-19 09:19:06 +02:00
|
|
|
meta(property="og:url", content="{{ url_for('projects.view_node', project_url=project.url, node_id=node._id, t=1, _external=True) }}")
|
|
|
|
meta(property="og:type", content="website")
|
|
|
|
meta(property="og:description", content="Created on {{ node._created.strftime('%d %b %Y') }}")
|
2017-02-06 14:37:53 +01:00
|
|
|
meta(name="twitter:description", content="Created on {{ node._created.strftime('%d %b %Y') }}")
|
2016-08-19 09:19:06 +02:00
|
|
|
| {% if og_picture %}
|
|
|
|
meta(property="og:image", content="{{ og_picture.thumbnail('l', api=api) }}")
|
|
|
|
meta(property="og:image:secure_url", content="{{ og_picture.thumbnail('l', api=api) }}")
|
|
|
|
meta(property="og:image:type", content="{{ og_picture.content_type }}")
|
|
|
|
meta(property="og:image:witdh", content="{{ og_picture.width }}")
|
|
|
|
meta(property="og:image:height", content="{{ og_picture.height }}")
|
|
|
|
meta(property="twitter:image", content="{{ og_picture.thumbnail('l', api=api) }}")
|
|
|
|
| {% endif %}
|
|
|
|
| {% endblock %}
|
|
|
|
|
|
|
|
| {% block navigation_search %}{% endblock %}
|
|
|
|
| {% block navigation_sections %}
|
|
|
|
li
|
|
|
|
a.navbar-item.info(
|
|
|
|
href="",
|
|
|
|
title="Toggle info & sidebar")
|
|
|
|
i.pi-info
|
|
|
|
| {% endblock %}
|
|
|
|
|
|
|
|
| {% block css %}
|
2018-03-23 16:34:33 +01:00
|
|
|
link(href="{{ url_for('static_pillar', filename='assets/css/font-pillar.css') }}", rel="stylesheet")
|
|
|
|
link(href="{{ url_for('static_pillar', filename='assets/css/theatre.css') }}", rel="stylesheet")
|
2016-08-19 09:19:06 +02:00
|
|
|
| {% endblock %}
|
|
|
|
|
|
|
|
| {% block body %}
|
|
|
|
#theatre-container(class="{% if current_user.is_authenticated %}with-info{% endif %}")
|
|
|
|
|
|
|
|
| {% endblock %}
|
|
|
|
|
|
|
|
| {% block footer_scripts %}
|
|
|
|
script.
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
$.get("{{url_for('nodes.view', node_id=node._id, t=True)}}", function(dataHtml) {
|
|
|
|
$("#theatre-container").html(dataHtml);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
| {% endblock %}
|
|
|
|
|
|
|
|
| {% block footer %}{% endblock %}
|
|
|
|
| {% block footer_navigation %}{% endblock %}
|