settings: Place the saving indicator in the header.

Fixes #21441.
This commit is contained in:
Ganesh Pawar 2022-03-20 22:28:28 +05:30 committed by Tim Abbott
parent 7a25a80242
commit b7edd5df2f
8 changed files with 7 additions and 15 deletions

View File

@ -699,13 +699,6 @@ input[type="checkbox"] {
text-align: right; text-align: right;
} }
#account-settings-status {
text-align: center;
width: 50%;
margin: auto;
margin-bottom: 20px;
}
.add-new-emoji-box, .add-new-emoji-box,
.add-new-user-group-box, .add-new-user-group-box,
.add-new-alert-word-box, .add-new-alert-word-box,

View File

@ -4,8 +4,8 @@
<div class="inline-block"> <div class="inline-block">
<div id="user_details_section"> <div id="user_details_section">
<h3 class="inline-block">{{t "Account" }}</h3> <h3 class="inline-block">{{t "Account" }}</h3>
<div class="alert-notification" id="account-settings-status"></div>
<form class="email-change-form grid"> <form class="email-change-form grid">
<div class="alert-notification" id="account-settings-status"></div>
<div class="input-group"> <div class="input-group">
<label class="inline-block title">{{t "Email" }}</label> <label class="inline-block title">{{t "Email" }}</label>
<button id='change_email' type="button" class="button btn-link small rounded inline-block" <button id='change_email' type="button" class="button btn-link small rounded inline-block"

View File

@ -1,10 +1,10 @@
<div id="admin-bot-list" class="settings-section" data-name="bot-list-admin"> <div id="admin-bot-list" class="settings-section" data-name="bot-list-admin">
<div class="tip bot-settings-tip"></div> <div class="tip bot-settings-tip"></div>
<div class="alert-notification" id="bot-field-status"></div>
<div class="clear-float"></div> <div class="clear-float"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Bots"}}</h3> <h3>{{t "Bots"}}</h3>
<div class="alert-notification" id="bot-field-status"></div>
<input type="text" class="search" placeholder="{{t 'Filter bots' }}" aria-label="{{t 'Filter bots' }}"/> <input type="text" class="search" placeholder="{{t 'Filter bots' }}" aria-label="{{t 'Filter bots' }}"/>
</div> </div>

View File

@ -1,11 +1,11 @@
<div id="admin-deactivated-users-list" class="settings-section" data-name="deactivated-users-admin"> <div id="admin-deactivated-users-list" class="settings-section" data-name="deactivated-users-admin">
<div class="alert-notification" id="deactivated-user-field-status"></div>
<div class="clear-float"></div> <div class="clear-float"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Deactivated users" }} <h3>{{t "Deactivated users" }}
{{> ../help_link_widget link="/help/deactivate-or-reactivate-a-user" }} {{> ../help_link_widget link="/help/deactivate-or-reactivate-a-user" }}
</h3> </h3>
<div class="alert-notification" id="deactivated-user-field-status"></div>
<input type="text" class="search" placeholder="{{t 'Filter deactivated users' }}" aria-label="{{t 'Filter deactivated users' }}"/> <input type="text" class="search" placeholder="{{t 'Filter deactivated users' }}" aria-label="{{t 'Filter deactivated users' }}"/>
</div> </div>

View File

@ -5,10 +5,10 @@
{{#if can_invite_others_to_realm}} {{#if can_invite_others_to_realm}}
<a class="invite-user-link" href="#invite"><i class="fa fa-user-plus" aria-hidden="true"></i>{{t "Invite more users" }}</a> <a class="invite-user-link" href="#invite"><i class="fa fa-user-plus" aria-hidden="true"></i>{{t "Invite more users" }}</a>
{{/if}} {{/if}}
<div class="alert-notification" id="invites-field-status"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Invites"}}</h3> <h3>{{t "Invites"}}</h3>
<div class="alert-notification" id="invites-field-status"></div>
<input type="text" class="search" placeholder="{{t 'Filter invites' }}" aria-label="{{t 'Filter invites' }}"/> <input type="text" class="search" placeholder="{{t 'Filter invites' }}" aria-label="{{t 'Filter invites' }}"/>
</div> </div>

View File

@ -65,10 +65,9 @@
</form> </form>
{{/if}} {{/if}}
<div class="alert-notification edit-linkifier-status" id="linkifier-field-status"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Linkifiers"}}</h3> <h3>{{t "Linkifiers"}}</h3>
<div class="alert-notification edit-linkifier-status" id="linkifier-field-status"></div>
<input type="text" class="search" placeholder="{{t 'Filter linkifiers' }}" aria-label="{{t 'Filter linkifiers' }}"/> <input type="text" class="search" placeholder="{{t 'Filter linkifiers' }}" aria-label="{{t 'Filter linkifiers' }}"/>
</div> </div>

View File

@ -1,7 +1,7 @@
<div id="profile-field-settings" class="settings-section" data-name="profile-field-settings"> <div id="profile-field-settings" class="settings-section" data-name="profile-field-settings">
<div class="alert-notification" id="admin-profile-field-status"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Custom profile fields"}}</h3> <h3>{{t "Custom profile fields"}}</h3>
<div class="alert-notification" id="admin-profile-field-status"></div>
</div> </div>
<div class="admin-table-wrapper"> <div class="admin-table-wrapper">
<table class="table table-condensed table-striped admin_profile_fields_table"> <table class="table table-condensed table-striped admin_profile_fields_table">

View File

@ -1,10 +1,10 @@
<div id="admin-user-list" class="settings-section" data-name="user-list-admin"> <div id="admin-user-list" class="settings-section" data-name="user-list-admin">
<div class="alert-notification" id="user-field-status"></div>
<div class="clear-float"></div> <div class="clear-float"></div>
<div class="settings_panel_list_header"> <div class="settings_panel_list_header">
<h3>{{t "Users"}}</h3> <h3>{{t "Users"}}</h3>
<div class="alert-notification" id="user-field-status"></div>
<input type="text" class="search" placeholder="{{t 'Filter users' }}" aria-label="{{t 'Filter users' }}"/> <input type="text" class="search" placeholder="{{t 'Filter users' }}" aria-label="{{t 'Filter users' }}"/>
</div> </div>