mirror of
https://github.com/tabler/tabler.git
synced 2026-07-27 13:34:37 +04:00
Merge branch 'dev' into dev-daterangepicker
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
<div class="text-muted">{{ article.description | truncate: truncate }}</div>
|
||||
|
||||
<div class="d-flex align-items-center pt-5 mt-auto">
|
||||
{% include_cached ui/avatar.html person-id=avatar size="md" %}
|
||||
{% include ui/avatar.html person-id=avatar size="md" %}
|
||||
<div class="ml-3">
|
||||
<a href="{{ site.base }}/profile.html" class="text-body">{{ author.first_name }} {{ author.last_name }}</a>
|
||||
<small class="d-block text-muted">3 days ago</small>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<a href="#" class="icon d-none d-md-inline-block ml-3 {% if liked %}text-red{% else %}text-muted{% endif %}">
|
||||
{% include_cached ui/icon.html icon="heart" use-svg=true %}
|
||||
{% include ui/icon.html icon="heart" use-svg=true %}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="card-group">
|
||||
{% include_cached cards/card.html link=true class="text-center" body="This is first card" inactive=true %}
|
||||
{% include_cached cards/card.html link=true class="text-center" body="This is second card" active=true %}
|
||||
{% include_cached cards/card.html link=true class="text-center" body="This is third card" %}
|
||||
{% include cards/card.html link=true class="text-center" body="This is first card" inactive=true %}
|
||||
{% include cards/card.html link=true class="text-center" body="This is second card" active=true %}
|
||||
{% include cards/card.html link=true class="text-center" body="This is third card" %}
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{% for person in site.data.people limit: 3 %}
|
||||
<div class="d-flex{% unless forloop.last %} mb-5{% endunless %}">
|
||||
<div class="mr-4">
|
||||
{% include_cached ui/avatar.html person=person status="green" %}
|
||||
{% include ui/avatar.html person=person status="green" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<div class="d-flex mt-n1">
|
||||
@@ -21,9 +21,9 @@
|
||||
</p>
|
||||
<div class="small">
|
||||
<span class="text-success mr-1">+{{ forloop.index | random_number: 20, 50 }}</span>
|
||||
<a href="#" data-toggle="tooltip" data-placement="top" title="Vote Up">{% include_cached ui/icon.html icon="chevron-up" %}</a>
|
||||
<a href="#" data-toggle="tooltip" data-placement="top" title="Vote Up">{% include ui/icon.html icon="chevron-up" %}</a>
|
||||
<a href="#" class="mr-1" data-toggle="tooltip" data-placement="top" title="Vote Down">
|
||||
{% include_cached ui/icon.html icon="chevron-down" %}
|
||||
{% include ui/icon.html icon="chevron-down" %}
|
||||
</a>
|
||||
<span class="mr-1">·</span>
|
||||
<a href="#" class="mr-1 text-muted">Reply</a>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
{% for person in site.data.people limit: 5 offset: 20 %}
|
||||
<tr>
|
||||
<td class="w-1p">{% include_cached ui/avatar.html src=person.photo %}</td>
|
||||
<td class="w-1p">{% include ui/avatar.html src=person.photo %}</td>
|
||||
<td><a href="#" class="text-reset">{{ person.full_name }}</a></td>
|
||||
<td>{{ person.department }}</td>
|
||||
<td class="w-1 pr-0">{{ forloop.index | random_number: 30, 90 }}%</td>
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="progress-bar bg-{{ forloop.index | random_number: 30, 90 | number_color }}" role="progressbar" style="width: {{ forloop.index | random_number: 30, 90 }}%"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td><a href="" class="text-muted">{% include_cached ui/icon.html icon="more-horizontal" %}</a></td>
|
||||
<td><a href="" class="text-muted">{% include ui/icon.html icon="more-horizontal" %}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="w-1p">
|
||||
{% include_cached ui/avatar.html person-id=10 %}
|
||||
{% include ui/avatar.html person-id=10 %}
|
||||
</td>
|
||||
<td>{{ site.data.people[10].full_name }}</td>
|
||||
<td>Initial commit</td>
|
||||
@@ -21,7 +21,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1p">
|
||||
{% include_cached ui/avatar.html person-id=17 %}
|
||||
{% include ui/avatar.html person-id=17 %}
|
||||
</td>
|
||||
<td>{{ site.data.people[17].full_name }}</td>
|
||||
<td>Main structure</td>
|
||||
@@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1p">
|
||||
{% include_cached ui/avatar.html person-id=16 %}
|
||||
{% include ui/avatar.html person-id=16 %}
|
||||
</td>
|
||||
<td>{{ site.data.people[16].full_name }}</td>
|
||||
<td>Left sidebar adjustments</td>
|
||||
@@ -37,7 +37,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1p">
|
||||
{% include_cached ui/avatar.html person-id=12 %}
|
||||
{% include ui/avatar.html person-id=12 %}
|
||||
</td>
|
||||
<td>{{ site.data.people[12].full_name }}</td>
|
||||
<td>Topbar dropdown style</td>
|
||||
@@ -45,7 +45,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1p">
|
||||
{% include_cached ui/avatar.html person-id=19 %}
|
||||
{% include ui/avatar.html person-id=19 %}
|
||||
</td>
|
||||
<td>{{ site.data.people[19].full_name }}</td>
|
||||
<td>Fixes #625</td>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="card">
|
||||
<div class="card-header d-flex">
|
||||
<a href="#">
|
||||
{% include_cached ui/avatar.html person=person size="md" %}
|
||||
{% include ui/avatar.html person=person size="md" %}
|
||||
</a>
|
||||
<div class="mx-3">
|
||||
<a href="#">{{ person.full_name }}</a>
|
||||
@@ -176,13 +176,13 @@
|
||||
<div class="card-footer">
|
||||
<div class="toolbar toolbar-mx">
|
||||
<a href="#" class="text-muted">
|
||||
{% include_cached ui/icon.html icon="thumbs-up" %} 321 Likes
|
||||
{% include ui/icon.html icon="thumbs-up" %} 321 Likes
|
||||
</a>
|
||||
<a href="#feed-form-{{ id }}" class="text-muted" data-toggle="collapse">
|
||||
{% include_cached ui/icon.html icon="message-square" %} 56 Comments
|
||||
{% include ui/icon.html icon="message-square" %} 56 Comments
|
||||
</a>
|
||||
<a href="#" class="text-muted">
|
||||
{% include_cached ui/icon.html icon="share-2" %}
|
||||
{% include ui/icon.html icon="share-2" %}
|
||||
Share
|
||||
</a>
|
||||
</div>
|
||||
@@ -192,10 +192,10 @@
|
||||
<textarea class="form-control" rows="3"></textarea>
|
||||
<div class="d-flex pt-2">
|
||||
<div class="toolbar mt-1">
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="image" %}</a>
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="video" %}</a>
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="map-pin" %}</a>
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="paperclip" %}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="image" %}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="video" %}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="map-pin" %}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="paperclip" %}</a>
|
||||
</div>
|
||||
<button class="btn btn-sm btn-primary ml-auto">Post</button>
|
||||
</div>
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
<div class="card-body">
|
||||
<a href="#" class="mb-3 d-block"><img src="{{ site.base }}/img/photos/{{ photo.file }}" class="rounded"></a>
|
||||
<div class="d-flex align-items-center">
|
||||
{% include_cached ui/avatar.html person=include.person class="mr-3 rounded" %}
|
||||
{% include ui/avatar.html person=include.person class="mr-3 rounded" %}
|
||||
<div class="lh-sm">
|
||||
<div>{{ include.person.full_name }}</div>
|
||||
<div class="text-muted">{{ forloop.index | random_date_ago: 10 | timeago }}</div>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<a href="#" class="text-muted">
|
||||
{% include_cached ui/icon.html icon="eye" %}
|
||||
{% include ui/icon.html icon="eye" %}
|
||||
{{ forloop.index | random_number: 300, 600 }}
|
||||
</a>
|
||||
<a href="#" class="ml-3 text-muted">
|
||||
{% include_cached ui/icon.html icon="heart" %}
|
||||
{% include ui/icon.html icon="heart" %}
|
||||
{{ forloop.index | random_number: 20, 100 }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<ul class="icons-list">
|
||||
{% for icon in site.data.icons[include.group] %}
|
||||
<li class="icons-list-item">
|
||||
{% include_cached ui/icon.html icon=icon class="icon-md" %}
|
||||
{% include ui/icon.html icon=icon class="icon-md" %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% for icon in (0..20) %}
|
||||
|
||||
@@ -1,84 +1,82 @@
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Invoices</h3>
|
||||
</div>
|
||||
<div class="card-body d-flex justify-content-between flex-nowrap table-responsive border-bottom text-nowrap overflow-hidden">
|
||||
|
||||
<div class="mb-0">
|
||||
Show
|
||||
<div class="mx-2 d-inline-block" style="width: 4rem;">
|
||||
<input type="text" class="form-control" value="8">
|
||||
</div>
|
||||
entries
|
||||
</div>
|
||||
|
||||
<div class="mb-0 ml-4">
|
||||
Serach:
|
||||
<div class="ml-2 d-inline-block" style="width: 10rem;">
|
||||
<input type="text" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table card-table table-vcenter text-nowrap datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-1p"><input class="form-check-input m-0 align-middle" type="checkbox"></th>
|
||||
<th class="w-1p">No. {% include_cached ui/icon.html icon="chevron-up" class="icon-sm text-dark icon-thick" %}</th>
|
||||
<th>Invoice Subject {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Client {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>VAT No. {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Created {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Status {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Price {% include_cached ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for invoice in site.data.invoices limit: 8 %}
|
||||
<tr>
|
||||
<td><input class="form-check-input m-0 align-middle" type="checkbox"></td>
|
||||
<td><span class="text-muted">00{{ forloop.index | plus: 1400 }}</span></td>
|
||||
<td><a href="invoice.html" class="text-reset">{{ invoice.name }}</a></td>
|
||||
<td>
|
||||
{% include ui/flag.html flag=invoice.country %}
|
||||
{{ invoice.client }}
|
||||
</td>
|
||||
<td>
|
||||
{{ invoice.vat-no }}
|
||||
</td>
|
||||
<td>
|
||||
{{ invoice.date }}
|
||||
</td>
|
||||
<td>
|
||||
<span class="status-icon bg-{{ invoice.status }}"></span> {{ invoice.status-name }}
|
||||
</td>
|
||||
<td>{{ invoice.price }}</td>
|
||||
|
||||
<td class="text-right">
|
||||
<button class="btn btn-secondary btn-sm align-text-top">Manage</button>
|
||||
<span class="dropdown ml-1">
|
||||
<button class="btn btn-secondary btn-sm dropdown-toggle align-text-top" data-toggle="dropdown">Actions</button>
|
||||
{% include ui/dropdown-menu.html %}
|
||||
</span>
|
||||
</td>
|
||||
<td style="padding-right: 1rem;">
|
||||
{% include_cached ui/icon.html icon="edit" class="icon-sm float-right" %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-body d-flex justify-content-between flex-nowrap table-responsive border-bottom text-nowrap">
|
||||
<div class="mb-0 d-flex align-items-center">
|
||||
<p class="mb-0 align-middle">Showing <span>1</span> to <span>8</span> of <span>16</span> entries</p>
|
||||
</div>
|
||||
<div class="mb-0 ml-4">
|
||||
<a href="#" class="btn btn-secondary disabled">Previous</a><a href="#" class="btn btn-primary ml-2">1</a><a href="#" class="btn btn-secondary ml-2">2</a><a href="#" class="btn btn-secondary ml-2 font-weight-bold text-secondary">Next</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Invoices</h3>
|
||||
</div>
|
||||
<div class="card-body border-bottom py-3">
|
||||
|
||||
<div class="d-flex">
|
||||
<div class="mb-0">
|
||||
Show
|
||||
<div class="mx-2 d-inline-block">
|
||||
<input type="text" class="form-control form-control-sm" value="8" size="3">
|
||||
</div>
|
||||
entries
|
||||
</div>
|
||||
|
||||
<div class="mb-0 ml-auto">
|
||||
Search:
|
||||
<div class="ml-2 d-inline-block">
|
||||
<input type="text" class="form-control form-control-sm">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table card-table table-vcenter text-nowrap datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-1p"><input class="form-check-input m-0 align-middle" type="checkbox"></th>
|
||||
<th class="w-1p">No. {% include ui/icon.html icon="chevron-up" class="icon-sm text-dark icon-thick" %}</th>
|
||||
<th>Invoice Subject {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Client {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>VAT No. {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Created {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Status {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th>Price {% include ui/icon.html icon="code" class="icon-sm" %}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for invoice in site.data.invoices limit: 8 %}
|
||||
<tr>
|
||||
<td><input class="form-check-input m-0 align-middle" type="checkbox"></td>
|
||||
<td><span class="text-muted">00{{ forloop.index | plus: 1400 }}</span></td>
|
||||
<td><a href="invoice.html" class="text-reset" tabindex="-1">{{ invoice.name }}</a></td>
|
||||
<td>
|
||||
{% include ui/flag.html flag=invoice.country %}
|
||||
{{ invoice.client }}
|
||||
</td>
|
||||
<td>
|
||||
{{ invoice.vat-no }}
|
||||
</td>
|
||||
<td>
|
||||
{{ invoice.date }}
|
||||
</td>
|
||||
<td>
|
||||
<span class="status-icon bg-{{ invoice.status }}"></span> {{ invoice.status-name }}
|
||||
</td>
|
||||
<td>{{ invoice.price }}</td>
|
||||
|
||||
<td class="text-right">
|
||||
<button class="btn btn-secondary btn-sm align-text-top">Manage</button>
|
||||
<span class="dropdown ml-1">
|
||||
<button class="btn btn-secondary btn-sm dropdown-toggle align-text-top" data-toggle="dropdown">Actions</button>
|
||||
{% include ui/dropdown-menu.html %}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
{% include ui/icon.html icon="edit" class="icon-sm float-right" %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-footer d-flex align-items-center border-top-0">
|
||||
<p class="m-0 text-muted">Showing <span>1</span> to <span>8</span> of <span>16</span> entries</p>
|
||||
{% include ui/pagination.html class="m-0 ml-auto" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{% for page in site.data.pages %}
|
||||
<tr>
|
||||
<td>{{ page.uri }}</td>
|
||||
<td><a href="#" class="text-muted">{% include_cached ui/icon.html icon="link" %}</a></td>
|
||||
<td><a href="#" class="text-muted">{% include ui/icon.html icon="link" %}</a></td>
|
||||
<td>{{ page.visitors | format_number }}</td>
|
||||
<td>{{ page.unique | format_number }}</td>
|
||||
<td>{{ page.bounce-rate }}</td>
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
{{ track.duration_ms | miliseconds_to_minutes }}
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
{% include_cached ui/icon.html icon="heart" %}
|
||||
{% include ui/icon.html icon="heart" %}
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
{% include_cached ui/icon.html icon="more-horizontal" %}
|
||||
{% include ui/icon.html icon="more-horizontal" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
{% for feature in features %}
|
||||
<li>
|
||||
{% if available-features[forloop.index0] == '1' %}
|
||||
{% include_cached ui/icon.html icon="check" class="mr-1 text-success" %}
|
||||
{% include ui/icon.html icon="check" class="mr-1 text-success" %}
|
||||
{% else %}
|
||||
{% include_cached ui/icon.html icon="x" class="mr-1 text-danger" %}
|
||||
{% include ui/icon.html icon="x" class="mr-1 text-danger" %}
|
||||
{% endif %}
|
||||
{{ feature }}
|
||||
</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="media">
|
||||
{% include_cached ui/avatar.html person-id=8 size="xl" %}
|
||||
{% include ui/avatar.html person-id=8 size="xl" %}
|
||||
<div class="media-body ml-4">
|
||||
<h3>{{ site.data.people[20].first_name }} {{ site.data.people[20].last_name }}</h3>
|
||||
<p class="text-muted mb-0">{{ site.data.people[20].job_title }}</p>
|
||||
@@ -9,17 +9,17 @@
|
||||
<ul class="social-links list-inline mb-0 mt-2">
|
||||
<li class="list-inline-item">
|
||||
<a href="#" title="Facebook" data-toggle="tooltip">
|
||||
{% include_cached ui/icon.html icon="facebook" %}
|
||||
{% include ui/icon.html icon="facebook" %}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="#" title="Twitter" data-toggle="tooltip">
|
||||
{% include_cached ui/icon.html icon="twitter" %}
|
||||
{% include ui/icon.html icon="twitter" %}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a href="#" title="1234567890" data-toggle="tooltip">
|
||||
{% include_cached ui/icon.html icon="phone" %}
|
||||
{% include ui/icon.html icon="phone" %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Message">
|
||||
<div class="input-group-append">
|
||||
{% include_cached ui/button.html icon="camera" icon-only=true color="secondary" %}
|
||||
{% include ui/button.html icon="camera" icon-only=true color="secondary" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -11,7 +11,7 @@
|
||||
<li class="list-group-item py-4">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=5 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=5 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<div>
|
||||
@@ -28,7 +28,7 @@
|
||||
<ul class="list-unstyled">
|
||||
<li class="d-flex mt-4">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=8 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=8 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<strong>{{ site.data.people[7].first_name }} {{ site.data.people[7].last_name }}: </strong>
|
||||
@@ -38,7 +38,7 @@
|
||||
</li>
|
||||
<li class="d-flex mt-4">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=10 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=10 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<strong>{{ site.data.people[9].first_name }} {{ site.data.people[9].last_name }}: </strong>
|
||||
@@ -53,7 +53,7 @@
|
||||
<li class="list-group-item py-4">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=11 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=11 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<div>
|
||||
@@ -70,7 +70,7 @@
|
||||
<li class="list-group-item py-4">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=15 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=15 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<div>
|
||||
@@ -86,7 +86,7 @@
|
||||
<ul class="list-unstyled">
|
||||
<li class="d-flex mt-4">
|
||||
<div>
|
||||
{% include_cached ui/avatar.html person-id=6 class="mr-3" %}
|
||||
{% include ui/avatar.html person-id=6 class="mr-3" %}
|
||||
</div>
|
||||
<div class="flex-fill">
|
||||
<strong>{{ site.data.people[5].first_name }} {{ site.data.people[5].last_name }}: </strong>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</p>
|
||||
|
||||
<button class="btn btn-outline-primary btn-sm">
|
||||
{% include_cached ui/icon.html icon="twitter" %}
|
||||
{% include ui/icon.html icon="twitter" %}
|
||||
Follow
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
<div class="card-body">
|
||||
<div class="dropdown card-options">
|
||||
<button class="btn-options" type="button" data-toggle="dropdown">
|
||||
{% include_cached ui/icon.html icon="more-vertical" %}
|
||||
{% include ui/icon.html icon="more-vertical" %}
|
||||
</button>
|
||||
{% include_cached ui/dropdown-menu.html right=true %}
|
||||
{% include ui/dropdown-menu.html right=true %}
|
||||
</div>
|
||||
<div class="card-title">
|
||||
<h6 class="h4 mb-3"><a href="#">{{ include.title | default: 'Task Title' }}</a>{% if include.badge %} <span class="badge">{{ include.badge }}</span>{% endif %}</h6>
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<div class="card-meta d-flex justify-content-between">
|
||||
<div class="d-flex align-items-center">
|
||||
{% include_cached ui/icon.html icon="check-square" class="mr-2" %}
|
||||
{% include ui/icon.html icon="check-square" class="mr-2" %}
|
||||
<span>5/10</span>
|
||||
</div>
|
||||
<span>Due {{ due }}</span>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="card">
|
||||
<div class="card-body p-4 py-5 text-center">
|
||||
{% include_cached ui/avatar.html size="xl" placeholder="W" class="mb-4" color=include.project-color %}
|
||||
{% include ui/avatar.html size="xl" placeholder="W" class="mb-4" color=include.project-color %}
|
||||
<h3 class="mb-0">{{ include.title | default: "New website" }}</h3>
|
||||
<p class="text-muted">Due to: {{ include.date | default: '28 Aug 2019' }}</p>
|
||||
<p class="mb-3">
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include_cached ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>
|
||||
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="card" data-color={{color}}>
|
||||
<div class="card-body">
|
||||
<div class="float-right stamp{% if include.color %} bg-{{ include.color }}{% if include.light %}-lt{% else %} text-white{% endif %}{% endif %}">
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
</div>
|
||||
<div class="text-muted font-weight-normal mt-0">{{ include.title | default: 'Customers' }}</div>
|
||||
<h3 class="h2 mt-2 mb-3">{{ include.count | default: "1,850" }}</h3>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<div class="card">
|
||||
<div class="card-body p-3 d-flex align-items-center">
|
||||
{% if include.icon %}
|
||||
<span class="{% if include.color %}bg-{{ include.color }} text-white{% endif %} stamp mr-3">{% include_cached ui/icon.html icon=include.icon %}</span>
|
||||
<span class="{% if include.color %}bg-{{ include.color }} text-white{% endif %} stamp mr-3">{% include ui/icon.html icon=include.icon %}</span>
|
||||
{% elsif include.person-id %}
|
||||
{% include_cached ui/avatar.html person-id=include.person-id class="mr-3 rounded" %}
|
||||
{% include ui/avatar.html person-id=include.person-id class="mr-3 rounded" %}
|
||||
{% endif %}
|
||||
|
||||
{% if include.chart-data and chart-position == "left" %}
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="strong">
|
||||
{{ include.count | default: 1700 | format_number }} {{ include.subtitle }}
|
||||
{% if include.small-icon %}
|
||||
{% include_cached ui/icon.html icon=include.small-icon color=include.color class="icon-sm ml-1" %}
|
||||
{% include ui/icon.html icon=include.small-icon color=include.color class="icon-sm ml-1" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="text-muted">{{ include.description | default: "Users" }}</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<strong>{{ product.price }}</strong>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<a href="#" class="btn btn-primary">{% include_cached ui/icon.html icon='plus' %} Add to cart</a>
|
||||
<a href="#" class="btn btn-primary">{% include ui/icon.html icon='plus' %} Add to cart</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="card-body">
|
||||
<div class="row row-sm align-items-center">
|
||||
<div class="col-auto">
|
||||
{% include_cached ui/avatar.html person=person size="lg" %}
|
||||
{% include ui/avatar.html person=person size="lg" %}
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4 class="card-title m-0">
|
||||
@@ -25,9 +25,9 @@
|
||||
<div class="col-auto">
|
||||
<div class="dropdown">
|
||||
<button class="btn-options" type="button" data-toggle="dropdown">
|
||||
{% include_cached ui/icon.html icon="more-vertical" %}
|
||||
{% include ui/icon.html icon="more-vertical" %}
|
||||
</button>
|
||||
{% include_cached ui/dropdown-menu.html right=true %}
|
||||
{% include ui/dropdown-menu.html right=true %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
<tr>
|
||||
<td class="text-center w-1p">
|
||||
{% include_cached ui/avatar.html person-id=person.id %}
|
||||
{% include ui/avatar.html person-id=person.id %}
|
||||
</td>
|
||||
<td>
|
||||
<div>{{ person.full_name }}</div>
|
||||
@@ -62,7 +62,7 @@
|
||||
<td class="text-center">
|
||||
<div class="dropdown">
|
||||
<a class="btn-icon mx-2" data-toggle="dropdown">
|
||||
{% include_cached ui/icon.html icon="more-vertical" %}
|
||||
{% include ui/icon.html icon="more-vertical" %}
|
||||
</a>
|
||||
{% include ui/dropdown-menu.html %}
|
||||
</div>
|
||||
|
||||
@@ -11,33 +11,33 @@
|
||||
<div class="card">
|
||||
<ul class="nav nav-tabs{% if include.alternative %} nav-tabs-alt{% endif %}{% if reverse %} flex-row-reverse{% endif %}{% if include.justified %} nav-fill{% endif %}" data-toggle="tabs">
|
||||
<li class="nav-item">
|
||||
<a href="#tabs-home-{{ id }}" class="nav-link active" data-toggle="tab">{% if include.icons %}{% include_cached ui/icon.html icon="home" class=icon-class %}{% endif %}{% unless include.hide-text %}Home{% endunless %}</a>
|
||||
<a href="#tabs-home-{{ id }}" class="nav-link active" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="home" class=icon-class %}{% endif %}{% unless include.hide-text %}Home{% endunless %}</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#tabs-profile-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include_cached ui/icon.html icon="user" class=icon-class %}{% endif %}{% unless include.hide-text %}Profile{% endunless %}</a>
|
||||
<a href="#tabs-profile-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="user" class=icon-class %}{% endif %}{% unless include.hide-text %}Profile{% endunless %}</a>
|
||||
</li>
|
||||
|
||||
{% if include.activity %}
|
||||
<li class="nav-item">
|
||||
<a href="#tabs-activity-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include_cached ui/icon.html icon="activity" class=icon-class %}{% endif %}{% unless include.hide-text %}Activity{% endunless %}</a>
|
||||
<a href="#tabs-activity-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="activity" class=icon-class %}{% endif %}{% unless include.hide-text %}Activity{% endunless %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if include.disabled %}
|
||||
<li class="nav-item">
|
||||
<a href="#tabs-activity-{{ id }}" class="nav-link disabled" data-toggle="tab">{% if include.icons %}{% include_cached ui/icon.html icon="x" class=icon-class %}{% endif %}{% unless include.hide-text %}Disabled{% endunless %}</a>
|
||||
<a href="#tabs-activity-{{ id }}" class="nav-link disabled" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="x" class=icon-class %}{% endif %}{% unless include.hide-text %}Disabled{% endunless %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if include.dropdown %}
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
||||
{% include_cached ui/dropdown-menu.html %}
|
||||
{% include ui/dropdown-menu.html %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if include.settings %}
|
||||
<li class="nav-item {% if reverse %}mr-auto{% else %}ml-auto{% endif %}">
|
||||
<a href="#tabs-settings-{{ id }}" class="nav-link" title="Settings" data-toggle="tab">{% include_cached ui/icon.html icon="settings" %}</a>
|
||||
<a href="#tabs-settings-{{ id }}" class="nav-link" title="Settings" data-toggle="tab">{% include ui/icon.html icon="settings" %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
@@ -16,17 +16,17 @@
|
||||
<a href="#" class="text-reset">{{ task.name }}</a>
|
||||
</td>
|
||||
<td class="text-nowrap text-muted">
|
||||
{% include_cached ui/icon.html icon="calendar" %}
|
||||
{% include ui/icon.html icon="calendar" %}
|
||||
{{ forloop.index | random_date: "2019-01-01", "2018-01-01" | date: '%B %d, %Y' }}
|
||||
</td>
|
||||
<td class="text-nowrap">
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="check" %} {{ forloop.index | random_number: 0, 6 }}/{{ forloop.index | random_number: 5, 10 }}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="check" %} {{ forloop.index | random_number: 0, 6 }}/{{ forloop.index | random_number: 5, 10 }}</a>
|
||||
</td>
|
||||
<td class="text-nowrap">
|
||||
<a href="#" class="text-muted">{% include_cached ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}</a>
|
||||
<a href="#" class="text-muted">{% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}</a>
|
||||
</td>
|
||||
<td>
|
||||
{% include_cached ui/avatar.html person-id=forloop.index size="sm" %}
|
||||
{% include ui/avatar.html person-id=forloop.index size="sm" %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="card-body">
|
||||
<ul class="list list-timeline{% if include.simple %} list-timeline-simple{% endif %}">
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-twitter">{% include_cached ui/icon.html icon="twitter" %}</div>
|
||||
<div class="list-timeline-icon bg-twitter">{% include ui/icon.html icon="twitter" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">10 hrs ago</div>
|
||||
<p class="list-timeline-title">+1150 Followers</p>
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-red">{% include_cached ui/icon.html icon="briefcase" %}</div>
|
||||
<div class="list-timeline-icon bg-red">{% include ui/icon.html icon="briefcase" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">2 hrs ago</div>
|
||||
<p class="list-timeline-title">+3 New Products were added!</p>
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-success">{% include_cached ui/icon.html icon="check" %}</div>
|
||||
<div class="list-timeline-icon bg-success">{% include ui/icon.html icon="check" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">1 day ago</div>
|
||||
<p class="list-timeline-title">Database backup completed!</p>
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-facebook">{% include_cached ui/icon.html icon="facebook" %}</div>
|
||||
<div class="list-timeline-icon bg-facebook">{% include ui/icon.html icon="facebook" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">1 day ago</div>
|
||||
<p class="list-timeline-title">+290 Page Likes</p>
|
||||
@@ -37,19 +37,19 @@
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-teal">{% include_cached ui/icon.html icon="user-plus" %}</div>
|
||||
<div class="list-timeline-icon bg-teal">{% include ui/icon.html icon="user-plus" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">2 days ago</div>
|
||||
<p class="list-timeline-title">+3 Friend Requests</p>
|
||||
<div class="avatar-list mt-3">
|
||||
{% for person in site.data.people limit: 3 %}
|
||||
{% include_cached ui/avatar.html size="sm" person=person status="success" %}
|
||||
{% include ui/avatar.html size="sm" person=person status="success" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon bg-yellow">{% include_cached ui/icon.html icon="image" %}</div>
|
||||
<div class="list-timeline-icon bg-yellow">{% include ui/icon.html icon="image" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">3 days ago</div>
|
||||
<p class="list-timeline-title">+2 New photos</p>
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="list-timeline-icon">{% include_cached ui/icon.html icon="settings" %}</div>
|
||||
<div class="list-timeline-icon">{% include ui/icon.html icon="settings" %}</div>
|
||||
<div class="list-timeline-content">
|
||||
<div class="list-timeline-time">2 weeks ago</div>
|
||||
<p class="list-timeline-title">System updated to v2.02</p>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% assign person = site.data.people[person-id] %}
|
||||
<a class="card card-link" href="#">
|
||||
<div class="card-cover text-center{% if include.blurred %} card-cover-blurred{% endif %}" style="background-image: url({% include ui/image.html id=person-id %})">
|
||||
{% include_cached ui/avatar.html size="xl" person=person thumb=true %}
|
||||
{% include ui/avatar.html size="xl" person=person thumb=true %}
|
||||
</div>
|
||||
<div class="card-body text-center">
|
||||
<div class="card-title mb-1">{{ person.full_name }}</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body text-center">
|
||||
<div class="mb-3">
|
||||
{% include_cached ui/avatar.html size="xl" person=person %}
|
||||
{% include ui/avatar.html size="xl" person=person %}
|
||||
</div>
|
||||
<div class="card-title mb-1">{{ person.full_name }}</div>
|
||||
<div class="text-muted">{{ person.job_title }}</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<a class="card card-link" href="#">
|
||||
<div class="card-body">
|
||||
<div class="float-{% if include.right %}right{% else %}left mr-3{% endif %}">
|
||||
{% include_cached ui/avatar.html person=person class="rounded" %}
|
||||
{% include ui/avatar.html person=person class="rounded" %}
|
||||
</div>
|
||||
<div class="lh-sm">
|
||||
<div class="strong">{{ person.full_name }}</div>
|
||||
|
||||
@@ -5,27 +5,27 @@
|
||||
<div class="card-body">
|
||||
<div class="card-title">{{ include.title | default: 'Basic info' }}</div>
|
||||
<div class="mb-2">
|
||||
{% include_cached ui/icon.html icon="book" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="book" class="mr-2 text-muted" %}
|
||||
Went to: <strong>{{ person.university }}</strong>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
{% include_cached ui/icon.html icon="briefcase" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="briefcase" class="mr-2 text-muted" %}
|
||||
Worked at: <strong>{{ person.company }}</strong>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
{% include_cached ui/icon.html icon="home" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="home" class="mr-2 text-muted" %}
|
||||
Lives in: <strong>{{ person.city }}, {{ person.country }}</strong>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
{% include_cached ui/icon.html icon="map-pin" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="map-pin" class="mr-2 text-muted" %}
|
||||
From: <strong>{% include ui/flag.html flag=person.country_code %} {{ person.country }}</strong>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
{% include_cached ui/icon.html icon="calendar" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="calendar" class="mr-2 text-muted" %}
|
||||
Birth date: <strong>{{ person.birth_date }}</strong>
|
||||
</div>
|
||||
<div>
|
||||
{% include_cached ui/icon.html icon="clock" class="mr-2 text-muted" %}
|
||||
{% include ui/icon.html icon="clock" class="mr-2 text-muted" %}
|
||||
Time zone: <strong>{{ person.time_zone }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{% assign color = forloop.index | plus: 5 | random_item: colors %}
|
||||
<div class="col-6 row row-sm mb-3 align-items-center">
|
||||
<a href="#" class="col-auto">
|
||||
{% include_cached ui/avatar.html person=person status=color %}
|
||||
{% include ui/avatar.html person=person status=color %}
|
||||
</a>
|
||||
<div class="col text-truncate">
|
||||
<a href="#" class="text-body d-block text-truncate">{{ person.full_name }}</a>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div><span class="badge{% if color != 'x' %} bg-{{ color }}{% endif %}"></span></div>
|
||||
{% endif %}
|
||||
<a href="#">
|
||||
{% include_cached ui/avatar.html person=person %}
|
||||
{% include ui/avatar.html person=person %}
|
||||
</a>
|
||||
<div class="text-truncate">
|
||||
<a href="#" class="text-body d-block">{{ person.full_name }}</a>
|
||||
@@ -30,7 +30,7 @@
|
||||
{% else %}
|
||||
{% assign star-color = 'text-muted' %}
|
||||
{% endif %}
|
||||
<a href="#" class="list-item-actions{% if checked-ids contains forloop.index %} show{% endif %}">{% include_cached ui/icon.html icon="star" class=star-color %}</a>
|
||||
<a href="#" class="list-item-actions{% if checked-ids contains forloop.index %} show{% endif %}">{% include ui/icon.html icon="star" class=star-color %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class="input-group-append">
|
||||
<button type="button" class="btn btn-primary">Action</button>
|
||||
<button data-toggle="dropdown" type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split"></button>
|
||||
{% include_cached ui/dropdown-menu.html right=true %}
|
||||
{% include ui/dropdown-menu.html right=true %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Action
|
||||
</button>
|
||||
{% include_cached ui/dropdown-menu.html %}
|
||||
{% include ui/dropdown-menu.html %}
|
||||
</div>
|
||||
<input type="text" class="form-control" aria-label="Text input with dropdown button">
|
||||
</div>
|
||||
|
||||
@@ -1,74 +1,74 @@
|
||||
<div class="row row-deck">
|
||||
<div class="col-sm-6 col-lg-3">
|
||||
{% include_cached cards/charts/sales.html %}
|
||||
{% include cards/charts/sales.html %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-lg-3">
|
||||
{% include_cached cards/charts/revenue.html %}
|
||||
{% include cards/charts/revenue.html %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-lg-3">
|
||||
{% include_cached cards/charts/new-clients.html %}
|
||||
{% include cards/charts/new-clients.html %}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6 col-lg-3">
|
||||
{% include_cached cards/charts/active-users.html %}
|
||||
{% include cards/charts/active-users.html %}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
{% include_cached cards/project-summary.html stage-color="red" %}
|
||||
{% include cards/project-summary.html stage-color="red" %}
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
{% include_cached cards/project-summary.html title="UI Redesign" date="11 Nov 2019" stage="Final review" avatar-limit=3 avatar-offset=9 project-color="green" value=80 percentage-color="green" %}
|
||||
{% include cards/project-summary.html title="UI Redesign" date="11 Nov 2019" stage="Final review" avatar-limit=3 avatar-offset=9 project-color="green" value=80 percentage-color="green" %}
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-sm-4">
|
||||
{% include_cached cards/small-stats-3.html number=43 title="New Tickets" percentage=6 %}
|
||||
{% include cards/small-stats-3.html number=43 title="New Tickets" percentage=6 %}
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
{% include_cached cards/small-stats-3.html number=95 number-prefix="$" title="Daily Earnings" percentage=-2 %}
|
||||
{% include cards/small-stats-3.html number=95 number-prefix="$" title="Daily Earnings" percentage=-2 %}
|
||||
</div>
|
||||
<div class="col-6 col-sm-4">
|
||||
{% include_cached cards/small-stats-3.html number=7 title="New Replies" percentage=9 %}
|
||||
{% include cards/small-stats-3.html number=7 title="New Replies" percentage=9 %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
{% include_cached cards/map.html title="Top users" %}
|
||||
{% include cards/map.html title="Top users" %}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
{% include_cached cards/development-activity.html %}
|
||||
{% include cards/development-activity.html %}
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="row row-deck">
|
||||
<div class="col-md-12">
|
||||
{% comment %}{% include_cached cards/charts/card.html chart-id="temperature" height=10 %}{% endcomment %}
|
||||
{% comment %}{% include cards/charts/card.html chart-id="temperature" height=10 %}{% endcomment %}
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
{% comment %}{% include_cached cards/charts/card.html chart-id="donut" height=10 %}{% endcomment %}
|
||||
{% comment %}{% include cards/charts/card.html chart-id="donut" height=10 %}{% endcomment %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6 col-xl-3">
|
||||
{% include_cached cards/small-stats.html color="blue" icon="dollar-sign" count="132" subtitle="Sales" description="12 waiting payments" %}
|
||||
{% include cards/small-stats.html color="blue" icon="dollar-sign" count="132" subtitle="Sales" description="12 waiting payments" %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-3">
|
||||
{% include_cached cards/small-stats.html color="green" icon="shopping-cart" count="78" subtitle="Orders" description="32 shipped" %}
|
||||
{% include cards/small-stats.html color="green" icon="shopping-cart" count="78" subtitle="Orders" description="32 shipped" %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-3">
|
||||
{% include_cached cards/small-stats.html chart-position="left" chart-type="donut" chart-data="56/100" chart-label="56%" color="red" count="1352" subtitle="Members" description="163 registered today" %}
|
||||
{% include cards/small-stats.html chart-position="left" chart-type="donut" chart-data="56/100" chart-label="56%" color="red" count="1352" subtitle="Members" description="163 registered today" %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xl-3">
|
||||
{% include_cached cards/small-stats.html color="yellow" chart-type="pie" chart-data="22/100" color="yellow" count="132" subtitle="Comments" description="16 waiting" %}
|
||||
{% include cards/small-stats.html color="yellow" chart-type="pie" chart-data="22/100" color="yellow" count="132" subtitle="Comments" description="16 waiting" %}
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
{% include_cached cards/invoices.html %}
|
||||
{% include cards/invoices.html %}
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
{% include_cached cards/table-users.html %}
|
||||
{% include cards/table-users.html %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<a {% unless level-1[1].children %}href="{{ site.base }}/{{ level-1[1].url }}"{% endunless %} class="sidebar-nav-link{% if level-1[0] == current-page[0] and current-page.size == 1 %} active{% endif %}" {% if level-1[1].children %}data-toggle="collapse" data-target="#sidebar-menu-{{ level-1[0] }}"{% if level-1[0] == current-page[0] %} aria-expanded="true"{% endif %}{% endif %}>
|
||||
{% if level-1[1].icon %}
|
||||
{% assign icon = level-1[1].icon %}
|
||||
{% include_cached ui/icon.html icon=icon class="nav-icon" %}
|
||||
{% include ui/icon.html icon=icon class="nav-icon" %}
|
||||
{% endif %}
|
||||
|
||||
<span class="nav-text">{{ level-1[1].title }}</span>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%}href="{{ level-1[1].url }}" data-toggle="{{ level-1[1].toggle }}" {% else
|
||||
%}href="{{ site.base }}/{{ level-1[1].url }}" {% endif %}>
|
||||
<span class="nav-icon">
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
</span>
|
||||
<span class="nav-text">
|
||||
{{ level-1[1].title }}
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
{% assign person = site.data.people[person-id] %}
|
||||
|
||||
{% if include.menu-layout != 'vertical' %}
|
||||
{% include_cached layout/navbar-logo.html class="mr-4" %}
|
||||
{% include layout/navbar-logo.html class="mr-4" %}
|
||||
{% else %}
|
||||
{% include_cached layout/navbar-search.html class="mr-4" %}
|
||||
{% include layout/navbar-search.html class="mr-4" %}
|
||||
{% endif %}
|
||||
|
||||
<ul class="nav navbar-menu align-items-center ml-auto">
|
||||
@@ -15,7 +15,7 @@
|
||||
<li class="nav-item dropdown">
|
||||
<a href="#" data-toggle="dropdown"
|
||||
class="nav-link d-flex align-items-center py-0 px-lg-0 px-2 text-reset ml-2">
|
||||
{% include_cached ui/avatar.html src=person.photo size="sm" %}
|
||||
{% include ui/avatar.html src=person.photo size="sm" %}
|
||||
<span class="ml-2 d-none d-lg-block lh-1">
|
||||
{{ person.full_name }}
|
||||
<span class="text-muted d-block mt-1 text-h6">Administrator</span>
|
||||
@@ -23,24 +23,24 @@
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="user" class="dropdown-icon" %} Profile
|
||||
{% include ui/icon.html icon="user" class="dropdown-icon" %} Profile
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="settings" class="dropdown-icon" %} Settings
|
||||
{% include ui/icon.html icon="settings" class="dropdown-icon" %} Settings
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="mail" class="dropdown-icon" %} Inbox
|
||||
{% include ui/icon.html icon="mail" class="dropdown-icon" %} Inbox
|
||||
<span class="badge bg-primary ml-auto">6</span>
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="send" class="dropdown-icon" %} Message
|
||||
{% include ui/icon.html icon="send" class="dropdown-icon" %} Message
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="help-circle" class="dropdown-icon" %} Need help?
|
||||
{% include ui/icon.html icon="help-circle" class="dropdown-icon" %} Need help?
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% include_cached ui/icon.html icon="log-out" class="dropdown-icon" %} Sign out
|
||||
{% include ui/icon.html icon="log-out" class="dropdown-icon" %} Sign out
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -5,27 +5,27 @@
|
||||
{% if actions == 'users' %}
|
||||
<div class="d-flex">
|
||||
<input type="search" class="form-control d-inline-block w-9 mr-3" placeholder="Search user…"/>
|
||||
{% include_cached ui/button.html text="New user" color="primary" icon="plus" %}
|
||||
{% include 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" %}
|
||||
{% include ui/button.html text="Add event" color="primary" icon="plus" %}
|
||||
</div>
|
||||
{% elsif actions == 'photos' %}
|
||||
<div class="d-flex">
|
||||
<div class="mr-3">
|
||||
{% include ui/form/input-icon.html %}
|
||||
</div>
|
||||
{% include_cached ui/button.html text="Add event" color="primary" icon="plus" %}
|
||||
{% include 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" %}
|
||||
{% include ui/breadcrumb.html class="breadcrumb-alternate" %}
|
||||
</div>
|
||||
{% elsif actions == 'buttons' %}
|
||||
<span class="d-none d-sm-inline">
|
||||
{% include_cached ui/button.html text="New view" color="secondary" icon="plus" %}
|
||||
{% include ui/button.html text="New view" color="secondary" icon="plus" %}
|
||||
</span>
|
||||
{% include_cached ui/button.html text="Create new report" color="primary" class="ml-3" %}
|
||||
{% include ui/button.html text="Create new report" color="primary" class="ml-3" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<aside class="sidebar sidebar-dark">
|
||||
<!-- Sidebar logo -->
|
||||
{% include_cached layout/navbar-logo.html prefix="sidebar" %}
|
||||
{% include layout/navbar-logo.html prefix="sidebar" %}
|
||||
|
||||
<div class="sidebar-content">
|
||||
<div>
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-auto">
|
||||
{% include_cached ui/button.html text="Logout" color="primary" icon="log-out" block=true %}
|
||||
{% include ui/button.html text="Logout" color="primary" icon="log-out" block=true %}
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="container{% if include.fluid %}-fluid{% endif %}">
|
||||
{% include layout/menu.html top=true %}
|
||||
|
||||
{% include_cached layout/navbar-search.html %}
|
||||
{% include layout/navbar-search.html %}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<header class="topnav topbar">
|
||||
<div class="container{% if include.fluid %}-fluid{% endif %}">
|
||||
<div class="navbar navbar-expand-lg {% if include.dark %}navbar-dark bg-dark text-white{% else %}navbar-light{% endif %}{% if include.sticky %} navbar-sticky{% endif %}">
|
||||
{% include_cached layout/navbar.html search=true menu-layout=page.menu-layout %}
|
||||
{% include layout/navbar.html search=true menu-layout=page.menu-layout %}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
{% endif %}
|
||||
|
||||
{% assign text = type[1].title %}
|
||||
|
||||
{% include_cached ui/button.html block=true class=class icon=icon icon-only=icon-only text=text %}
|
||||
{% assign color = type[0] %}
|
||||
{% include ui/button.html block=true color=false class=class icon=icon icon-only=icon-only text=text %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
<div class="calendar{% if include.class %} {{ include.class }}{% endif %}">
|
||||
<div class="calendar-nav">
|
||||
<button class="btn btn-action btn-link btn-lg">
|
||||
{% include_cached ui/icon.html icon="chevron-left" %}
|
||||
{% include ui/icon.html icon="chevron-left" %}
|
||||
</button>
|
||||
<div class="calendar-title">{{ include.title | default: 'March 2017' }}</div>
|
||||
<button class="btn btn-action btn-link btn-lg">
|
||||
{% include_cached ui/icon.html icon="chevron-right" %}
|
||||
{% include ui/icon.html icon="chevron-right" %}
|
||||
</button>
|
||||
</div>
|
||||
<div class="calendar-container">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<input type="text" class="form-control" placeholder="Search for…">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
{% include_cached ui/button.html icon="search" icon-only=true color="secondary" %}
|
||||
{% include ui/button.html icon="search" icon-only=true color="secondary" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Shipping methods</label>
|
||||
{% include_cached ui/form/input-selectgroup.html values="Unregistered,Priority Mail,Express Mail" class="selectgroup-vertical" type="radio" name="shipping-method" %}
|
||||
{% include ui/form/input-selectgroup.html values="Unregistered,Priority Mail,Express Mail" class="selectgroup-vertical" type="radio" name="shipping-method" %}
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Icons input</label>
|
||||
{% include_cached ui/form/input-selectgroup.html values="i:smartphone,i:tablet,i:monitor,i:x" class="w-100" type="radio" name="device" %}
|
||||
{% include ui/form/input-selectgroup.html values="i:smartphone,i:tablet,i:monitor,i:x" class="w-100" type="radio" name="device" %}
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Icon input</label>
|
||||
{% include_cached ui/form/input-selectgroup.html values="i:sun,i:moon,i:cloud-rain,i:cloud,Other" class="selectgroup-pills" %}
|
||||
{% include ui/form/input-selectgroup.html values="i:sun,i:moon,i:cloud-rain,i:cloud,Other" class="selectgroup-pills" %}
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Your skills</label>
|
||||
{% include_cached ui/form/input-selectgroup.html values="HTML,CSS,PHP,JavaScript" class="selectgroup-pills selectgroup-separated" %}
|
||||
{% include ui/form/input-selectgroup.html values="HTML,CSS,PHP,JavaScript" class="selectgroup-pills selectgroup-separated" %}
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% assign person = include.person %}
|
||||
<div class="alert alert-{{ include.type | default: 'primary'}}{%if include.close %} alert-dismissible{% endif %}{% if include.avatar %} alert-avatar{% endif %}" role="alert">
|
||||
{% if include.avatar %}{% include_cached ui/avatar.html person=person %}{% endif %}
|
||||
{% if include.icon %}{% include_cached ui/icon.html icon=include.icon class="mr-1" %}{% endif %} {{ include.text | default:
|
||||
{% if include.avatar %}{% include ui/avatar.html person=person %}{% endif %}
|
||||
{% if include.icon %}{% include ui/icon.html icon=include.icon class="mr-1" %}{% endif %} {{ include.text | default:
|
||||
"This is a custom alert box!" }}
|
||||
{% if include.buttons %}
|
||||
<div class="btn-list">
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
{% assign size = include['size'] %}
|
||||
<div class="avatar-list{% if include.stacked %} avatar-list-stacked{% endif %}{% if include.class %} {{ include.class }}{% endif %}">
|
||||
{% for person in site.data.people limit: limit offset: offset %}
|
||||
{% include_cached ui/avatar.html person=person size=size %}
|
||||
{% include ui/avatar.html person=person size=size %}
|
||||
{% endfor %}
|
||||
{% if include.text %}
|
||||
{% include_cached ui/avatar.html placeholder=include.text size=size %}
|
||||
{% include ui/avatar.html placeholder=include.text size=size %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
{% assign el = 'span' %}
|
||||
{% if link %}{% assign el = 'a' %}{% endif %}
|
||||
<{{ el }} class="avatar{% if include['size'] %} avatar-{{ include['size'] }}{% endif %}{% if include.thumb %} avatar-thumb{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.shape %} {{ include.shape }}{% endif %}{% if include.color %} bg-{{ include.color }}-lt{% endif %}"{% if src %} style="background-image: url({{ site.base }}/{{ src }})"{% endif %}>{% if include.status %}
|
||||
<span class="badge bg-{{ include.status }}">{% if include.status-text %}{{ include.status-text }}{% elsif include.status-icon %}{% include_cached ui/icon.html icon=include.status-icon class="avatar-status-icon" %}{% endif %}</span>
|
||||
{% endif %}{% if placeholder %}{{ placeholder }}{% elsif include.icon %} {% include_cached ui/icon.html icon=include.icon class="avatar-icon" %}{% endif %}</{{ el }}>
|
||||
<span class="badge bg-{{ include.status }}">{% if include.status-text %}{{ include.status-text }}{% elsif include.status-icon %}{% include ui/icon.html icon=include.status-icon class="avatar-status-icon" %}{% endif %}</span>
|
||||
{% endif %}{% if placeholder %}{{ placeholder }}{% elsif include.icon %} {% include ui/icon.html icon=include.icon class="avatar-icon" %}{% endif %}</{{ el }}>
|
||||
{% endremoveemptylines %}
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
{% removeemptylines %}
|
||||
{% assign spinner-class = false %}
|
||||
{% assign color = include.color | default: 'secondary' %}
|
||||
{% if include.color == false %}
|
||||
{% assign color = null %}
|
||||
{% endif %}
|
||||
{% assign provider = include.provider | default: 'fe' %}
|
||||
{% if include.text %}{% assign spinner-class="mr-2" %}{% endif %}
|
||||
{% assign e = include.element | default: 'a' %}
|
||||
<{{ e }}{% if e == 'a' %} href="{% if include.href %}{{ site.base }}/{{ include.href }}{% else %}#{% endif %}"{% endif %}{% if include.type %} type="{{ include.type }}"{% endif %} class="btn{% if include.height %} btn-{{ include.height }}{% endif %}{% if color %} btn-{% if include.outline %}outline-{% endif %}{{ color }}{% endif %}{% if include.disabled %} disabled{% endif %}{% if include.square %} btn-square{% endif %}{% if include.pill %} btn-pill{% endif %}{% if include['size'] %} btn-{{ include['size'] }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}{% if include.block %} btn-block{% endif %}{% if include.link %} btn-link{% endif %}{% if include.icon-only %} btn-icon{% endif %}">
|
||||
{% if include.spinner %}
|
||||
{% include ui/spinner.html color=false size="sm" class=spinner-class element="span" %}{% endif %}
|
||||
{% if include.icon %}{% include_cached ui/icon.html icon=include.icon use-svg=true %}{% endif %}
|
||||
{% if include.icon %}{% include ui/icon.html icon=include.icon use-svg=true %}{% endif %}
|
||||
{% unless include.icon-only %}
|
||||
{{ include.text | default: "Button" }}
|
||||
{% if include.icon-right %}{% include_cached ui/icon.html icon=include.icon-right use-svg=true right=true %}{% endif %}
|
||||
{% if include.icon-right %}{% include ui/icon.html icon=include.icon-right use-svg=true right=true %}{% endif %}
|
||||
{% endunless %}
|
||||
</{{ e }}>
|
||||
{% endremoveemptylines %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% assign icon = include.icon | default: 'more-horizontal' %}
|
||||
<div class="dropdown float-right">
|
||||
<a href="#" class="card-drop" data-toggle="dropdown" aria-expanded="false">
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
{% for item in menu %}
|
||||
|
||||
@@ -8,18 +8,18 @@
|
||||
{% else %}
|
||||
{% if include.header %}<span class="dropdown-header">Dropdown header</span>{% endif %}
|
||||
<a class="dropdown-item" href="#">
|
||||
{% if include.icons %}{% include_cached ui/icon.html icon="settings" %} {% endif %}
|
||||
{% if include.icons %}{% include ui/icon.html icon="settings" %} {% endif %}
|
||||
Action
|
||||
{% if include.badge %}<span class="badge bg-primary ml-auto">12</span>{% endif %}
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
{% if include.icons %}{% include_cached ui/icon.html icon="edit" %} {% endif %}Another action
|
||||
{% if include.icons %}{% include ui/icon.html icon="edit" %} {% endif %}Another action
|
||||
</a>
|
||||
{% if include.active %}<a class="dropdown-item active" href="#">{% if include.icons %}{% include_cached ui/icon.html icon="activity" %} {% endif %}Active action</a>{% endif %}
|
||||
{% if include.disabled %}<a class="dropdown-item disabled" href="#">{% if include.icons %}{% include_cached ui/icon.html icon="user-x" %} {% endif %}Disabled action</a>{% endif %}
|
||||
{% if include.active %}<a class="dropdown-item active" href="#">{% if include.icons %}{% include ui/icon.html icon="activity" %} {% endif %}Active action</a>{% endif %}
|
||||
{% if include.disabled %}<a class="dropdown-item disabled" href="#">{% if include.icons %}{% include ui/icon.html icon="user-x" %} {% endif %}Disabled action</a>{% endif %}
|
||||
{% if include.separated %}
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">{% if include.icons %}{% include_cached ui/icon.html icon="plus" class="dropdown-icon" %} {% endif %}Separated link</a>
|
||||
<a class="dropdown-item" href="#">{% if include.icons %}{% include ui/icon.html icon="plus" class="dropdown-icon" %} {% endif %}Separated link</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{% elsif include.icon-text %}
|
||||
<div class="display-4">{{ include.icon-text }}</div>
|
||||
{% else %}
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
<div class="empty-action">
|
||||
{% assign button-text = include.button-text | default: "Search again" %}
|
||||
{% assign button-icon = include.button-icon | default: "search" %}
|
||||
{% include_cached ui/button.html text=button-text color="primary" icon=button-icon href="index.html" %}
|
||||
{% include ui/button.html text=button-text color="primary" icon=button-icon href="index.html" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% assign icon = include.icon | default: 'search' %}
|
||||
{% capture addon %}
|
||||
<span class="input-icon-addon">
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
</span>
|
||||
{% endcapture %}
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
{% unless include.prepend %}
|
||||
{{ addon }}
|
||||
{% endunless %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<label class="selectgroup-item">
|
||||
{% assign s = value | split: "i:" %}
|
||||
<input type="{{ type }}" name="{{ name }}" value="{% if s.size == 2 %}{{ s[1] }}{% else %}{{ value }}{% endif %}" class="selectgroup-input"{% if value == default %}{% if type == "radio" %} checked{% else %} checked{% endif %}{% endif %}>
|
||||
<span class="selectgroup-button">{% if s.size == 2 %}{% assign icon = s[1] %}{% include_cached ui/icon.html icon=icon use-svg=true %}{% else %}{{ value }}{% endif %}</span>
|
||||
<span class="selectgroup-button">{% if s.size == 2 %}{% assign icon = s[1] %}{% include ui/icon.html icon=icon use-svg=true %}{% else %}{{ value }}{% endif %}</span>
|
||||
</label>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -2,32 +2,55 @@
|
||||
{% assign data = site.data.selects[key] %}
|
||||
{% assign options = data.options %}
|
||||
<select name="{{ key }}" id="select-{{ key }}" class="form-select">
|
||||
{% if options == 'people' %}
|
||||
{% for person in site.data.people limit: 20 %}
|
||||
<option value="{{ person.id }}" data-data='{"image": "{{ site.base }}/{{ person.photo }}"}'{% if person.id == value %} selected{% endif %}>{{ person.full_name }}</option>
|
||||
{% endfor %}
|
||||
{% if options == 'people' %}
|
||||
{% for person in site.data.people limit: 20 %}
|
||||
<option value="{{ person.id }}" data-data='{"image": "{{ site.base }}/{{ person.photo }}"}'{% if person.id == value %} selected{% endif %}>{{ person.full_name }}</option>
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
{% for option in options %}
|
||||
{% if option[1] %}
|
||||
{% assign value = option[0] %}
|
||||
{% assign name = option[1].name %}
|
||||
{% assign all-data = option[1] %}
|
||||
{% else %}
|
||||
{% assign value = option %}
|
||||
{% assign name = option %}
|
||||
{% endif %}
|
||||
<option value="{{ value }}"{% if all-data.image %} data-data='{"image": "{{ site.base }}/{{ all-data.image }}"}'{% endif %}{% if data.value == value %} selected{% endif %}>{{ name }}</option>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% for option in options %}
|
||||
{% if option[1] %}
|
||||
{% assign value = option[0] %}
|
||||
{% assign name = option[1].name %}
|
||||
{% assign all-data = option[1] %}
|
||||
{% else %}
|
||||
{% assign value = option %}
|
||||
{% assign name = option %}
|
||||
{% endif %}
|
||||
<option value="{{ value }}"{% if all-data.image %} data-data='{"image": "{{ site.base }}/{{ all-data.image }}"}'{% elsif all-data.flag %} data-data='{"flag": "{{ all-data.flag }}"}'{% endif %}{% if data.value == value %} selected{% endif %}>{{ name }}</option>
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</select>
|
||||
|
||||
{% append_lib selectize %}
|
||||
{% capture_global scripts %}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#select-{{ key }}').selectize({});
|
||||
});
|
||||
$(document).ready(function () {
|
||||
$('#select-{{ key }}').selectize({
|
||||
{% if key == "countries" %}
|
||||
render: {
|
||||
option: function (data, escape) {
|
||||
return '<div class="option"><span class="flag flag-' + data.flag + ' mr-2 ml-n1"></span>' + escape(data.text) + '</div>';
|
||||
},
|
||||
item: function (data, escape) {
|
||||
return '<div class="d-flex align-items-center"><span class="flag flag-' + data.flag + ' mr-2 ml-n1"></span>' + escape(data.text) + '</div>';
|
||||
}
|
||||
}
|
||||
{% elsif key == "people" %}
|
||||
render: {
|
||||
option: function (data, escape) {
|
||||
return '<div class="option"><span class="avatar avatar-xs rounded mr-2 ml-n1" style="background-image: url({{ site.base }}/' + data.image + ')"></span>' + escape(data.text) + '</div>';
|
||||
},
|
||||
item: function (data, escape) {
|
||||
return '<div class="d-flex align-items-center"><span class="avatar avatar-xs rounded mr-2 ml-n1" style="background-image: url({{ site.base }}/' + data.image + ')"></span>' + escape(data.text) + '</div>';
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
{% if data.max-items %}
|
||||
maxItems: {{ data.max-items }}
|
||||
{% endif %}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endcapture_global %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
{% include_cached ui/icon.html icon="star" class="mr-1" %}
|
||||
{% include ui/icon.html icon="star" class="mr-1" %}
|
||||
Link
|
||||
</a>
|
||||
</li>
|
||||
@@ -17,7 +17,7 @@
|
||||
</li>
|
||||
<li class="nav-item ml-auto">
|
||||
<a class="nav-link" href="#">
|
||||
{% include_cached ui/icon.html icon="settings" %}
|
||||
{% include ui/icon.html icon="settings" %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="page-item-subtitle">Previous</div>
|
||||
<div class="page-item-title">{{ include.prev-description }}</div>
|
||||
{% else %}
|
||||
{% if include.icons %}{% include_cached ui/icon.html icon="chevron-left" %}{% else %}{% include_cached ui/icon.html icon="chevron-left" %} Prev{% endif %}
|
||||
{% if include.icons %}{% include ui/icon.html icon="chevron-left" %}{% else %}{% include ui/icon.html icon="chevron-left" %} Prev{% endif %}
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="page-item-subtitle">Next</div>
|
||||
<div class="page-item-title">{{ include.next-description }}</div>
|
||||
{% else %}
|
||||
{% if include.icons %}{% include_cached ui/icon.html icon="chevron-right" %}{% else %}Next {% include_cached ui/icon.html icon="chevron-right" %}{% endif %}
|
||||
{% if include.icons %}{% include ui/icon.html icon="chevron-right" %}{% else %}Next {% include ui/icon.html icon="chevron-right" %}{% endif %}
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
@@ -8,9 +8,9 @@
|
||||
{% for i in (1..5) %}
|
||||
<span class="star {% if forloop.index <= rate %}{{ class }}{% endif %}">
|
||||
{% if forloop.index <= rate and filled %}
|
||||
{% include_cached ui/icon.html icon=icon class="icon-filled" %}
|
||||
{% include ui/icon.html icon=icon class="icon-filled" %}
|
||||
{% else %}
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
{% include ui/icon.html icon=icon %}
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% assign person = site.data.people[person-id] %}
|
||||
<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
|
||||
<div class="toast-header">
|
||||
{% include_cached ui/avatar.html person=person class="mr-2" size="sm" %}
|
||||
{% include ui/avatar.html person=person class="mr-2" size="sm" %}
|
||||
<strong class="mr-auto">{{ person.full_name }}</strong>
|
||||
<small>{{ include.date | default: '11 mins ago' }}</small>
|
||||
<button type="button" class="ml-2 close" data-dismiss="toast" aria-label="Close">
|
||||
|
||||
@@ -11,5 +11,5 @@
|
||||
{% endif %}
|
||||
|
||||
<span class="text-{{ color }} d-inline-flex align-items-center lh-1{% if include.class %} {{ include.class }}{% endif %}">
|
||||
{{ value }}% {% include_cached ui/icon.html icon=icon class="icon-thin" class="ml-1" %}
|
||||
{{ value }}% {% include ui/icon.html icon=icon class="icon-thin" class="ml-1" %}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user