diff --git a/web/src/settings_invites.ts b/web/src/settings_invites.ts index b8c905c881..91179217b1 100644 --- a/web/src/settings_invites.ts +++ b/web/src/settings_invites.ts @@ -226,7 +226,7 @@ function do_resend_invite({$row, invite_id}: {$row: JQuery; invite_id: string}): dialog_widget.close(); $resend_button.prop("disabled", true); $resend_button.text($t({defaultMessage: "Sent!"})); - $resend_button.removeClass("resend btn-warning").addClass("sea-green"); + $resend_button.removeClass("resend button-warning").addClass("sea-green"); }, }); } diff --git a/web/src/settings_users.ts b/web/src/settings_users.ts index 2513b94158..e881d03022 100644 --- a/web/src/settings_users.ts +++ b/web/src/settings_users.ts @@ -119,8 +119,8 @@ export function update_view_on_deactivate(user_id: number): void { const $button = $row.find("button.deactivate"); $button.prop("disabled", false); $row.find("i.deactivated-user-icon").show(); - $button.addClass("btn-warning reactivate"); - $button.removeClass("deactivate btn-danger"); + $button.addClass("button-warning reactivate"); + $button.removeClass("deactivate button-danger"); $button.empty().append($("").addClass(["fa", "fa-user-plus"]).attr("aria-hidden", "true")); $row.removeClass("active-user"); $row.addClass("deactivated_user"); @@ -137,8 +137,8 @@ export function update_view_on_reactivate(user_id: number): void { const $button = $row.find("button.reactivate"); $row.find("i.deactivated-user-icon").hide(); - $button.addClass("btn-danger deactivate"); - $button.removeClass("btn-warning reactivate"); + $button.addClass("button-danger deactivate"); + $button.removeClass("button-warning reactivate"); $button.empty().append($("").addClass(["fa", "fa-user-times"]).attr("aria-hidden", "true")); $row.removeClass("deactivated_user"); $row.addClass("active-user"); diff --git a/web/src/user_group_edit.js b/web/src/user_group_edit.js index 0aa15a0ba4..2eca6e8d33 100644 --- a/web/src/user_group_edit.js +++ b/web/src/user_group_edit.js @@ -1022,7 +1022,7 @@ export function initialize() { }); }); - $("#groups_overlay_container").on("click", ".group_settings_header .btn-danger", () => { + $("#groups_overlay_container").on("click", ".group_settings_header .button-danger", () => { const active_group_data = get_active_data(); const group_id = active_group_data.id; const user_group = user_groups.get_user_group_from_id(group_id); diff --git a/web/styles/app_components.css b/web/styles/app_components.css index 7b3aa9ee6c..62012595b4 100644 --- a/web/styles/app_components.css +++ b/web/styles/app_components.css @@ -222,7 +222,7 @@ input::placeholder { } } - &.btn-warning { + &.button-warning { color: hsl(35deg 70% 56%); border-color: hsl(35deg 98% 84%); @@ -237,7 +237,7 @@ input::placeholder { } } - &.btn-danger { + &.button-danger { color: hsl(357deg 64% 72%); border-color: hsl(4deg 56% 82%); diff --git a/web/styles/message_row.css b/web/styles/message_row.css index 970c2190ff..00d181daf7 100644 --- a/web/styles/message_row.css +++ b/web/styles/message_row.css @@ -743,7 +743,7 @@ of the base style defined for a read-only textarea in dark mode. */ } .edit-controls { - .btn-wrapper { + .button-wrapper { cursor: not-allowed; } } diff --git a/web/templates/poll_modal_option.hbs b/web/templates/poll_modal_option.hbs index e838404163..0e01a8d1e8 100644 --- a/web/templates/poll_modal_option.hbs +++ b/web/templates/poll_modal_option.hbs @@ -1,7 +1,7 @@
  • -
  • diff --git a/web/templates/recent_view_table.hbs b/web/templates/recent_view_table.hbs index ede4ad7af2..a78e2903b2 100644 --- a/web/templates/recent_view_table.hbs +++ b/web/templates/recent_view_table.hbs @@ -1,4 +1,4 @@ -
    +
    {{> recent_view_filters}}
    diff --git a/web/templates/settings/account_settings.hbs b/web/templates/settings/account_settings.hbs index 32fdb1ff3c..37c3b80b48 100644 --- a/web/templates/settings/account_settings.hbs +++ b/web/templates/settings/account_settings.hbs @@ -52,13 +52,13 @@
    -
    {{#if owner_is_only_user_in_organization}} - {{/if}} diff --git a/web/templates/settings/add_new_bot_form.hbs b/web/templates/settings/add_new_bot_form.hbs index f37ffe3951..d16aa36d82 100644 --- a/web/templates/settings/add_new_bot_form.hbs +++ b/web/templates/settings/add_new_bot_form.hbs @@ -66,7 +66,7 @@
    - + ({{t "Optional" }})

    diff --git a/web/templates/settings/admin_default_streams_list.hbs b/web/templates/settings/admin_default_streams_list.hbs index 1771297fc4..1284c18663 100644 --- a/web/templates/settings/admin_default_streams_list.hbs +++ b/web/templates/settings/admin_default_streams_list.hbs @@ -6,7 +6,7 @@ {{#if ../can_modify}} - diff --git a/web/templates/settings/admin_emoji_list.hbs b/web/templates/settings/admin_emoji_list.hbs index f2ffeb1911..bf628d149e 100644 --- a/web/templates/settings/admin_emoji_list.hbs +++ b/web/templates/settings/admin_emoji_list.hbs @@ -20,7 +20,7 @@ {{/if}} - diff --git a/web/templates/settings/admin_export_list.hbs b/web/templates/settings/admin_export_list.hbs index 6fdc1adb4f..0e42eafdcb 100644 --- a/web/templates/settings/admin_export_list.hbs +++ b/web/templates/settings/admin_export_list.hbs @@ -22,7 +22,7 @@ {{#if url}} - {{/if}} diff --git a/web/templates/settings/admin_human_form.hbs b/web/templates/settings/admin_human_form.hbs index 0a7091a593..eb2d1d7434 100644 --- a/web/templates/settings/admin_human_form.hbs +++ b/web/templates/settings/admin_human_form.hbs @@ -29,7 +29,7 @@

    {{#if is_active}} - diff --git a/web/templates/settings/admin_invites_list.hbs b/web/templates/settings/admin_invites_list.hbs index 78197a6bdc..aaaa22a800 100644 --- a/web/templates/settings/admin_invites_list.hbs +++ b/web/templates/settings/admin_invites_list.hbs @@ -33,11 +33,11 @@ {{#unless is_multiuse}} - {{/unless}} - diff --git a/web/templates/settings/admin_linkifier_list.hbs b/web/templates/settings/admin_linkifier_list.hbs index 6949d99219..4b36c9eada 100644 --- a/web/templates/settings/admin_linkifier_list.hbs +++ b/web/templates/settings/admin_linkifier_list.hbs @@ -14,10 +14,10 @@ {{#if ../can_modify}} - - diff --git a/web/templates/settings/admin_playground_list.hbs b/web/templates/settings/admin_playground_list.hbs index 2e785141ef..68dcc1a943 100644 --- a/web/templates/settings/admin_playground_list.hbs +++ b/web/templates/settings/admin_playground_list.hbs @@ -11,7 +11,7 @@ {{#if ../can_modify}} - diff --git a/web/templates/settings/admin_profile_field_list.hbs b/web/templates/settings/admin_profile_field_list.hbs index d1068e4740..0ddaf6acdf 100644 --- a/web/templates/settings/admin_profile_field_list.hbs +++ b/web/templates/settings/admin_profile_field_list.hbs @@ -35,10 +35,10 @@ {{#if ../can_modify}} - - diff --git a/web/templates/settings/admin_realm_domains_list.hbs b/web/templates/settings/admin_realm_domains_list.hbs index a186eba9b0..a5fa3433b7 100644 --- a/web/templates/settings/admin_realm_domains_list.hbs +++ b/web/templates/settings/admin_realm_domains_list.hbs @@ -8,6 +8,6 @@ - + {{/with}} diff --git a/web/templates/settings/admin_user_list.hbs b/web/templates/settings/admin_user_list.hbs index 9dde70534c..a287ebb342 100644 --- a/web/templates/settings/admin_user_list.hbs +++ b/web/templates/settings/admin_user_list.hbs @@ -36,18 +36,18 @@ - {{#if is_active}} - {{else}} - {{/if}} diff --git a/web/templates/settings/alert_word_settings_item.hbs b/web/templates/settings/alert_word_settings_item.hbs index 32996951a7..60f2ce7c76 100644 --- a/web/templates/settings/alert_word_settings_item.hbs +++ b/web/templates/settings/alert_word_settings_item.hbs @@ -7,7 +7,7 @@
    - diff --git a/web/templates/settings/bot_avatar_row.hbs b/web/templates/settings/bot_avatar_row.hbs index 659bb00b1c..578eb46f88 100644 --- a/web/templates/settings/bot_avatar_row.hbs +++ b/web/templates/settings/bot_avatar_row.hbs @@ -44,14 +44,14 @@
    {{api_key}} -
    {{else}} - + {{/if}}
    diff --git a/web/templates/settings/edit_bot_form.hbs b/web/templates/settings/edit_bot_form.hbs index 920b007899..582d5b8d54 100644 --- a/web/templates/settings/edit_bot_form.hbs +++ b/web/templates/settings/edit_bot_form.hbs @@ -51,7 +51,7 @@ {{/if}}
    {{#if is_active}} - {{else}} diff --git a/web/templates/settings/organization_profile_admin.hbs b/web/templates/settings/organization_profile_admin.hbs index 670b4e5f01..262985ab9d 100644 --- a/web/templates/settings/organization_profile_admin.hbs +++ b/web/templates/settings/organization_profile_admin.hbs @@ -89,7 +89,7 @@
    -
    diff --git a/web/templates/settings/uploaded_files_list.hbs b/web/templates/settings/uploaded_files_list.hbs index d173e49d8a..8a136812b0 100644 --- a/web/templates/settings/uploaded_files_list.hbs +++ b/web/templates/settings/uploaded_files_list.hbs @@ -26,7 +26,7 @@ diff --git a/web/templates/stream_settings/stream_member_list_entry.hbs b/web/templates/stream_settings/stream_member_list_entry.hbs index 0e2f15bb8c..bfff63963a 100644 --- a/web/templates/stream_settings/stream_member_list_entry.hbs +++ b/web/templates/stream_settings/stream_member_list_entry.hbs @@ -11,7 +11,7 @@
    -
    {{#if is_realm_admin}} -
    -
    diff --git a/web/templates/user_group_settings/user_group_settings.hbs b/web/templates/user_group_settings/user_group_settings.hbs index fa6fc48fc0..becad93c58 100644 --- a/web/templates/user_group_settings/user_group_settings.hbs +++ b/web/templates/user_group_settings/user_group_settings.hbs @@ -10,7 +10,7 @@ {{/if}}
    - +
    @@ -23,7 +23,7 @@
    -
    diff --git a/web/templates/user_group_settings/user_group_subgroup_entry.hbs b/web/templates/user_group_settings/user_group_subgroup_entry.hbs index 36e96bbc45..1b6d913f72 100644 --- a/web/templates/user_group_settings/user_group_subgroup_entry.hbs +++ b/web/templates/user_group_settings/user_group_subgroup_entry.hbs @@ -6,7 +6,7 @@
    - diff --git a/web/templates/user_stream_list_item.hbs b/web/templates/user_stream_list_item.hbs index 7729505216..46dcc6f25f 100644 --- a/web/templates/user_stream_list_item.hbs +++ b/web/templates/user_stream_list_item.hbs @@ -8,7 +8,7 @@ {{#if show_unsubscribe_button}}
    -