- gitlist.git
- twig
- branch_menu.twig
This file ( 4kB ) 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.
<div class="dropdown" id="p3x-gitlist-branch-list-container">
<button class="btn btn-info dropdown-toggle btn-sm" type="button" id="p3x-gitlist-branch-list" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
browsing: <strong title="{{ branch }}">{{ branch }}</strong>
<span class="caret"></span>
</button>
<div role="menu" class="dropdown-menu" id="p3x-gitlist-branch-list-dropdown-menu">
<form class="form-group-sm" style="margin: 5px;">
<input id="p3x-gitlist-branch-list-search" class="form-control" placeholder="Search" autofocus>
</form>
<div class="main-list">
<div class="p3x-list-item-header p3x-gitlist-branch-menu-header">
Branches
</div>
<div id="p3x-gitlist-list-branch">
<span class="list">
{% for item in branches %}
<div class="p3x-gitlist-branch-menu-item" onclick="location.href ='{{ path('branch', {repo: repo, branch: item}) }}'"><a href="{{ path('branch', {repo: repo, branch: item}) }}"><span class="item">{{ item }}</span></a></div>
{% endfor %}
</span>
</div>
{% if tags %}
<div role="separator" class="divider"></div>
<div class="p3x-list-item-header p3x-gitlist-branch-menu-header">
Tags
</div>
<div id="p3x-gitlist-list-tag">
<span class="list">
{% for item in tags %}
<div class="p3x-gitlist-branch-menu-item" onclick="location.href ='{{ path('branch', {repo: repo, branch: item}) }}'" ><a href="{{ path('branch', {repo: repo, branch: item}) }}"><span class="item">{{ item }}</span></a></div>
{% endfor %}
</span>
</div>
{% endif %}
</div>
</div>
</div>
<!--
<li class="dropdown" id="p3x-gitlist-branch-list">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> browsing: <strong>{{ branch }}</strong> <b class="caret"></b></a>
<div role="menu" class="dropdown-menu" id="p3x-gitlist-branch-list-dropdown-menu">
<form>
<input id="p3x-gitlist-branch-list-search" class="form-control" placeholder="Search" autofocus>
</form>
<div class="main-list">
<div class="p3x-list-item-header p3x-gitlist-branch-menu-header">
Branches
</div>
<div id="p3x-gitlist-list-branch">
<span class="list">
{% for item in branches %}
<div class="p3x-gitlist-branch-menu-item" onclick="location.href ='{{ path('branch', {repo: repo, branch: item}) }}'"><a href="{{ path('branch', {repo: repo, branch: item}) }}"><span class="item">{{ item }}</span></a></div>
{% endfor %}
</span>
</div>
{% if tags %}
<div role="separator" class="divider"></div>
<div class="p3x-list-item-header p3x-gitlist-branch-menu-header">
Tags
</div>
<div id="p3x-gitlist-list-tag">
<span class="list">
{% for item in tags %}
<div class="p3x-gitlist-branch-menu-item" onclick="location.href ='{{ path('branch', {repo: repo, branch: item}) }}'" ><a href="{{ path('branch', {repo: repo, branch: item}) }}"><span class="item">{{ item }}</span></a></div>
{% endfor %}
</span>
</div>
{% endif %}
</div>
</div>
</li>
-->