- gitlist.git
- twig
- treegraph.twig
This file ( 2kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
{% extends 'layout_page.twig' %}
{% set page = 'treegraph' %}
{% block title %}P3X GitList{% endblock %}
{% block content %}
{% include 'breadcrumb.twig' with {breadcrumbs: [{dir: 'Graph', path:''}]} %}
<div class="network-view">
<div class="network-header">
<h3 class="meta">Graph of {{ repo }} </h3>
</div>
<div id="git-graph-container">
<div id="rel-container">
<canvas id="graph-canvas" width="100px">
<ul id="graph-raw-list">
{% for item in graphItems %}
<li><span class="node-relation">{{ item.relation }}</span></li>
{% endfor %}
</ul>
</canvas>
</div>
<div style="float:left;" id="rev-container">
<ul id="rev-list">
{% for item in graphItems %}
<li>
{% if item.rev is defined %}
<a id="{{ item.short_rev }}" class="treegraph-button" href="{{ path('commit', {repo: repo, commit: item.rev}) }}"> {{ item.short_rev }} </a>
<strong> {{ item.branch }} </strong>
<em>{{ item.subject }}</em> by
<span class="author">{{ item.author }} <{{ item.author_email }}></span>
<span class="time">{{ item.date | date(gitlist_date_format) }}</span>;
{% else %}
<span/>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<div style="clear:both"><!-- --></div>
</div>
</div>
{% endblock %}