svg
This commit is contained in:
@ -1,12 +1,25 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
|
||||
|
||||
{%block body%}
|
||||
<h2>Projets</h2>
|
||||
|
||||
<div class='d-flex' style='justify-content: center'>
|
||||
<div class='d-flex' style='justify-content: left'>
|
||||
{% for project in projects %}
|
||||
<div class='card'>
|
||||
<h5>{{project.title}}</h5>
|
||||
{{ render(path("bninefiles_files",{domain:'project',id:project.id, editable:0})) }}
|
||||
<div class='card' style='width:300px'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
{{project.title}}
|
||||
|
||||
<div>
|
||||
{% if is_granted('EDIT', project) %}
|
||||
<button type="button" class="btn btn-primary btn-sm"><i class="fas fa-pencil"></i></button>
|
||||
{% endif %}
|
||||
|
||||
<button type="button" class="btn btn-secondary btn-sm"><i class="fas fa-eye"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
Reference in New Issue
Block a user