diff --git a/templates/dashboard.html b/templates/dashboard.html index 2d4d188..e4b7902 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -109,7 +109,7 @@ var openVmBtn = $('').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'); @@ -120,7 +120,7 @@ 'class': 'btn btn-success' }).on('click', function () { window.open("/viewer?templateId=" + encodeURIComponent(templateId)); - }).text('Ouvrir dans un nouvel onglet'); + }).html(''); var buttonContainer = $('').addClass('d-inline-flex'); buttonContainer.append(openVmBtn, openVmBtnNewTab);