mirror of
https://github.com/tabler/tabler.git
synced 2026-07-28 14:04:38 +04:00
remove include_cached
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) %}
|
||||
|
||||
@@ -25,13 +25,13 @@
|
||||
<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 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>
|
||||
@@ -66,7 +66,7 @@
|
||||
</span>
|
||||
</td>
|
||||
<td style="padding-right: 1rem;">
|
||||
{% include_cached ui/icon.html icon="edit" class="icon-sm float-right" %}
|
||||
{% include ui/icon.html icon="edit" class="icon-sm float-right" %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user