<commit_before>{% extends "base.html" %}

{% block title %}Group: {{group_name}}{% endblock %}

{% block content %}

<h1>{{group_name}}</h1>
<div class="services">
<h2>Hosts</h2>
<table>
<tr>
{% for host in hosts %}
	{% ifequal host.current_state '0' %}
		<td class="greenbg">
	{% else %}
		{% ifequal host.current_state '1' %}
			<td class="yellowbg">
		{% else %}
			<td class="redbg">
		{% endifequal %}
	{% endifequal %}
	<a href="/railroad/viewhost/{{host.host_name}}">{{host.host_name}}</a>
	</td>
	{% if forloop.counter|divisibleby:"3" %}</tr><tr>{% endif %}	
{% endfor %}
</tr>
</table>
<br />
<table>
<h2>Services</h2>
{% for service in services %}
	<tr><td>
		<a href="/railroad/viewgroup/{{group_name}}/{{service}}">{{service}}</a>
	</tr></td>
{% endfor %}<commit_msg>Tweak the group page columns<commit_after>{% extends "base.html" %}

{% block title %}Group: {{group_name}}{% endblock %}

{% block content %}

<h1>{{group_name}}</h1>
<div class="services">
<h2>Hosts</h2>
<table>
<tr>
{% for host in hosts %}
	{% ifequal host.current_state '0' %}
		<td class="greenbg">
	{% else %}
		{% ifequal host.current_state '1' %}
			<td class="yellowbg">
		{% else %}
			<td class="redbg">
		{% endifequal %}
	{% endifequal %}
	<a href="/railroad/viewhost/{{host.host_name}}">{{host.host_name}}</a>
	</td>
	{% if forloop.counter|divisibleby:"5" %}</tr><tr>{% endif %}	
{% endfor %}
</tr>
</table>
<br />
<h2>Services</h2>
<table>
<tr>
{% for service in services %}
	<td>
		<a href="/railroad/viewgroup/{{group_name}}/{{service}}">{{service}}</a>
	</td>
	{% if forloop.counter|divisibleby:"2" %}</tr><tr>{% endif %}	
{% endfor %}
</tr>
{'fraction_non_alphanumeric': 0.2588522588522589, 'fraction_numerical': 0.0115995115995116, 'mean_word_length': 4.593856655290103, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4985495', 'n_tokens_mistral': 742, 'n_tokens_neox': 646, 'n_words': 126}