buttons.html 2.9 KB
Newer Older
C
chomik 已提交
1 2
---
title: Buttons
M
mrszympek 已提交
3
done: true
C
chomik 已提交
4 5 6 7 8 9 10 11 12 13 14
---

<p>
    {% include ui/button.html text="Button" %}
    {% include ui/button.html text="Button value" %}
    {% include ui/button.html text="Button" color="primary" %}
    {% include ui/button.html text="Button" color="secondary" %}
    {% include ui/button.html text="Button" color="green" %}
    {% include ui/button.html text="Button" color="teal" %}
    {% include ui/button.html text="Button" color="yellow" %}
    {% include ui/button.html text="Button" color="dark" %}
C
codecalm 已提交
15
    {% include ui/button.html text="Button" color="red" link=true %}
C
chomik 已提交
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    {% include ui/button.html text="Button" color="red" disabled=true %}
    {% include ui/button.html text="Button" link=true %}
    {% include ui/button.html text="Button" link=true class="text-danger" %}
</p>
<p>
    {% include ui/button.html text="Button" color="red" square=true %}
    {% include ui/button.html text="Button" color="red" pill=true %}
    {% include ui/button.html text="Button" color="red" pill=true outline=true %}
    {% include ui/button.html text="Button" color="red" outline=true %}
    {% include ui/button.html text="Button" color="twitter" icon="twitter" %}
    {% include ui/button.html color="facebook" icon="facebook" %}
    {% include ui/button.html color="github" icon="github" %}
</p>
<p>
	{% include ui/button.html text="Button" color="red" size="lg" %}
	{% include ui/button.html text="Button" color="red" size="sm" %}
</p>
<p>
    {% include ui/button.html text="Button" block=true color="primary" %}
    {% include ui/button.html text="Button" block=true color="secondary" %}
</p>
<p>
C
codecalm 已提交
38 39 40
	<a href="javascript:void(0)" class="btn btn-secondary">{% include ui/avatar.html person-id="4" class="btn-avatar" %} Avatar</a>
	<a href="javascript:void(0)" class="btn btn-secondary">{% include ui/avatar.html person-id="5" class="btn-avatar" %} Avatar</a>
	<a href="javascript:void(0)" class="btn btn-secondary">{% include ui/avatar.html person-id="6" class="btn-avatar" %} Avatar</a>
C
chomik 已提交
41 42
</p>
<p>
C
codecalm 已提交
43 44 45 46
	<a href="javascript:void(0)" class="btn btn-primary btn-loading"><span class="loader btn-loader"></span> Loading&hellip;</a>
	<a href="javascript:void(0)" class="btn btn-secondary btn-loading"><span class="loader btn-loader"></span> Loading&hellip;</a>
	<a href="javascript:void(0)" class="btn btn-warning btn-loading"><span class="loader btn-loader"></span> Loading&hellip;</a>
	<a href="javascript:void(0)" class="btn btn-outline-danger btn-loading"><span class="loader btn-loader"></span> Loading&hellip;</a>
C
chomik 已提交
47 48 49 50 51 52 53 54 55 56
</p>

<p>
  {% include ui/button.html text="Button" label="star" color="primary" %}
  {% include ui/button.html text="Button" label="star" color="green" %}
  {% include ui/button.html text="Button" label="star" color="lime" %}
  {% include ui/button.html text="Button" label="star" color="pink" %}
  {% include ui/button.html text="Button" label="star" color="yellow" %}
  {% include ui/button.html text="Button" label="star" color="orange" %}
</p>