[IMP] web,base: improve UI of no content helper in settings

Currently, empty screen of the settings is not very beautiful
without proper action helper and decoration. It displays only
'no record found' string when no setting is found for the
search string.

With this commit, we make the no content helper for the settings
consistent with other apps. It now displays empty folder and
proper helper message.

TaskID-2588387

closes odoo/odoo#74570

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Munaf Khan
2021-08-03 04:55:32 +00:00
committed by Dharmraj Jhala
parent 098e541a97
commit ac34cb5938
2 changed files with 11 additions and 8 deletions
@@ -140,13 +140,6 @@
}
}
.notFound {
color : $text-muted;
text-align: center;
font-size: 25px;
padding-top: 50px;
}
.highlighter {
background: yellow;
}
@@ -24,7 +24,17 @@
<div class="o_setting_container">
<div class="settings_tab"/>
<div class="settings">
<div class="notFound o_hidden">No Record Found</div>
<div class="notFound o_hidden">
<div class="o_view_nocontent">
<div class="o_nocontent_help">
<p class="o_view_nocontent_empty_folder">
No setting found
</p><p>
Try searching for another keyword
</p>
</div>
</div>
</div>
</div>
</div>
</form>