Expose quickie lookup for butterball theme
This commit is contained in:
parent
9a841ba5e2
commit
b98d651144
|
@ -736,31 +736,20 @@
|
||||||
|
|
||||||
<div style="display: flex; gap: 0.5rem;">
|
<div style="display: flex; gap: 0.5rem;">
|
||||||
|
|
||||||
## ## Quickie Lookup
|
## Quickie Lookup
|
||||||
## % if quickie is not Undefined and quickie and request.has_perm(quickie.perm):
|
% if quickie is not Undefined and quickie and request.has_perm(quickie.perm):
|
||||||
## <div class="level-item">
|
${h.form(quickie.url, method='get', style='display: flex; gap: 0.5rem; margin-right: 1rem;')}
|
||||||
## ${h.form(quickie.url, method="get")}
|
<b-input name="entry"
|
||||||
## <div class="level">
|
placeholder="${quickie.placeholder}"
|
||||||
## <div class="level-right">
|
autocomplete="off">
|
||||||
## <div class="level-item">
|
</b-input>
|
||||||
## <b-input name="entry"
|
<o-button variant="primary"
|
||||||
## placeholder="${quickie.placeholder}"
|
native-type="submit"
|
||||||
## autocomplete="off">
|
icon-left="search">
|
||||||
## </b-input>
|
Lookup
|
||||||
## </div>
|
</o-button>
|
||||||
## <div class="level-item">
|
${h.end_form()}
|
||||||
## <button type="submit" class="button is-primary">
|
% endif
|
||||||
## <span class="icon is-small">
|
|
||||||
## <i class="fas fa-search"></i>
|
|
||||||
## </span>
|
|
||||||
## <span>Lookup</span>
|
|
||||||
## </button>
|
|
||||||
## </div>
|
|
||||||
## </div>
|
|
||||||
## </div>
|
|
||||||
## ${h.end_form()}
|
|
||||||
## </div>
|
|
||||||
## % endif
|
|
||||||
|
|
||||||
% if master and master.configurable and master.has_perm('configure'):
|
% if master and master.configurable and master.has_perm('configure'):
|
||||||
% if not request.matched_route.name.endswith('.configure'):
|
% if not request.matched_route.name.endswith('.configure'):
|
||||||
|
|
Loading…
Reference in a new issue