<commit_before>﻿<meta name="google-signin-clientid" content="411410182235-0p8378ip8snlvbut4grq5ar61r8p60c2.apps.googleusercontent.com" />
<meta name="google-signin-scope" content="profile" />
<meta name="google-signin-cookiepolicy" content="single_host_origin" />

<div class="row">
    <div class="col-md-8 centered">
        <div class="page-header">
            <h1>
                <span data-bind="text: $root.pollName"></span>
                <small>by <span data-bind="text: $root.pollCreator"></span></small>
            </h1>
        </div>
        <div id="errorArea"></div>
        <div class="accordion" id="accordion">
            <!--Login Section-->
            <div id="loginSection" class="accordion-group panel panel-default">
                <div class="accordion-heading panel-heading clickable" data-bind="click: $root.showSection.bind($data, $element)">
                    <button id="logout-button" class="btn btn-danger" data-bind="click: logout">Logout</button>
                    <h4>Login</h4> <span data-bind="text: '(Logged in as: '+userName()+')', visible: userName() "></span>
                </div>
                <div class="accordion-body panel-body collapse row">
                    <div data-bind="visible: !requireAuth()" class="row">
                        <div class="col-xs-1"></div>

                        <div class="col-sm-4 centered form-group" data-bind="visible: !requireAuth()">
                            <h4>Vote anonymously...</h4>
                            <form>
                                <label for="loginUsername" class="control-label">Name</label>
                                <input id="loginUsername" class="form-control" autofocus placeholder="E.g. Your Name" />
                                <label class="control-label info-message" id="usernameWarnMessage" hidden> Username must be alpha-numeric</label>
                                <button id="Name-loginSubmit" class="btn btn-primary" data-bind="click: $root.submitLogin">Submit</button>
                            </form>
                        </div>

                        <div class="col-sm-1 divider"></div>
                        <div class="col-sm-1"></div>
                        <div class="col-sm-4 centered form-group">
                            <h4>...or sign in</h4>
                            <br />
                            <button id="signinGoogleButton" class="signinButton"><img src="/img/sign-in-with-google.png" data-bind="click: googleLogin" /></button>
                            <button id="signinFacebookButton" class="signinButton"><img src="/img/sign-in-with-facebook.png" data-bind="click: facebookLogin" /></button>
                        </div>
                        <div class="col-xs-1"></div>
                    </div>
                    <div data-bind="visible: requireAuth()">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-4 text-center">
                            <button id="signinGoogleButton" class="signinButton"><img src="/img/sign-in-with-google.png" data-bind="click: googleLogin" /></button>
                        </div>
                        <div class="col-sm-4 text-center">
                            <button id="signinFacebookButton" class="signinButton"><img src="/img/sign-in-with-facebook.png" data-bind="click: facebookLogin" /></button>
                        </div>
                        <div class="col-sm-2"></div>
                    </div>
                </div>
            </div>
            <!--Voting Section-->
            <div id="voteSection" class="accordion-group panel panel-default" data-bind="css: { 'panel-warning' : pollExpired }">
                <div class="accordion-heading panel-heading clickable" data-bind="click: function() { if(!$root.pollExpires()) {$root.showSection($element)} }">
                    <h4>Vote</h4><span data-bind="text: pollExpired() ? 'Poll closed' : ('Poll closes in ' + pollExpiryOffset()), visible: pollExpires()"></span>
                </div>
                <div class="accordion-body panel-body collapse row"><commit_msg>Fix for polling locking up on timed polls<commit_after>﻿<meta name="google-signin-clientid" content="411410182235-0p8378ip8snlvbut4grq5ar61r8p60c2.apps.googleusercontent.com" />
<meta name="google-signin-scope" content="profile" />
<meta name="google-signin-cookiepolicy" content="single_host_origin" />

<div class="row">
    <div class="col-md-8 centered">
        <div class="page-header">
            <h1>
                <span data-bind="text: $root.pollName"></span>
                <small>by <span data-bind="text: $root.pollCreator"></span></small>
            </h1>
        </div>
        <div id="errorArea"></div>
        <div class="accordion" id="accordion">
            <!--Login Section-->
            <div id="loginSection" class="accordion-group panel panel-default">
                <div class="accordion-heading panel-heading clickable" data-bind="click: $root.showSection.bind($data, $element)">
                    <button id="logout-button" class="btn btn-danger" data-bind="click: logout">Logout</button>
                    <h4>Login</h4> <span data-bind="text: '(Logged in as: '+userName()+')', visible: userName() "></span>
                </div>
                <div class="accordion-body panel-body collapse row">
                    <div data-bind="visible: !requireAuth()" class="row">
                        <div class="col-xs-1"></div>

                        <div class="col-sm-4 centered form-group" data-bind="visible: !requireAuth()">
                            <h4>Vote anonymously...</h4>
                            <form>
                                <label for="loginUsername" class="control-label">Name</label>
                                <input id="loginUsername" class="form-control" autofocus placeholder="E.g. Your Name" />
                                <label class="control-label info-message" id="usernameWarnMessage" hidden> Username must be alpha-numeric</label>
                                <button id="Name-loginSubmit" class="btn btn-primary" data-bind="click: $root.submitLogin">Submit</button>
                            </form>
                        </div>

                        <div class="col-sm-1 divider"></div>
                        <div class="col-sm-1"></div>
                        <div class="col-sm-4 centered form-group">
                            <h4>...or sign in</h4>
                            <br />
                            <button id="signinGoogleButton" class="signinButton"><img src="/img/sign-in-with-google.png" data-bind="click: googleLogin" /></button>
                            <button id="signinFacebookButton" class="signinButton"><img src="/img/sign-in-with-facebook.png" data-bind="click: facebookLogin" /></button>
                        </div>
                        <div class="col-xs-1"></div>
                    </div>
                    <div data-bind="visible: requireAuth()">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-4 text-center">
                            <button id="signinGoogleButton" class="signinButton"><img src="/img/sign-in-with-google.png" data-bind="click: googleLogin" /></button>
                        </div>
                        <div class="col-sm-4 text-center">
                            <button id="signinFacebookButton" class="signinButton"><img src="/img/sign-in-with-facebook.png" data-bind="click: facebookLogin" /></button>
                        </div>
                        <div class="col-sm-2"></div>
                    </div>
                </div>
            </div>
            <!--Voting Section-->
            <div id="voteSection" class="accordion-group panel panel-default" data-bind="css: { 'panel-warning' : pollExpired }">
                <div class="accordion-heading panel-heading clickable" data-bind="click: function() { if(!$root.pollExpired()) {$root.showSection($element)} }">
                    <h4>Vote</h4><span data-bind="text: pollExpired() ? 'Poll closed' : ('Poll closes in ' + pollExpiryOffset()), visible: pollExpires()"></span>
                </div>
                <div class="accordion-body panel-body collapse row">
{'fraction_non_alphanumeric': 0.15628756912719405, 'fraction_numerical': 0.011300793459966338, 'mean_word_length': 1.7455445544554455, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 183, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6438724', 'n_tokens_mistral': 2365, 'n_tokens_neox': 2222, 'n_words': 420}