page-title-actions.html 929 字节
Newer Older
C
codecalm 已提交
1 2 3
{% assign actions = include.actions %}

<!-- Page title actions -->
C
codecalm 已提交
4
<div class="col-auto ml-auto d-print-none">
C
codecalm 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
	{% if actions == 'users' %}
		<div class="d-flex">
			<input type="search" class="form-control d-inline-block w-9 mr-3" placeholder="Search user&hellip;"/>
			{% include_cached ui/button.html text="New user" color="primary" icon="plus" %}
		</div>
	{% elsif actions == 'calendar' %}
		<div class="d-flex">
			{% include_cached ui/button.html text="Add event" color="primary" icon="plus" %}
		</div>
	{% elsif actions == 'breadcrumb' %}
		<div class="d-flex">
			{% include_cached ui/breadcrumb.html class="breadcrumb-alternate" %}
		</div>
	{% elsif actions == 'buttons' %}
		<span class="d-none d-sm-inline">
C
codecalm 已提交
20
			{% include_cached ui/button.html text="New view" color="secondary" icon="plus" %}
C
codecalm 已提交
21 22 23 24
		</span>
		{% include_cached ui/button.html text="Create new report" color="primary" class="ml-3" %}
	{% endif %}
</div>