diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/module/async_upload/uploader.js b/src/Bundle/ChillDocStoreBundle/Resources/public/module/async_upload/uploader.js index 3fcfb0a42..6cb68fcea 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/module/async_upload/uploader.js +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/module/async_upload/uploader.js @@ -280,10 +280,10 @@ var insertRemoveButton = (zone, zoneData) => { labelCancel = 'Restaurer' ; - removeButton.classList.add('sc-button', 'bt-delete'); + removeButton.classList.add('btn', 'btn-delete'); removeButton.textContent = labelRemove; - cancelButton.classList.add('sc-button'); + cancelButton.classList.add('btn', 'btn-cancel'); cancelButton.textContent = labelCancel; removeButton.addEventListener('click', (e) => { @@ -355,7 +355,7 @@ var insertDownloadButton = (zone, zoneData) => { newButton.dataset.labelPreparing = labelPreparing; newButton.dataset.labelReady = labelReady; newButton.dataset.tempUrlGetGenerator = tempUrlGenerator + '?' + tempUrlGeneratorParams.toString(); - newButton.classList.add('sc-button', 'bt-download', 'dz-bt-below-dropzone'); + newButton.classList.add('btn', 'btn-download', 'dz-bt-below-dropzone'); newButton.textContent = labelQuietButton; addBelowButton(newButton, zone, zoneData); diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/download-report/download-report.js b/src/Bundle/ChillMainBundle/Resources/public/modules/download-report/download-report.js index 1900c04cf..c7b7bb59a 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/download-report/download-report.js +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/download-report/download-report.js @@ -46,7 +46,7 @@ var download_report = (url, container) => { extension = mime.extension(type); link.appendChild(document.createTextNode(download_text)); - link.classList.add("sc-button", "btn-action"); + link.classList.add("btn", "btn-action"); link.href = content; link.download = alias; if (extension !== false) { diff --git a/src/Bundle/ChillTaskBundle/Workflow/Definition/DefaultTaskDefinition.php b/src/Bundle/ChillTaskBundle/Workflow/Definition/DefaultTaskDefinition.php index 64b753875..64f5c7acc 100644 --- a/src/Bundle/ChillTaskBundle/Workflow/Definition/DefaultTaskDefinition.php +++ b/src/Bundle/ChillTaskBundle/Workflow/Definition/DefaultTaskDefinition.php @@ -31,21 +31,21 @@ class DefaultTaskDefinition implements \Chill\TaskBundle\Workflow\TaskWorkflowDe const TRANSITION_METADATA = [ 'close' => [ 'verb' => 'close', - 'class' => 'sc-button bt-task-label bt-task-close', + 'class' => 'btn btn-task-label btn-task-close', 'sentence' => '%user% has closed the task', 'sentence_confirmation' => 'Are you sure you want to close this task ?', 'apply_transition_submit_label' => 'Close_verb' ], 'cancel' => [ 'verb' => 'cancel', - 'class' => 'sc-button bt-task-label bt-task-cancel', + 'class' => 'btn btn-task-label btn-task-cancel', 'sentence' => '%user% has canceled the task', 'sentence_confirmation' => 'Are you sure you want to cancel this task ?', 'apply_transition_submit_label' => 'Set this task to cancel state' ], 'start' => [ 'verb' => 'start', - 'class' => 'sc-button bt-task-label bt-task-start', + 'class' => 'btn btn-task-label btn-task-start', 'sentence' => '%user% has started the task', 'sentence_confirmation' => 'Are you sure you want to start this task ?', 'apply_transition_submit_label' => 'Start_verb'