mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
This commit improves the design of the inline topic edit UI by making the following changes: - Increases the dimensions of the text input element. - Fixes the font scaling inside text input element. - Replaces the old save and cancel buttons with the new icon buttons. Fixes #33155.
12 lines
930 B
Handlebars
12 lines
930 B
Handlebars
{{! Client-side Handlebars template for rendering the topic edit form. }}
|
|
|
|
<form id="topic_edit_form">
|
|
<input type="text" value="" autocomplete="off" maxlength="{{ max_topic_length }}"
|
|
class="inline_topic_edit header-v {{#unless realm_mandatory_topics}}empty-topic-placeholder-display{{/unless}}"
|
|
{{#unless realm_mandatory_topics}}placeholder="{{empty_string_topic_display_name}}"{{/unless}} />
|
|
{{> components/icon_button squared=true custom_classes="topic_edit_save tippy-zulip-delayed-tooltip" icon="check" intent="brand" data-tooltip-template-id="save-button-tooltip-template" }}
|
|
{{> components/icon_button squared=true custom_classes="topic_edit_cancel tippy-zulip-delayed-tooltip" icon="circle-x" intent="neutral" data-tooltip-template-id="cancel-button-tooltip-template" }}
|
|
<div class="alert alert-error edit_error" style="display: none"></div>
|
|
<div class="topic_edit_spinner"></div>
|
|
</form>
|