1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

reformat code

This commit is contained in:
codecalm
2020-01-29 22:51:49 +01:00
parent 010d92dded
commit bdff782f0e
17 changed files with 496 additions and 495 deletions

View File

@@ -18,7 +18,9 @@
{{ item.title }} {{ item.title }}
<div class="text-h6 text-muted">{{ item.subtitle }}</div> <div class="text-h6 text-muted">{{ item.subtitle }}</div>
</div> </div>
<div class="col-auto small text-muted"><strong class="text-body">{{ forloop.index | random_number: 500, 2000 | intcomma }}</strong> orders</div> <div class="col-auto small text-muted"><strong class="text-body">{{ forloop.index | random_number: 500, 2000
| intcomma }}</strong> orders
</div>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -7,9 +7,9 @@
{% for task in site.data.tasks %} {% for task in site.data.tasks %}
<tr> <tr>
<td class="w-1 pr-0"> <td class="w-1 pr-0">
<label class="custom-control custom-checkbox m-0"> <label class="form-check m-0">
<input type="checkbox" class="custom-control-input" name="" value=""{% if task.checked %} checked{% endif %}> <input type="checkbox" class="form-check-input"{% if task.checked %} checked{% endif %}>
<span class="custom-control-label"></span> <span class="form-check-label"></span>
</label> </label>
</td> </td>
<td class="w-100"> <td class="w-100">
@@ -20,10 +20,14 @@
{{ forloop.index | random_date: "2019-01-01", "2018-01-01" | date: '%B %d, %Y' }} {{ forloop.index | random_date: "2019-01-01", "2018-01-01" | date: '%B %d, %Y' }}
</td> </td>
<td class="text-nowrap"> <td class="text-nowrap">
<a href="#" class="text-muted">{% include 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>
<td class="text-nowrap"> <td class="text-nowrap">
<a href="#" class="text-muted">{% include 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>
<td> <td>
{% include ui/avatar.html person-id=forloop.index size="sm" %} {% include ui/avatar.html person-id=forloop.index size="sm" %}

View File

@@ -85,11 +85,6 @@ Form control
color: $red; color: $red;
} }
.custom-control-label:before {
background: transparent;
border: 1px solid $border-color;
}
/** /**
Form help Form help
*/ */