Use the wiki template for the groups graph page
This commit is contained in:
parent
6af61b4c65
commit
5ed578ff9f
2 changed files with 17 additions and 23 deletions
|
@ -1,12 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Gestion de groupes</title>
|
||||
{% block extra_head %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +1,24 @@
|
|||
{% extends "wiki_groups/base.html" %}
|
||||
{% extends "wiki/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<script src="{% static 'wiki_groups/js/vendor/viz.js' %}"></script>
|
||||
<script src="{% static 'wiki_groups/js/vendor/lite.render.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% block wiki_site_title %}Groupes - WikiENS{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h2>Graphe des groupes</h2>
|
||||
{% block wiki_contents %}
|
||||
<h2>Graphe des groupes du wiki</h2>
|
||||
|
||||
<hr />
|
||||
|
||||
<div id="svg-graph"></div>
|
||||
</section>
|
||||
|
||||
<hr />
|
||||
|
||||
<p>
|
||||
Les flèches représentent l'inclusion : <code>A -> B</code> signifie que
|
||||
le groupe <code>A</code> est contenu dans le groupe <code>B</code>.
|
||||
</p>
|
||||
|
||||
<script src="{% static 'wiki_groups/js/vendor/viz.js' %}"></script>
|
||||
<script src="{% static 'wiki_groups/js/vendor/lite.render.js' %}"></script>
|
||||
<script>
|
||||
var viz = new Viz();
|
||||
|
||||
|
|
Loading…
Reference in a new issue