Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
le centrage ca va pas
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 27, 2024
1 parent 871f621 commit 702e5e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,17 @@ <h1 class="text-left">Templates de VMs</h1>
}

function createVmForm(vm) {
var infoContainer = $('<div>').addClass('card-body bg-dark text-white');;
var icon = $('<i>').addClass('bi bi-pc-display fs-4');
var infoContainer = $('<div>').addClass('card-body');;
var icon = $('<i>').addClass('bi bi-pc-display');
var img = $('<div>').addClass('text-center').append(icon);
var cardBody = $('<div>').addClass('card-body');
var cardTitle = $('<h5>').addClass('card-title').text('Nom: ' + vm.template_name);
var cardText1 = $('<p>').addClass('card-text').text('Propriétaire: ' + vm.first_name + ' ' + vm.last_name);
var listGroup = $('<ul>').addClass('list-group list-group-flush');
var listItems = [
$('<li>').addClass('list-group-item bg-dark text-white').text('Template ID: ' + vm.template_id), // Ajoutez la classe "text-white" pour le texte de la liste
$('<li>').addClass('list-group-item bg-dark text-white').text('User ID: ' + vm.users_id),
$('<li>').addClass('list-group-item bg-dark text-white').text('Date de création: ' + vm.creationDate)
$('<li>').addClass('list-group-item').text('Template ID: ' + vm.template_id), // Ajoutez la classe "text-white" pour le texte de la liste
$('<li>').addClass('list-group-item').text('User ID: ' + vm.users_id),
$('<li>').addClass('list-group-item').text('Date de création: ' + vm.creationDate)
];

var cardBody2 = $('<div>').addClass('card-body');
Expand Down

0 comments on commit 702e5e0

Please sign in to comment.