zulip/web/templates
Palash Baderia 624fea2e8e upload_banner: Add a cancel button.
This commit adds a cancel button to the upload banner, replacing
the previous close icon. Now, the cancel button is used to cancel
the upload process, while the close icon is used to remove the
upload banner without interrupting the upload.

A new case has been added to the switch statement in the 'upload.js'
file to handle the functionality of hiding the banner called
'upload_banner_hide_button'.

Replaced the functionality of the 'compose_banner_close_banner' case
inside the switch statement with a new case called
'upload_banner_cancel_button'. The cancel button is now assigned
the selector 'upload_banner_cancel_button'.

`Cancel` button is only preset for banner which tracks
progress while a file is being uploaded.

To maintain consistency with other banners, the cancel button's
dimensions and color have been adjusted to match the style of other
buttons present in different banners.

Fixes: #21156
2023-07-06 16:11:09 -07:00
..
compose_banner upload_banner: Add a cancel button. 2023-07-06 16:11:09 -07:00
confirm_dialog streams: Warn when archiving a notification stream. 2023-07-06 16:04:11 -07:00
navbar_alerts web: Save a needless 301 redirect from /apps to /apps/. 2023-03-24 14:51:01 -07:00
settings settings_emoji: Fix file upload bug in upload emoji modal. 2023-06-29 10:16:28 -07:00
stream_settings settings: Remove id column from tables in stream and group settings. 2023-06-07 12:01:26 -07:00
unread_banner unread_banner: Update all unread banners to an info/notice banner. 2023-07-04 11:51:31 -07:00
user_group_settings settings: Remove id column from tables in stream and group settings. 2023-06-07 12:01:26 -07:00
widgets
about_zulip.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
actions_popover_content.hbs popovers: Shorten 'Quote or reply' label. 2023-05-16 12:36:29 -07:00
actions_popover_template.hbs
all_messages_sidebar_actions.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
announce_stream_docs.hbs
blueslip_stacktrace.hbs blueslip: Show more-info context in alert popup, if we have it. 2023-05-09 13:16:28 -07:00
bookend.hbs i18n: Fix encoding of stream bookends. 2023-04-24 12:19:06 -07:00
buddy_list_tooltip_content.hbs
change_email_modal.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
compose.hbs compose_recipient: Improve post recipient selection behaviour. 2023-05-29 08:59:18 -07:00
compose_control_buttons.hbs giphy: Migrate Giphy popover to Tippy. 2023-07-05 14:43:19 -07:00
compose_control_buttons_in_popover.hbs
compose_control_buttons_popover.hbs
compose_select_enter_behaviour_popover.hbs
copy_code_button.hbs templates: Remove pull-left class and its bootstrap CSS. 2023-06-23 11:53:38 -07:00
copy_invite_link.hbs bootstrap: Remove bootstrap CSS for pull-right class. 2023-06-23 11:53:38 -07:00
copy_message_button.hbs copy_message_button: Use `div` HTML tag instead of `button`. 2023-03-27 16:11:19 -07:00
copy_to_clipboard_svg.hbs
default_language_modal.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
dialog_change_password.hbs modal: Remove modal_text_input class from password and url type inputs. 2023-06-23 11:53:38 -07:00
dialog_widget.hbs modal: Make the modal content scrollable instead of the whole modal. 2023-03-01 15:36:29 -08:00
draft.hbs tooltips: Use tippy tooltips for drafts and schedule message overlays. 2023-06-13 16:49:54 -07:00
draft_table_body.hbs drafts: Add abstract classes for messages in an overlay. 2023-04-14 17:38:37 -07:00
drafts_sidebar_action.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
dropdown_list.hbs dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
dropdown_list_container.hbs dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
edit_content_button.hbs
edited_notice.hbs tooltips: Convert edit notice tooltips to tippy. 2023-04-28 15:34:59 -07:00
embedded_bot_config_item.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
emoji_popover.hbs
emoji_popover_content.hbs
emoji_popover_emoji.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
emoji_popover_search_results.hbs
emoji_showcase.hbs
empty_feed_notice.hbs templates: Remove references to undefined fields. 2023-03-22 17:10:28 -07:00
favicon.svg.hbs
feedback_container.hbs
filter_topics.hbs
gear_menu.hbs gear_menu: Add accessibility label to gear menu toggle. 2023-06-23 14:42:34 -07:00
giphy_picker.hbs giphy: Migrate Giphy popover to Tippy. 2023-07-05 14:43:19 -07:00
giphy_picker_mobile.hbs
help_link_widget.hbs
hotspot_icon.hbs
hotspot_overlay.hbs
inline_decorated_stream_name.hbs templates: Add missing "aria-hidden" attribute. 2023-04-26 10:55:58 -07:00
input_pill.hbs
invitation_failed_error.hbs help: Open Help Center links in new tab for empty message lists. 2023-05-19 13:51:00 -07:00
invite_user_modal.hbs invite: Restructure "Invite user" modal for improved user experience. 2023-06-06 17:48:29 -07:00
keyboard_shortcuts.hbs help: Tweak docs on keyboard shortcuts for composing messages. 2023-05-28 19:18:34 -07:00
left_sidebar.hbs left_sidebar: Move tooltips to the `focus` element. 2023-05-12 17:35:52 -07:00
left_sidebar_stream_setting_popover.hbs
lightbox_overlay.hbs
loader.hbs
login_to_access.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
login_to_view_image_button.hbs
markdown_help.hbs markdown_help: Fix reference to possibly missing variables. 2023-04-04 12:56:18 -07:00
markdown_time_tooltip.hbs
markdown_timestamp.hbs
me_message.hbs tooltips: Add tippy tooltip for view_user_card. 2023-04-27 18:12:32 -07:00
message_avatar.hbs tooltips: Add tippy tooltip for view_user_card. 2023-04-27 18:12:32 -07:00
message_body.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
message_controls.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
message_edit_form.hbs message_edit: Disable save btn after edit time limit 2023-05-16 15:59:29 -07:00
message_edit_history.hbs
message_feed_bottom_whitespace.hbs
message_feed_errors.hbs
message_group.hbs
message_hidden_dialog.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
message_history_modal.hbs
message_inline_image_tooltip.hbs
message_reaction.hbs templates: Fix   syntax. 2023-03-15 16:34:32 -07:00
message_reactions.hbs
message_view_header.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
mobile_message_buttons_popover_content.hbs private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
more_pms.hbs
more_topics.hbs topic_list: Show muted unread counts in muted streams. 2023-05-01 21:13:53 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs topic_edit: Rename `inline_topic_edit` to `move_messages_edit_topic`. 2023-05-09 13:51:07 -07:00
muted_user_ui_row.hbs
narrow_to_compose_recipients_tooltip.hbs
narrow_tooltip.hbs CVE-2023-33186: Fix topic tooltip cross-site scripting vulnerability. 2023-05-29 16:35:49 -07:00
navbar.hbs search: Remove unused `search_open` classname. 2023-06-23 11:33:03 -07:00
navbar_icon_and_title.hbs stream_privacy: Use new lock and hashtag icons. 2023-04-10 23:41:30 -07:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
pm_list_item.hbs left_sidebar: Replace the presence dot with bot icon for bots. 2023-04-28 19:14:00 -07:00
presence_row.hbs
presence_rows.hbs
read_receipts.hbs
read_receipts_modal.hbs
recent_topic_row.hbs recent: Replace presence dot with bot icon for bots. 2023-04-28 19:14:00 -07:00
recent_topics_filters.hbs private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
recent_topics_table.hbs
recipient_row.hbs message_headers: Abbrevate direct message recipient names. 2023-05-09 13:43:40 -07:00
remind_me_popover_content.hbs
resolve_topic_time_limit_error_modal.hbs message_edit: Show modal if user cannot resolve topics. 2023-04-17 11:25:28 -07:00
right_sidebar.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
scheduled_message.hbs tooltips: Use tippy tooltips for drafts and schedule message overlays. 2023-06-13 16:49:54 -07:00
scheduled_message_stream_pm_common.hbs scheduled_message: Change tooltip of failure icon. 2023-05-15 14:43:04 -07:00
scheduled_messages_overlay.hbs scheduled_mesages: Use events to update scheduled message data. 2023-05-01 22:45:03 -07:00
search_list_item.hbs
search_operators.hbs narrow: Document new filters `is:dm`, `dm` and `dm-including`. 2023-04-25 09:07:08 -07:00
send_later_modal.hbs send_later: Extract send later options to separate template. 2023-05-10 16:14:10 -07:00
send_later_modal_options.hbs send_late: Change the class `send_later_options` to an id. 2023-05-15 14:52:06 -07:00
send_later_popover.hbs popover_menus: Show last selected time in send later popover. 2023-05-01 22:45:03 -07:00
set_status_overlay.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
settings_overlay.hbs settings: Update the 'Muted topics' setting. 2023-04-25 12:46:05 -07:00
settings_tab.hbs user_topics: Rename 'muted_topics_settings.hbs'. 2023-04-25 12:46:05 -07:00
single_message.hbs message: Separate unread marker of date_row from message. 2023-05-19 13:48:16 -07:00
starred_messages_sidebar_actions.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
status_emoji.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
status_emoji_selector.hbs css: Hyphenate .smiley-icon selector. 2023-03-27 17:31:31 -07:00
stream_privacy.hbs stream_privacy: Use new lock and hashtag icons. 2023-04-10 23:41:30 -07:00
stream_sidebar_actions.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
stream_sidebar_row.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
stream_topic_widget.hbs
streams_subheader.hbs
subscribe_to_more_streams.hbs
tooltip_templates.hbs gear_menu: Rename tooltip to reflect name change from 'Menu' to 'Main menu'. 2023-06-23 14:42:34 -07:00
topic_edit_form.hbs topic_edit: Rename `inline_topic_edit` to `move_messages_edit_topic`. 2023-05-09 13:51:07 -07:00
topic_list_item.hbs left_sidebar: Display unmuted topic in regular font (not faded). 2023-04-24 11:40:58 -07:00
topic_muted.hbs
topic_sidebar_actions.hbs popovers: Tweak mute/unmute icons for topic menu. 2023-04-25 18:00:11 -07:00
topic_typeahead_hint.hbs compose_typeahead: Add hint text to topic typeahead dropdown. 2023-03-20 16:28:28 -07:00
typeahead_list_item.hbs typeahead: Show stream privacy icons in typeahead options. 2023-04-17 17:19:11 -07:00
typing_notification.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
typing_notifications.hbs
user_custom_profile_fields.hbs
user_group_info_popover.hbs
user_group_info_popover_content.hbs
user_group_list_item.hbs
user_info_popover_content.hbs web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
user_info_popover_manage_menu.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
user_info_popover_title.hbs
user_profile_modal.hbs profile_popover: Remove the display presence dot for bots. 2023-04-28 19:14:00 -07:00
user_stream_list_item.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
user_topic_ui_row.hbs settings: Update the 'Muted topics' setting. 2023-04-25 12:46:05 -07:00
user_with_status_icon.hbs
view_code_in_playground.hbs