<commit_before>{% extends 'base.html' %}{% load compress %}
{% block content %}
<div class="page-header">
	<h1>{% if player.human %}<span class="text-success">RADIO</span>{% else %}<span class="text-danger">THE HORDE</span>{% endif %} <small>{{ player.game.name }}</small></h1>
</div>

<p class="lead">
	{% if player.human %}Meet people with brains who may or may not be in your area.{% else %}
	Meet hot undead singles and feast on brains together.
	{% endif %}
</p>

<p class="text-muted">Transcripts may be monitored or recorded for quality assurance or training purposes. -- the NSA</p>

<div id="chat" ng-app="chat" ng-controller="ChatCtrl" ng-cloak>
	<div class="alert alert-danger" ng-show="!connected">The chat server is currently offline due to a zombie attack. Please try again later.</div>
	<div id="chat-messages" scroll-bottom link-new-window>
		<p ng-repeat="m in messages track by $index" ng-bind-html="m"></p>
	</div>
	<form id="chat-input" ng-submit="transmit()">
		<input id="msg" class="form-control" type="text" ng-disabled="!connected" ng-model="transmission" keep-focus autofocus>
	</form>
</div>

{% endblock %}

{% block script %}
<script>
	var CHAT_SERVER_URL = '{{ CHAT_SERVER_URL }}';
	var GAME_ID = {{ game.pk }};
</script>
{% include 'includes/angular.html' %}
{% include 'includes/moment.html' %}
{% include 'includes/sockjs.html' %}
{% compress js %}
<script type="text/coffeescript">
app = angular.module 'chat', ['ngCookies', 'ngSanitize']

app.factory 'moment', ->
	return moment<commit_msg>Add linky filter to chat messages<commit_after>{% extends 'base.html' %}{% load compress %}
{% block content %}
<div class="page-header">
	<h1>{% if player.human %}<span class="text-success">RADIO</span>{% else %}<span class="text-danger">THE HORDE</span>{% endif %} <small>{{ player.game.name }}</small></h1>
</div>

<p class="lead">
	{% if player.human %}Meet people with brains who may or may not be in your area.{% else %}
	Meet hot undead singles and feast on brains together.
	{% endif %}
</p>

<p class="text-muted">Transcripts may be monitored or recorded for quality assurance or training purposes. -- the NSA</p>

<div id="chat" ng-app="chat" ng-controller="ChatCtrl" ng-cloak>
	<div class="alert alert-danger" ng-show="!connected">The chat server is currently offline due to a zombie attack. Please try again later.</div>
	<div id="chat-messages" scroll-bottom link-new-window>
		<p ng-repeat="m in messages track by $index" ng-bind-html="m | linky"></p>
	</div>
	<form id="chat-input" ng-submit="transmit()">
		<input id="msg" class="form-control" type="text" ng-disabled="!connected" ng-model="transmission" keep-focus autofocus>
	</form>
</div>

{% endblock %}

{% block script %}
<script>
	var CHAT_SERVER_URL = '{{ CHAT_SERVER_URL }}';
	var GAME_ID = {{ game.pk }};
</script>
{% include 'includes/angular.html' %}
{% include 'includes/moment.html' %}
{% include 'includes/sockjs.html' %}
{% compress js %}
<script type="text/coffeescript">
app = angular.module 'chat', ['ngCookies', 'ngSanitize']

app.factory 'moment', ->
	return moment
{'fraction_non_alphanumeric': 0.1861598440545809, 'fraction_numerical': 0.001299545159194282, 'mean_word_length': 4.944015444015444, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 61, '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': '508175', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1015, 'n_words': 297}