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

Commit

Permalink
modif bouton vm
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 27, 2024
1 parent f6bd9d8 commit fb84f7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions templates/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ <h1 class="text-left">Comptes utilisateurs</h1>
</tr>
</thead>
</table>
<hr>
</div>
<button id="addUserButton" type="button" class="btn btn-light">
<p>Ajouter un utilisateur <i class="bi bi-plus-circle"></i></p>
</button>
<div class="text-center">
<button id="addUserButton" type="button" class="btn btn-light">
Ajouter un utilisateur <i class="bi bi-plus-circle"></i>
</button>
</div>
</div>

<div class="tab-pane" id="rubrique3">
Expand Down
6 changes: 3 additions & 3 deletions templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
var startVmBtn = $('<button>').attr({
'id': 'start_vm_btn',
'type': 'button',
'class': 'btn btn-info'
'class': 'btn btn-light'
}).on('click', function () {
createVmFromTemplate(templateId);
}).text('Démarrer');
Expand Down Expand Up @@ -196,7 +196,7 @@
}

function createCardBody(template) {
var cardBody = $('<div>').addClass('card-body bg-dark text-white');
var cardBody = $('<div>').addClass('card-body bg-secondary text-white');
var form = createForm(template);
var ldsDefaultContainer = createLdsDefaultContainer(template.id);
cardBody.append(form, ldsDefaultContainer);
Expand Down Expand Up @@ -224,7 +224,7 @@
$('<button>').attr({
id: 'start_vm_btn',
type: 'button',
class: 'btn btn-info'
class: 'btn btn-light'
}).on('click', function () {
createVmFromTemplate(template.id);
}).text('Démarrer')
Expand Down

0 comments on commit fb84f7b

Please sign in to comment.