mirror of https://github.com/zulip/zulip.git
templates: Add settings_text_input class to various inputs.
This commit adds settings_text_input class to inputs in the playground and linkifier panels, excluding the search inputs as they are handled by filter_text_input class, and also to the description input in the new user group creation form. After adding this class, the bootstrap CSS rules to these inputs are applied using the "settings_text_input" class.
This commit is contained in:
parent
96014c1123
commit
aef557054e
|
@ -40,12 +40,12 @@
|
|||
<div class="alert" id="admin-linkifier-status"></div>
|
||||
<div class="input-group">
|
||||
<label for="linkifier_pattern">{{t "Pattern" }}</label>
|
||||
<input type="text" id="linkifier_pattern" name="pattern" placeholder="#(?P<id>[0-9]+)" />
|
||||
<input type="text" id="linkifier_pattern" class="settings_text_input" name="pattern" placeholder="#(?P<id>[0-9]+)" />
|
||||
<div class="alert" id="admin-linkifier-pattern-status"></div>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label for="linkifier_template">{{t "URL template" }}</label>
|
||||
<input type="text" id="linkifier_template" name="url_template" placeholder="https://github.com/zulip/zulip/issues/{id}" />
|
||||
<input type="text" id="linkifier_template" class="settings_text_input" name="url_template" placeholder="https://github.com/zulip/zulip/issues/{id}" />
|
||||
<div class="alert" id="admin-linkifier-template-status"></div>
|
||||
</div>
|
||||
<button type="submit" class="button rounded sea-green">
|
||||
|
|
|
@ -45,15 +45,15 @@
|
|||
<div class="alert" id="admin-playground-status"></div>
|
||||
<div class="input-group">
|
||||
<label for="playground_pygments_language"> {{t "Language" }}</label>
|
||||
<input type="text" id="playground_pygments_language" name="pygments_language" autocomplete="off" placeholder="Python" />
|
||||
<input type="text" id="playground_pygments_language" class="settings_text_input" name="pygments_language" autocomplete="off" placeholder="Python" />
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label for="playground_name"> {{t "Name" }}</label>
|
||||
<input type="text" id="playground_name" name="playground_name" autocomplete="off" placeholder="Python3 playground" />
|
||||
<input type="text" id="playground_name" class="settings_text_input" name="playground_name" autocomplete="off" placeholder="Python3 playground" />
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label for="playground_url_prefix"> {{t "URL prefix" }}</label>
|
||||
<input type="text" id="playground_url_prefix" name="url_prefix" placeholder="https://replit.com/languages/python3/?code=" />
|
||||
<input type="text" id="playground_url_prefix" class="settings_text_input" name="url_prefix" placeholder="https://replit.com/languages/python3/?code=" />
|
||||
</div>
|
||||
<button type="submit" id="submit_playground_button" class="button rounded sea-green">
|
||||
{{t 'Add code playground' }}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<label for="create_user_group_description">
|
||||
{{t "User group description" }}
|
||||
</label>
|
||||
<input type="text" name="user_group_description" id="create_user_group_description"
|
||||
<input type="text" name="user_group_description" id="create_user_group_description" class="settings_text_input"
|
||||
placeholder="{{t 'User group description' }}" value="" autocomplete="off" />
|
||||
</section>
|
||||
<section class="block">
|
||||
|
|
Loading…
Reference in New Issue