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

Commit

Permalink
insane
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 31, 2024
1 parent 98a9e24 commit 8a8ac55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
var openVmBtn = $('<button>').attr({
'id': 'open_vm_btn',
'type': 'button',
'class': 'btn btn-success'
'class': 'btn btn-success mr-1'
}).on('click', function () {
window.location = "/viewer?templateId=" + encodeURIComponent(templateId);
}).text('Ouvrir');
Expand All @@ -120,7 +120,7 @@
'class': 'btn btn-success'
}).on('click', function () {
window.open("/viewer?templateId=" + encodeURIComponent(templateId));
}).text('Ouvrir dans un nouvel onglet');
}).html('<i class="bi bi-box-arrow-up-right"></i>');

var buttonContainer = $('<div>').addClass('d-inline-flex');
buttonContainer.append(openVmBtn, openVmBtnNewTab);
Expand Down

0 comments on commit 8a8ac55

Please sign in to comment.