styles: Remove all dead code of m-10 style class from settings.

Remove dead style class m-10 and add m-t-10 class in settings templates.
This commit is contained in:
YJDave 2018-01-21 15:19:25 +05:30 committed by showell
parent 8a1fb5bae5
commit e7cae000cf
5 changed files with 14 additions and 10 deletions

View File

@ -1100,6 +1100,10 @@ input[type=checkbox].inline-block {
width: 100%;
}
.m-t-10 {
margin-top: 10px;
}
.create-stream-dropdown {
margin-right: 10px;
margin-bottom: 5px;

View File

@ -42,7 +42,7 @@
<form action="/json/settings" method="patch"
class="form-horizontal your-account-settings">
<div class="m-10 inline-block grid user-name-parent">
<div class="inline-block grid user-name-parent">
<div class="user-name-section inline-block">
<div class="input-group" id="name_change_container">
<label for="full_name" class="inline-block title">{{t "Full name" }}</label>

View File

@ -11,7 +11,7 @@
<div class="alert" id="admin-realm-create-stream-by-admins-only-status"></div>
<div class="alert" id="admin-realm-create-generic-bot-by-admins-only-status"></div>
<div class="side-padded-container m-10 inline-block organization-permissions-parent">
<div class="side-padded-container inline-block organization-permissions-parent">
<div class="input-group admin-restricted-to-domain">
<label class="checkbox">
<input type="checkbox" name="realm_restricted_to_domain" id="id_realm_restricted_to_domain"
@ -49,7 +49,7 @@
</div>
<h3 class="light">{{t "User identity" }}</h3>
<div class="side-padded-container m-10 inline-block organization-permissions-parent">
<div class="side-padded-container inline-block organization-permissions-parent">
<div class="input-group">
<label class="checkbox">
<input type="checkbox" id="id_realm_name_changes_disabled" name="realm_name_changes_disabled"
@ -74,7 +74,7 @@
</div>
<h3 class="light">{{t "Other permissions" }}</h3>
<div class="m-10 organization-permissions-parent">
<div class="organization-permissions-parent">
<div class="inline-block create-stream-dropdown">
<label for="realm_create_stream_permission" class="dropdown-title">{{t "Who can create streams" }}</label>
<select name="realm_create_stream_permission" id="id_realm_create_stream_permission">
@ -92,7 +92,7 @@
value="{{ realm_waiting_period_threshold }}"/>
</div>
</div>
<div class="m-10 inline-block organization-permissions-parent">
<div class="m-t-10 inline-block organization-permissions-parent">
<div class="inline-block">
<label for="realm_add_emoji_by_admins_only" class="dropdown-title">{{t "Who can add emoji" }}</label>
<select name="realm_add_emoji_by_admins_only" id="id_realm_add_emoji_by_admins_only">
@ -103,7 +103,7 @@
</div>
<h3 class="light">{{t "Interactive bots" }}</h3>
<div class="side-padded-container m-10 inline-block organization-permissions-parent">
<div class="side-padded-container inline-block organization-permissions-parent">
<div class="input-group">
<label class="checkbox">
<input type="checkbox" id="id_realm_create_generic_bot_by_admins_only" name="realm_create_generic_bot_by_admins_only"

View File

@ -5,7 +5,7 @@
<div class="alert" id="admin-realm-name-status"></div>
<div class="alert" id="admin-realm-description-status"></div>
<div class="m-10 inline-block organization-settings-parent">
<div class="inline-block organization-settings-parent">
<div class="input-group admin-realm">
<label for="id_realm_name">{{t "Your organization's name" }}</label>
<input type="text" id="id_realm_name" name="realm_name" class="admin-realm-name"

View File

@ -12,7 +12,7 @@
<div class="alert" id="admin-realm-mandatory-topics-status"></div>
<h3 class="light">{{t "Message editing" }}</h3>
<div class="side-padded-container m-10 inline-block organization-permissions-parent">
<div class="side-padded-container inline-block organization-permissions-parent">
<div class="input-group">
<label class="checkbox">
<input type="checkbox" id="id_realm_allow_message_editing" name="realm_allow_message_editing"
@ -62,7 +62,7 @@
</div>
<h3 class="light">{{t "Message feed" }}</h3>
<div class="side-padded-container m-10 inline-block organization-permissions-parent">
<div class="side-padded-container inline-block organization-permissions-parent">
{{#if false}}
<div class="input-group">
<label for="realm_message_retention_days"
@ -124,7 +124,7 @@
<h3 class="light">{{t "Language &amp; notifications" }}</h3>
<div class="m-10 inline-block organization-settings-parent">
<div class="inline-block organization-settings-parent">
<div class="input-group">
<label for="realm_default_language" class="dropdown-title">{{t "Default language" }}:</label>
<select name="realm_default_language" id="id_realm_default_language">