|
|
@ -60,16 +60,18 @@ |
|
|
|
</t> |
|
|
|
<!-- To show the search results when the user search app from the app drawer --> |
|
|
|
<t t-name="jazzy_backend_theme.SearchResults"> |
|
|
|
<t t-foreach="results" t-as="result"> |
|
|
|
<a t-attf-class="o-menu-search-result dropdown-item col-12 ml-auto mr-auto #{result_first ? 'active' : ''}" |
|
|
|
t-attf-style="background-image:url('data:image/png;base64,#{result.webIconData}')" |
|
|
|
t-attf-href="#menu_id=#{result.id}&action_id=#{result.actionID}" |
|
|
|
t-att-data-menu-id="result.id" |
|
|
|
t-att-data-action-id="result.actionID" |
|
|
|
t-raw="result.name" |
|
|
|
style="color:white;" |
|
|
|
onclick="$('.o_menu_sections').css('display','flex');$('.search-results').addClass('o_hidden');$('.o_menu_brand').css('display','flex');$('.app_components').css('display','none'); $('.app-menu').removeClass('o_hidden'); $('.search-input input').val('');$('.o_action_manager').attr('style','display: block !important');$('.sidebar_panel').attr('style','display: block !important');"/> |
|
|
|
</t> |
|
|
|
<div class="search-results-wrapper" style="overflow-y: auto; overflow-x: hidden; max-height: 750px;"> |
|
|
|
<t t-foreach="results" t-as="result"> |
|
|
|
<a t-attf-class="o-menu-search-result dropdown-item col-12 ml-auto mr-auto #{result_first ? 'active' : ''}" |
|
|
|
t-attf-style="background-image:url('data:image/png;base64,#{result.webIconData}')" |
|
|
|
t-attf-href="#menu_id=#{result.id}&action_id=#{result.actionID}" |
|
|
|
t-att-data-menu-id="result.id" |
|
|
|
t-att-data-action-id="result.actionID" |
|
|
|
t-raw="result.name" |
|
|
|
style="color:white;" |
|
|
|
onclick="$('.o_menu_sections').css('display','flex');$('.search-results').addClass('o_hidden');$('.o_menu_brand').css('display','flex');$('.app_components').css('display','none'); $('.app-menu').removeClass('o_hidden'); $('.search-input input').val('');$('.o_action_manager').attr('style','display: block !important');$('.sidebar_panel').attr('style','display: block !important');"/> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
<!-- To show the sidebar to select the apps from the sidebar --> |
|
|
|
<t t-inherit="web.NavBar" t-inherit-mode="extension" owl="1"> |
|
|
|