mirror of https://github.com/zulip/zulip.git
templates: Add modal_text_input class where it is missing.
This commit adds modal_text_input class to: - Input for payload url in new bot form. We add modal_text_input class as type attribute for it has been set to "text". - Inputs in old user group creation modal. - Input in set status modal. - Inputs in linkifier edit modal. - Inputs for options for "List of options" type custom profile field. This change is needed as we would be removing the bootstrap CSS for text inputs and further commits and the required CSS is added to modal_text_input class.
This commit is contained in:
parent
b51bce7c90
commit
04debf72df
|
@ -2,7 +2,7 @@
|
|||
<div class="status-emoji-wrapper tippy-zulip-tooltip" data-tippy-content="{{t 'Select emoji' }}" data-tippy-placement="top" aria-label="{{t 'Select emoji' }}" tabindex="0" id="selected_emoji">
|
||||
{{> status_emoji_selector}}
|
||||
</div>
|
||||
<input type="text" class="user-status" placeholder="{{t 'Your status' }}" maxlength="60"/>
|
||||
<input type="text" class="user-status modal_text_input" placeholder="{{t 'Your status' }}" maxlength="60"/>
|
||||
<button type="button" class="btn clear_search_button" id="clear_status_message_button" disabled="disabled">
|
||||
<i class="fa fa-remove" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<div id="payload_url_inputbox">
|
||||
<div class="input-group">
|
||||
<label for="create_payload_url">{{t "Endpoint URL" }}</label>
|
||||
<input type="text" name="payload_url" id="create_payload_url"
|
||||
<input type="text" name="payload_url" id="create_payload_url" class="modal_text_input"
|
||||
maxlength=2083 placeholder="https://hostname.example.com" value="" />
|
||||
<div><label for="create_payload_url" generated="true" class="text-error"></label></div>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
</div>
|
||||
<div>
|
||||
<label for="user_group_description">{{t "Description" }}</label>
|
||||
<input type="text" name="description" id="user_group_description" maxlength="300" placeholder="{{t 'Marketing team' }}" />
|
||||
<input type="text" name="description" id="user_group_description" class="modal_text_input" maxlength="300" placeholder="{{t 'Marketing team' }}" />
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<form class="linkifier-edit-form">
|
||||
<div class="input-group name_change_container">
|
||||
<label for="edit-linkifier-pattern" >{{t "Pattern" }}</label>
|
||||
<input type="text" autocomplete="off" id="edit-linkifier-pattern" name="pattern" placeholder="#(?P<id>[0-9]+)" value="{{ pattern }}" />
|
||||
<input type="text" autocomplete="off" id="edit-linkifier-pattern" class="modal_text_input" name="pattern" placeholder="#(?P<id>[0-9]+)" value="{{ pattern }}" />
|
||||
<div class="alert" id="edit-linkifier-pattern-status"></div>
|
||||
</div>
|
||||
<div class="input-group name_change_container">
|
||||
<label for="edit-linkifier-url-template" >{{t "URL template" }}</label>
|
||||
<input type="text" autocomplete="off" id="edit-linkifier-url-template" name="url_template" placeholder="https://github.com/zulip/zulip/issues/{id}" value="{{ url_template }}" />
|
||||
<input type="text" autocomplete="off" id="edit-linkifier-url-template" class="modal_text_input" name="url_template" placeholder="https://github.com/zulip/zulip/issues/{id}" value="{{ url_template }}" />
|
||||
<div class="alert" id="edit-linkifier-template-status"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class='choice-row movable-profile-field-row' data-value="{{value}}">
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
<input type='text' placeholder='{{t "New option" }}' value="{{ text }}" />
|
||||
<input type='text' class="modal_text_input" placeholder='{{t "New option" }}' value="{{ text }}" />
|
||||
|
||||
<button type='button' class="button rounded small delete-choice" title="{{t 'Delete' }}">
|
||||
<i class="fa fa-trash-o" aria-hidden="true"></i>
|
||||
|
|
Loading…
Reference in New Issue