<commit_before>{% extends "base.html" %}
{% block title%}{% endblock %}
{% block header %}
<script src="/static/js/jquery.kinetic.min.js" type="text/javascript" charset="utf-8"></script>

<link rel="stylesheet" href="/static/css/chat.css?1">
<link rel="stylesheet" media="screen" type="text/css" href="/static/colorpicker/css/colorpicker.css" />
<script type="text/javascript" src="/static/colorpicker/js/colorpicker.js"></script>
<script src="/static/js/characters.js?1"></script>
<script src="/static/js/quirks.js"></script>
<script type="text/javascript">
    var user = {{user_chat_dict|tojson|safe}};
    //var chat = {{chat.id|tojson|safe}};
    var chat = {{chat.to_dict()|tojson|safe}};
    var latestNum = {{latest_num|tojson|safe}};
</script>

<script src="/static/js/chat.js"></script>
{% endblock %}
{% block content %}

<div id="topbar">
    <center>
       <a id="toptitle" href="/"><img src="/static/icon.png" /></a>
        <div id="topmenu">
            <div id="statusContain"><input type="text" id="statusInput" autocomplete="off" maxlength="50" placeholder="Status"><div type="button" id="statusButton">!</div></div>
            <div class="topborder"></div>
            <div id="disconnectButton">Disconnect</div>
            <div class="topborder"></div>
            <a id="goHelp" href="/help">Help</a>
            <div class="topborder"></div>
            <a id="goSupport" href="http://charatrp.tumblr.com/support">Donate</a>
        </div>
    </center>
    <span class="left">
        <span id="ooclet">C</span><span id="extain"><span id="reclaim">!</span><span id="exclaim">0</span></span>
    </span>
    <span class="right">
        <span class="userList">U</span> <span class="settings">S</span>
    </span>
</div>

<div id="conversation" class="body">
    <div id="convo">
        <p><a id="logAnchor" href="/chat/{{chat.url}}/log">View Log</a></p>
        {% for message in messages %}
        <span id="message{{message.id}}" class="{{message.type}} user{{message.user_id}}">
            <p class="info">
                <span class="left">{{message.name}}{% if message.type != "ic" %}:{{message.type}}{% endif %}</span>
                <span class="right">{{message.user.username}} {{message.posted.strftime("%b %d %H:%M")}}</span>
            </p>
            <p class="message" style="color: #{{message.color}};">{% if message.acronym %}{{message.acronym}}: {% endif %}{{message.text}}</p>
        </span>
        {% endfor %}
    </div>
</div>

<div class="body">
<div id="userList" class="sidebar">
    <div class="sidebarContain">
        {% if chat.type=='group' %}
            <div id="groupMeta" class="card">
                <h1 class="titi hidedesc">{{chat.title}}</h1>
                <p id="topic">{{chat.topic}}</p>
                <button type="button" id="topicButton" class="metaOptions">Set topic</button>
                <ul id="metaResults">
                    <div class="bar"></div>
                    <li id="autosilenceResult" {% if chat.autosilence == true %} style="display:list-item;" {% endif %} >New users are auto-silenced.</li>
                    <li id="publicResult" {% if chat.publicity == 'listed' %} style="display:list-item;" {% endif %} >This chat is public.</li>
                    <li id="nsfwResult" {% if chat.nsfw == true %} style="display:list-item;" {% endif %} >This chat is not safe for work.</li>
                </ul>
            </div>
            <div class="card metaOptions stoptions">
                <h1 class="titi">CHAT SETTINGS</h1><commit_msg>changing html into publicty as opposed to public<commit_after>{% extends "base.html" %}
{% block title%}{% endblock %}
{% block header %}
<script src="/static/js/jquery.kinetic.min.js" type="text/javascript" charset="utf-8"></script>

<link rel="stylesheet" href="/static/css/chat.css?1">
<link rel="stylesheet" media="screen" type="text/css" href="/static/colorpicker/css/colorpicker.css" />
<script type="text/javascript" src="/static/colorpicker/js/colorpicker.js"></script>
<script src="/static/js/characters.js?1"></script>
<script src="/static/js/quirks.js"></script>
<script type="text/javascript">
    var user = {{user_chat_dict|tojson|safe}};
    //var chat = {{chat.id|tojson|safe}};
    var chat = {{chat.to_dict()|tojson|safe}};
    var latestNum = {{latest_num|tojson|safe}};
</script>

<script src="/static/js/chat.js"></script>
{% endblock %}
{% block content %}

<div id="topbar">
    <center>
       <a id="toptitle" href="/"><img src="/static/icon.png" /></a>
        <div id="topmenu">
            <div id="statusContain"><input type="text" id="statusInput" autocomplete="off" maxlength="50" placeholder="Status"><div type="button" id="statusButton">!</div></div>
            <div class="topborder"></div>
            <div id="disconnectButton">Disconnect</div>
            <div class="topborder"></div>
            <a id="goHelp" href="/help">Help</a>
            <div class="topborder"></div>
            <a id="goSupport" href="http://charatrp.tumblr.com/support">Donate</a>
        </div>
    </center>
    <span class="left">
        <span id="ooclet">C</span><span id="extain"><span id="reclaim">!</span><span id="exclaim">0</span></span>
    </span>
    <span class="right">
        <span class="userList">U</span> <span class="settings">S</span>
    </span>
</div>

<div id="conversation" class="body">
    <div id="convo">
        <p><a id="logAnchor" href="/chat/{{chat.url}}/log">View Log</a></p>
        {% for message in messages %}
        <span id="message{{message.id}}" class="{{message.type}} user{{message.user_id}}">
            <p class="info">
                <span class="left">{{message.name}}{% if message.type != "ic" %}:{{message.type}}{% endif %}</span>
                <span class="right">{{message.user.username}} {{message.posted.strftime("%b %d %H:%M")}}</span>
            </p>
            <p class="message" style="color: #{{message.color}};">{% if message.acronym %}{{message.acronym}}: {% endif %}{{message.text}}</p>
        </span>
        {% endfor %}
    </div>
</div>

<div class="body">
<div id="userList" class="sidebar">
    <div class="sidebarContain">
        {% if chat.type=='group' %}
            <div id="groupMeta" class="card">
                <h1 class="titi hidedesc">{{chat.title}}</h1>
                <p id="topic">{{chat.topic}}</p>
                <button type="button" id="topicButton" class="metaOptions">Set topic</button>
                <ul id="metaResults">
                    <div class="bar"></div>
                    <li id="autosilenceResult" {% if chat.autosilence == true %} style="display:list-item;" {% endif %} >New users are auto-silenced.</li>
                    <li id="publicityResult" {% if chat.publicity == 'listed' %} style="display:list-item;" {% endif %} >This chat is public.</li>
                    <li id="nsfwResult" {% if chat.nsfw == true %} style="display:list-item;" {% endif %} >This chat is not safe for work.</li>
                </ul>
            </div>
            <div class="card metaOptions stoptions">
                <h1 class="titi">CHAT SETTINGS</h1>
{'fraction_non_alphanumeric': 0.21494801910649058, 'fraction_numerical': 0.0028097780275358245, 'mean_word_length': 2.9860022396416572, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, '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': '2458968', 'n_tokens_mistral': 2361, 'n_tokens_neox': 2240, 'n_words': 436}