<commit_before>{% extends "layout.html" %}
{% block content %}
    <!-- Navigation -->
    <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
                    Menu <i class="fa fa-bars"></i>
                </button>
                <a class="navbar-brand page-scroll" href="/">
                    <i class="fa fa-play-circle"></i> <span class="light">Chat</span>Sec
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
                <ul class="nav navbar-nav">
                    <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#login">Settings</a>
                    </li>                    
                    <li>
                        <a class="page-scroll" href="/logout">Logout</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
    </nav>

    <section id="chat_window" class="container-fluid">
        <div class="row">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <div>
                    <h3>Room: {{ room }}</h3>
                </div>
                <div class="col-md-3">
                    <button type="button" id="clear_msgs" class="btn btn-danger">Clear</button>
                    <button type="button" class="btn btn-info" data-toggle="modal" data-target="#settings_modal">Settings</button>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 col-md-3 hidden-sm">
                <h3>Users</h3>
                <ul id="user_list">
                    <li>
                        <img class="user-image" src="/static/imgs/avatars/white/{{avatar}}">
                        You
                    </li>
                </ul>
            </div>
            <!-- Chat Content -->
            <div class="col-xs-12 col-md-9">
                <ul id="chat">
                    <li class="row typing" data-user="" data-date="">
                        <div class="col-sm-1 col-md-1 user_image">
                            <img class="img-responsive typing_avatar" src="">
                        </div>
                        <div class="col-sm-8">
                            <h3></h3><br/>
                            <span class="msg_content">
                                <img src="/static/imgs/typing.gif">
                            </span>                            
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <!-- Chat TextBox -->
        <div id="text_box" class="col-md-9 col-md-offset-3 form-group form-group-lg">
            <label class="col-sm-1 control-label" for="formGroupInputLarge">
                <img height="50" width="50" src="/static/imgs/avatars/white//{{avatar}}">
            </label>
            <div class="col-sm-10">
                <div class="input-group">
                    <textarea id="text" class="form-control" type="text" id="formGroupInputLarge" placeholder="Type type type"></textarea>
                    <div class="input-group-addon"><button id="send" class="btn btn-primary">Send</button></div>
                </div>
            </div>
        </div>     
        <!-- <a href="#" onclick="leave_room();">Leave this room</a> -->
    </section>

    <!-- Modal -->
    <div id="settings_modal" class="modal fade" role="dialog">
      <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
          <div class="modal-header"><commit_msg>Resolving confict<commit_after>{% extends "layout.html" %}
{% block content %}
    <!-- Navigation -->
    <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
                    Menu <i class="fa fa-bars"></i>
                </button>
                <a class="navbar-brand page-scroll" href="/">
                    <i class="fa fa-play-circle"></i> <span class="light">Chat</span>Sec
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
                <ul class="nav navbar-nav">
                    <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#login">Settings</a>
                    </li>                    
                    <li>
                        <a class="page-scroll" href="/logout">Logout</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
    </nav>

    <section id="chat_window" class="container-fluid">

        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <div>
                    <h3>Room: {{ room }}</h3>
                </div>
                <div class="col-md-3">
                    <button type="button" id="clear_msgs" class="btn btn-danger">Clear</button>
                    <button type="button" class="btn btn-info" data-toggle="modal" data-target="#settings_modal">Settings</button>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-md-3 hidden-sm hidden-xs">
                <h3>Users</h3>
                <ul id="user_list">
                    <li>
                        <img class="user-image" src="/static/imgs/avatars/white/{{avatar}}">
                        You
                    </li>
                </ul>
            </div>

            <!-- Chat Content -->
            <div class="col-xs-12 col-md-8">
                <ul id="chat">
                    <li class="row typing" data-user="" data-date="">
                        <div class="col-sm-1 col-md-1 user_image">
                            <img class="img-responsive typing_avatar" src="">
                        </div>
                        <div class="col-sm-8">
                            <h3></h3><br/>
                            <span class="msg_content">
                                <img height="20" src="/static/imgs/typing.gif">
                            </span>                            
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        
        <!-- Chat TextBox -->        
        <div class="row">
            <div id="text_box" class="col-xs-12 col-sm-12 col-md-8 form-group form-group-lg">
                <label class="col-sm-1 control-label" for="formGroupInputLarge">
                    <img height="50" width="50" src="/static/imgs/avatars/white/{{avatar}}">
                </label>
                <div class="col-sm-10">
                    <div class="input-group">
                        <textarea id="text" class="form-control" type="text" id="formGroupInputLarge" placeholder="Type type type"></textarea>
                        <div class="input-group-addon"><button id="send" class="btn btn-primary">Send</button></div>
                    </div>
                </div>
            </div>
        </div>
        <!-- <a href="#" onclick="leave_room();">Leave this room</a> -->
    </section>

    <!-- Modal -->
    <div id="settings_modal" class="modal fade" role="dialog">
      <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
          <div class="modal-header">
{'fraction_non_alphanumeric': 0.15930356508350113, 'fraction_numerical': 0.0069880374274546965, 'mean_word_length': 1.2262061692591617, 'pattern_counts': {'":': 0, '<': 220, '<?xml version=': 0, '>': 220, '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': '775963', 'n_tokens_mistral': 2346, 'n_tokens_neox': 2185, 'n_words': 464}