init household filiation page with hello world visjs graph

This commit is contained in:
2021-10-11 13:28:25 +02:00
parent 0c5e5ac672
commit ae7774ac39
7 changed files with 91 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
{% extends '@ChillPerson/Household/layout.html.twig' %}
{% block title 'household.Relationship'|trans %}
{% block content %}
<h1>{{ block('title') }}</h1>
<div id="graph-relationship"></div>
{% for m in household.members %}
{% if m.endDate is null %}
{{ dump(m) }}
{% endif %}
{% endfor %}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('page_vis') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('page_vis') }}
{% endblock %}
{% block block_post_menu %}{% endblock %}