mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
visgraph: give more space to graph in twig content
This commit is contained in:
parent
6e3cdb6f58
commit
2d3549ee28
@ -1,7 +1,8 @@
|
||||
<template>
|
||||
|
||||
<!-- TEST appelle la fonction sans passer par le callback de vis-network -->
|
||||
<!-- TEST appelle la fonction sans passer par le callback de vis-network
|
||||
<button class="btn btn-sm btn-create" @click="addRelationshipModal({ from: 'person_1617', to: 'person_1614' })">add link</button>
|
||||
-->
|
||||
<!--// <=== InternalError: too much recursion -->
|
||||
|
||||
<div id="visgraph"></div>
|
||||
|
@ -2,12 +2,24 @@
|
||||
|
||||
{% block title 'household.Relationship'|trans %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ block('title') }}</h1>
|
||||
{#
|
||||
Give more space to graph:
|
||||
* use parent twig block (layout_wvm_content)
|
||||
* hide title (d-none)
|
||||
* apply negative margin-top
|
||||
#}
|
||||
{% block layout_wvm_content %}
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<div class="col-md-10 col-xxl d-none">
|
||||
<h1>{{ block('title') }}</h1>
|
||||
</div>
|
||||
|
||||
<div id="relationship-graph"
|
||||
style="margin-top: -3rem"
|
||||
data-persons="{{ persons|e('html_attr') }}">
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block block_post_menu %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user