Voici votre URL de partage https://sharemycode.io/c/1492fda76b (Cliquer pour copier) (Copié)

{% extends 'base.html.twig' %}

{% block content %}
<!doctype html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>{%  block title %}Listes clients - {% block title_base %}{{ parent() }}{% endblock %}{% endblock %}</title>
</head>
	<body>
		<div class="container">
		<div class="mb-5"></div>
		<h1 class="text-center color-white">Liste clients</h1>	
		<div class="mb-3"></div>
		<div class="separator"></div>
		<div class="mb-5"></div>
			<div class="d-flex flex-row-reverse">
				<a href="{{ path('listing_projects_add') }}" title="Ajouter un site" type="button" class="btn-submit mb-3">
					Ajouter un site
				</a>
				&nbsp;
				<a href="{{ path('filter_add') }}" title="Ajouter un site" type="button" class="btn-submit mb-3">
					Ajouter un filtre
				</a>
			</div>
			<table class="table mb-5 table-bordered" data-toggle="table" data-pagination="true">
				<thead class="bg-blue-dark-light table-borderless">
					<tr>
						<th class="color-yellow" scope="col">Nom de domaine</th>
						<th class="color-yellow" scope="col">Activité</th>
						<th class="color-yellow" scope="col">Type de site</th>
						<th class="color-yellow"  scope="col">Action</th>
					</tr>
				</thead>
				<tbody class="bg-blue-dark">
					{% for listingProject in listingProjects %}
						<tr class="form-switch">
							<td><a class="color-white" href="http://{{ listingProject.domainname }}" target="new">{{ listingProject.domainname }}</td>
							<td class="color-white">{{ listingProject.name }}</td>
							<td class="color-white">{{ listingProject.websitetype }}</td>
							<td>
								<a href="{{ path('listing_projects_modify', {"id": listingProject.id}) }}"><i class=" color-white fas fa-cog"></i></a>
								<span class="color-white">|</span>
								<a href="{{ path('listing_projects_detete', {"id": listingProject.id}) }}" onclick="return confirm('Attention vous vous apprettez à supprimer une étape')" title="Supprimer"><i class=" color-white fas fa-trash"></i></a>
							</td>
						</tr>
					{% endfor %}
				</tbody>
			</table>
		</div>
	</body>
</html>
{% endblock %}

Informations

Cet extrait a été créé le 24 nov. 2022 à 16:42:20

Cet extrait expire le 24 déc. 2022 à 16:42:20

Langage : twig

Logo twig

Code ajouté par KaeligB

Link

Voici votre URL de partage : https://sharemycode.io/c/1492fda76b Copié