HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ekspardev (1006)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/ekspardev/public_html/tubisad/rapor/src/pages/_includes/cards/users-list.html
{% assign limit = include.limit | default: 8 %}
{% assign offset = include.offset | default: 0 %}
{% assign hoverable = include.hoverable | default: false %}
{% assign checked-ids = include.checked-ids | default: '' | extract: ',' %}
<div class="card{% if include.class %} {{ include.class }}{% endif %}">
	<div class="card-header">
		<h3 class="card-title">{{ include.title | default: 'Last commits' }}</h3>
	</div>
	<div class="list-group list-group-flush{% if hoverable %} list-group-hoverable{% endif %}">
		{% assign colors = 'green,red,yellow,x,x' | split: ',' %}
		{% for person in site.data.people limit: limit offset: offset %}
			{% assign color = forloop.index | plus: 5 | random_item: colors %}
			<div class="list-group-item{% if checked-ids contains forloop.index %} active{% endif %}">
				<div class="row align-items-center">
					{% if include.checkbox %}
					<div class="col-auto"><input type="checkbox" class="form-check-input"{% if checked-ids contains forloop.index %} checked{% endif %}></div>
					{% else %}
					<div class="col-auto"><span class="badge{% if color != 'x' %} bg-{{ color }}{% endif %}"></span></div>
					{% endif %}
					<div class="col-auto">
						<a href="#">
							{% include ui/avatar.html person=person %}
						</a>
					</div>

					<div class="col text-truncate">
						<a href="#" class="text-reset d-block">{{ person.full_name }}</a>
						{% assign i = forloop.index | plus: offset %}
						<div class="d-block text-muted text-truncate mt-n1">{{ site.data.commits[i].description }}</div>
					</div>
					{% if hoverable %}
					{% if checked-ids contains forloop.index %}
					{% assign star-color = 'text-yellow' %}
					{% else %}
					{% assign star-color = 'text-muted' %}
					{% endif %}
					<div class="col-auto">
						<a href="#" class="list-group-item-actions{% if checked-ids contains forloop.index %} show{% endif %}">{% include ui/icon.html icon="star" class=star-color %}</a>
					</div>
					{% endif %}
				</div>
			</div>
		{% endfor %}
	</div>
</div>