summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html51
1 files changed, 30 insertions, 21 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html b/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
index 953b0ef40..e1dc852d9 100644
--- a/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
+++ b/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
@@ -1,27 +1,36 @@
{% extends "ishtar/blocks/base_shortcut_menu.html" %}
{% load i18n %}
{% block short_content %}
-<div class="short-menu-buttons btn-group" role="group">
- <button type="button" class="btn btn-secondary"
- id='short-menu-simple' title="{% trans 'Simple menu limited to your own items. Be careful only the last 100 items are displayed.' %}">{% trans "simple" %}</button>
- <button type="button" class="btn btn-secondary active" id='short-menu-advanced' title="{% trans 'Advanced menu' %}">{% trans "advanced" %}</button>
-</div>
-<div id='action_current_items' class="btn-group" role="group">
- <button type="button" onclick='return activate_own_search();'
- title="{% trans 'Search within my items' %}"
- class='btn btn-secondary activate_own_search{% if SHORTCUT_SEARCH == "own" %} active{% endif %}'>
- <i class="icon fa fa-user" aria-hidden="true"></i>
- </button>
- <button type="button" onclick='return activate_all_search();'
- title="{% trans 'Search within all items' %}"
- class='btn btn-secondary activate_all_search{% if SHORTCUT_SEARCH == "all" %} active{% endif %}'>
- <i class="icon fa fa-users" aria-hidden="true"></i>
- </button>
- {% comment %}
- <p>
- <a href='' onclick='return load_shortcut_menu();' class='disabled'><i class="icon fa fa-2x fa-refresh" aria-hidden="true" title="{% trans 'Refresh menu' %}"></i></a>
- </p>
- {% endcomment %}
+<div class="d-flex">
+ <div class="short-menu-buttons btn-group p-2" role="group">
+ <button type="button" class="btn btn-secondary"
+ id='short-menu-simple' title="{% trans 'Simple menu limited to your own items. Be careful only the last 100 items are displayed.' %}">{% trans "simple" %}</button>
+ <button type="button" class="btn btn-secondary active" id='short-menu-advanced' title="{% trans 'Advanced menu' %}">{% trans "advanced" %}</button>
+ </div>
+ <div id='action_current_items' class="btn-group p-2" role="group">
+ <button type="button" onclick='return activate_own_search();'
+ title="{% trans 'Search within my items' %}"
+ class='btn btn-secondary activate_own_search{% if SHORTCUT_SEARCH == "own" %} active{% endif %}'>
+ <i class="icon fa fa-user" aria-hidden="true"></i>
+ </button>
+ <button type="button" onclick='return activate_all_search();'
+ title="{% trans 'Search within all items' %}"
+ class='btn btn-secondary activate_all_search{% if SHORTCUT_SEARCH == "all" %} active{% endif %}'>
+ <i class="icon fa fa-users" aria-hidden="true"></i>
+ </button>
+ {% comment %}
+ <p>
+ <a href='' onclick='return load_shortcut_menu();' class='disabled'><i class="icon fa fa-2x fa-refresh" aria-hidden="true" title="{% trans 'Refresh menu' %}"></i></a>
+ </p>
+ {% endcomment %}
+ </div>
+ <div class="short-menu-buttons btn-group ml-auto p-2" role="group">
+ <button type="button" class="btn btn-secondary active"
+ id='short-menu-refresh' onclick="location.reload();"
+ title="{% trans 'Refresh current page' %}">
+ <i class="icon fa fa-refresh" aria-hidden="true"></i>
+ </button>
+ </div>
</div>
<p id='current_items'>
{% for lbl, model_name, current, widget in menu %}