From 1fe90ecdcb784041bfe42375a31d834831a68884 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 14 Sep 2016 18:34:25 -0700 Subject: [PATCH] Add frontend for safety numbers approval setting Adds the checkbox under settings. // FREEBIE --- _locales/en/messages.json | 8 +++++ background.html | 6 ++++ js/views/settings_view.js | 28 ++++++++++++++- stylesheets/_global.scss | 23 ------------ stylesheets/_index.scss | 17 --------- stylesheets/_modal.scss | 22 ++++++++++++ stylesheets/_settings.scss | 31 ++++++++++++++++ stylesheets/manifest.css | 74 +++++++++++++++++++++----------------- stylesheets/manifest.scss | 2 ++ 9 files changed, 137 insertions(+), 74 deletions(-) create mode 100644 stylesheets/_modal.scss create mode 100644 stylesheets/_settings.scss diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 68628b1c..d39f7561 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -450,5 +450,13 @@ "you": { "message": "You", "description": "A gender-neutral second-person prounoun used as a subject, as in, 'You set the timer to 5 seconds'" + }, + "safetyNumbersSettingHeader": { + "message": "Safety numbers approval", + "description": "Description for safety numbers setting" + }, + "safetyNumbersSettingDescription": { + "message": "Require approval of new safety numbers when they change.", + "description": "Description for safety numbers setting" } } diff --git a/background.html b/background.html index 0a7fb289..a14fe374 100644 --- a/background.html +++ b/background.html @@ -466,6 +466,12 @@ +
+
+

{{ safetyNumbersSettingHeader }}

+ + +