-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
127 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<%- include('../partials/adminHeader.ejs') %>. | ||
|
||
<div class="container col-xxl-8 px-4 py-5"> | ||
<div class="row"> | ||
<div class="card shadow-sm"> | ||
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Image création d'entreprise</title><rect width="100%" height="100%" fill="#55595c"></rect><text x="50%" y="50%" fill="#eceeef" dy=".3em"></text></svg> | ||
<div class="card-body"> | ||
<h3 class="mb-3 text-center">Demande</h3> | ||
<form class="needs-validation" novalidate=""> | ||
<div class="row g-3"> | ||
<div class="col-sm-6"> | ||
<label class="form-label fw-bold">Nom</label> | ||
<p><%= user.nom %></p> | ||
</div> | ||
|
||
<div class="col-sm-6"> | ||
<label class="form-label fw-bold">Prénom</label> | ||
<p><%= user.prenom %></p> | ||
</div> | ||
|
||
<div class="col-md-6"> | ||
<label class="form-label fw-bold">Courriel</label> | ||
<p><%= user.email %></p> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Téléphone</label> | ||
<p><%= user.telephone %></p> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Date</label> | ||
<p><%= user.dateCreation %></p> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Statut</label> | ||
<p class="<%= user.statut === 1 ? 'text-success' : 'text-danger' %>"><%= user.statut === 1 ? 'Actif' : 'Inactif' %></p> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Rôle</label> | ||
<p><%= user.role %></p> | ||
</div> | ||
|
||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Demande à rejoindre une organisation</label> | ||
<p><%= user.demande_organisation %></p> | ||
</div> | ||
</div> | ||
|
||
<hr class="my-4"> | ||
|
||
<% if (user.organisation) { %> | ||
<h3 class="mb-3 text-center">Organisation</h3> | ||
<div class="row g-3"> | ||
<div class="col-md-4"> | ||
<label class="form-label fw-bold">Entreprise</label> | ||
<p><%= user.organisation.nom %></p> | ||
</div> | ||
<div class="col-sm-4"> | ||
<label class="form-label fw-bold">Siège social</label> | ||
<p><%= user.organisation.siege %></p> | ||
</div> | ||
<div class="col-sm-2"> | ||
<label class="form-label fw-bold">Type</label> | ||
<p><%= user.organisation.type %></p> | ||
</div> | ||
<div class="col-md-2"> | ||
<label class="form-label fw-bold">Siren</label> | ||
<p><%= user.organisation.siren %></p> | ||
</div> | ||
</div> | ||
<% } %> | ||
|
||
<hr class="my-4"> | ||
|
||
<div class="d-flex gap-2 justify-content-center py-2"> | ||
<a href="/admin/demandes" class="btn btn-primary">Retour</a> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters