init project

This commit is contained in:
maher
2025-10-27 13:12:25 +01:00
commit d034a3e43e
257 changed files with 86878 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
{% extends 'backend/basic/base_admin.html.twig' %}
{% block title %} Activer {% endblock %}
{% block body %}
<h1 class="h3 mb-3">
<strong>Pages</strong> Activer
</h1>
<div class="row">
<div class="col-12 d-flex">
<div class="card flex-fill">
<div class="card-header">
<h5 class="card-title mb-0">Latest Projects</h5>
</div>
<table class="table table-hover my-0">
<thead>
<tr>
<th>Id</th>
<th class="d-none d-xl-table-cell">Société</th>
<th class="d-none d-xl-table-cell">Nom PC</th>
<th>Status</th>
<th class="d-none d-md-table-cell">Disque Nom</th>
<th class="d-none d-md-table-cell">Disque Model</th>
<th class="d-none d-md-table-cell">Date</th>
<th>Option</th>
</tr>
</thead>
<tbody>
{% for softwareActivation in softwareActivations %}
<tr>
<td>{{ softwareActivation.getId() }}</td>
<td class="d-none d-xl-table-cell">{{ softwareActivation.getCompanyName() }}</td>
<td class="d-none d-md-table-cell">{{ softwareActivation.getPcName() }}</td>
<td>
{% if (softwareActivation.getStatu() == 0) %}
<span class="badge bg-warning">En Attente </span>
{% elseif (softwareActivation.getStatu() == 1) %}
<span class="badge bg-success">Activer </span>
{% endif %}
</td>
<td class="d-none d-xl-table-cell">{{ softwareActivation.getDisqueNom() }}</td>
<td class="d-none d-xl-table-cell">{{ softwareActivation.getDisqueModel() }}</td>
<td class="d-none d-md-table-cell">{{ softwareActivation.getDateAddFormat('d/m/Y H:i:s') }}</td>
<td class="d-none d-md-table-cell">
<center>
{% if (softwareActivation.getStatu() != 1) %}
<a href="{{ path('admin_activer_activation', {id:softwareActivation.getId()}) }}"><button class="btn btn-primary btn-sm">Activer</button></a>
{% endif %}
<a href="{{ path('admin_activer_delete', {id:softwareActivation.getId()}) }}">
<button type="button" class="btn btn-danger">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-trash" viewBox="0 0 16 16"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"></path><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"></path></svg>
</button>
</a>
</center>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock %}