From 073655f1e2e400e070149baf666605fbb7c8eac1 Mon Sep 17 00:00:00 2001 From: mic Date: Sat, 14 Dec 2024 23:17:38 +0100 Subject: [PATCH] working on the add tags settings page. see #183 --- _locales/en/messages.json | 12 ++++++++++ pages/addtags/mzta-add-tags.css | 39 ++++++++++++++++++++++++++++++++ pages/addtags/mzta-add-tags.html | 17 +++++++++++++- 3 files changed, 67 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index cde4ae7c..3743f50a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -802,5 +802,17 @@ "AddTags_prompt_text_title": { "message": "Current prompt text", "description": "" + }, + "AddTags_excl_list_title": { + "message": "Exclusion list", + "description": "" + }, + "AddTags_excl_list_infoline": { + "message": "This is a list of tags that are not allowed to be added to emails.", + "description": "" + }, + "save": { + "message": "Save", + "description": "" } } \ No newline at end of file diff --git a/pages/addtags/mzta-add-tags.css b/pages/addtags/mzta-add-tags.css index e69de29b..9c7fe133 100644 --- a/pages/addtags/mzta-add-tags.css +++ b/pages/addtags/mzta-add-tags.css @@ -0,0 +1,39 @@ +@media (prefers-color-scheme: dark) { + body { + background-color: #1C1B22; + color: rgb(251, 251, 254); + } + + a:link { color: #409EFF; } + a:visited { color: #409EFF; } + a:hover { color: #66B1FF; } + a:active { color: #66B1FF; } +} + +#addtags_prompt_container{ + width: 90%; + margin: 20px auto; +} + +#addtags_prompt_text{ + width: 100%; +} + +.infoline{ + font-size: 0.8em; + font-style: italic; +} + +#addtags_excl_list_container{ + width: 90%; + margin: 40px auto; +} + +#addtags_excl_list{ + width: 100%; +} + +.btn_div{ + width: 100%; + text-align: right; +} \ No newline at end of file diff --git a/pages/addtags/mzta-add-tags.html b/pages/addtags/mzta-add-tags.html index 20d43872..c90e984a 100644 --- a/pages/addtags/mzta-add-tags.html +++ b/pages/addtags/mzta-add-tags.html @@ -7,7 +7,22 @@ - TEST +
+

__MSG_AddTags_PageTitle__

+

__MSG_AddTags_info_default__

+
+
+ __MSG_AddTags_prompt_text_title__ +
__MSG_prefs_OptionText_btnManagePrompts_infoline__ __MSG_customPrompts_managePrompts_help__ +
+
+
+
+ __MSG_AddTags_excl_list_title__ +
__MSG_AddTags_excl_list_infoline__ +
+
+