From 5d5aeacb7460b6fb6a989c48a8efea01a0dcc0fe Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Dec 2018 17:33:50 +0100 Subject: [PATCH 1/3] Have a proper label for the checkbox --- src/js/yunohost/controllers/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/users.js b/src/js/yunohost/controllers/users.js index 327e7718..a1a218b4 100644 --- a/src/js/yunohost/controllers/users.js +++ b/src/js/yunohost/controllers/users.js @@ -200,7 +200,7 @@ var params = {}; // make confirm content - var purgeCheckbox = ''+ y18n.t('purge_user_data_checkbox', [c.params['user']]) +''; + var purgeCheckbox = '
'; var purgeAlertMessage = ''; var confirmModalContent = $('
'+ y18n.t('confirm_delete', [c.params['user']]) +'

'+ purgeCheckbox +'
'+ purgeAlertMessage +'
'); From b19420d10d0b4f116b87f473dec5e49d2262aff1 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Dec 2018 17:49:33 +0100 Subject: [PATCH 2/3] Dangers are red, Infos are blue~ --- src/js/yunohost/controllers/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/users.js b/src/js/yunohost/controllers/users.js index a1a218b4..92e235ad 100644 --- a/src/js/yunohost/controllers/users.js +++ b/src/js/yunohost/controllers/users.js @@ -201,7 +201,7 @@ // make confirm content var purgeCheckbox = '
'; - var purgeAlertMessage = ''; + var purgeAlertMessage = ''; var confirmModalContent = $('
'+ y18n.t('confirm_delete', [c.params['user']]) +'

'+ purgeCheckbox +'
'+ purgeAlertMessage +'
'); // display confirm modal From 6a9ed726e8c6ac58a2d385f0cf835d81f0476988 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Dec 2018 17:50:19 +0100 Subject: [PATCH 3/3] Here's another commit, On line two-seven-two --- src/css/style.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/style.less b/src/css/style.less index b5776bd4..f8627a09 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -269,7 +269,7 @@ button { .content { .modal-body; - .warning { + .danger { color: red; } }