Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

templates: Add settings_text_input class to various inputs.

Sahil Batraaef557054e8d
diff --git a/web/templates/settings/linkifier_settings_admin.hbs b/web/templates/settings/linkifier_settings_admin.hbs
index 90d46df634e..9e584fc7d68 100644
--- a/web/templates/settings/linkifier_settings_admin.hbs
+++ b/web/templates/settings/linkifier_settings_admin.hbs
@@ -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">
diff --git a/web/templates/settings/playground_settings_admin.hbs b/web/templates/settings/playground_settings_admin.hbs
index ccdb658c9ba..7497bf1689e 100644
--- a/web/templates/settings/playground_settings_admin.hbs
+++ b/web/templates/settings/playground_settings_admin.hbs
@@ -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' }}
diff --git a/web/templates/user_group_settings/user_group_creation_form.hbs b/web/templates/user_group_settings/user_group_creation_form.hbs
index 547aeaf367e..cf5d043d838 100644
--- a/web/templates/user_group_settings/user_group_creation_form.hbs
+++ b/web/templates/user_group_settings/user_group_creation_form.hbs
@@ -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">