<commit_before>﻿<div ng-app="GVA.Creation" ng-controller="ManagePageController">
    <div class="manage-section warn-box text-centered" ng-hide="visited || account">
        <strong>You are not currently signed in.<br /></strong>
        You should bookmark this page to avoid losing your poll.
    </div>
    <div class="manage-area centered">

        <h2>
            Poll Management
        </h2>
        <div class="manage-section" id="manage-name-section">
            <div>
                <span class="fa fa-question-circle pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Question
                    <span id="edit-link" class="pull-right"><a class="clickable" ng-click="toggleNameEdit=true" ng-hide="toggleNameEdit">Edit</a></span>
                </h4>
            </div>
            <div>
                <form ng-submit="toggleNameEdit=false;updateQuestion()">
                    <span class="icon-padded-left">
                        <span ng-if="!toggleNameEdit">
                            {{Question}}
                        </span>
                        <span ng-if="toggleNameEdit">
                            <input class="wide-input" ng-model="$parent.Question" required />
                            <span class="fa fa-remove pull-right clickable form-aligned-top" ng-click="$parent.toggleNameEdit=false;$parent.discardNameChanges()"></span>
                            <span class="fa fa-check pull-right clickable form-aligned-top" ng-click="$parent.toggleNameEdit=false;$parent.updateQuestion()"></span>
                        </span>
                    </span>
                </form>
            </div>
        </div>
        <div class="manage-section" id="manage-options-section">
            <div>
                <span class="fa fa-list pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Options
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Options')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.Options.length}} Option{{poll.Options.length !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-poll-type-section">
            <div>
                <span class="fa fa-check-square-o pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Poll Style
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('PollType')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.PollType}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-misc-section">
            <div>
                <span class="fa fa-cog pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Miscellaneous Settings
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Misc')}}">Edit</a></span>
                </h4>
            </div>
        </div>
        <div class="manage-section" id="manage-expiry-section">
            <div>
                <span class="fa fa-clock-o pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Expires
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Expiry')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{formatPollExpiry()}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-invitees-section">
            <div>
                <span class="fa fa-users pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Invitations
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Invitees')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.InviteeCount}} Invitation{{poll.InviteeCount !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-voters-section">
            <div>
                <span class="fa fa-bar-chart pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Ballots
                    <span id="edit-link" class="pull-right"><a href="{{ manageSubPageUrl('Voters') }}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{ poll.VotersCount }} Ballot{{poll.VotersCount !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" ng-show="!poll.InviteOnly" id="manage-share-section">
            <div>
                <span class="fa fa-share-alt pull-left" aria-hidden="true"></span>
                <div class="pull-right">
                    <a href="mailto:&amp;body={{fullPollUrl()}}"><i class="fa fa-envelope-square fa-2x"></i></a>
                    <i class="fa fa-facebook-square fa-2x"></i>
                    <i class="fa fa-google-plus-square fa-2x"></i>
                </div>
                <h4 class="icon-padded-left">Share</h4>
            </div>
        </div>
        <div class="clear"></div>
        <div class="manage-section flexbox">
            <div class="centered">
                <a href="{{pollUrl()}}">
                    <button class="active-btn btn-large">Go to poll</button>
                </a><commit_msg>Remove social media buttons<commit_after>﻿<div ng-app="GVA.Creation" ng-controller="ManagePageController">
    <div class="manage-section warn-box text-centered" ng-hide="visited || account">
        <strong>You are not currently signed in.<br /></strong>
        You should bookmark this page to avoid losing your poll.
    </div>
    <div class="manage-area centered">

        <h2>
            Poll Management
        </h2>
        <div class="manage-section" id="manage-name-section">
            <div>
                <span class="fa fa-question-circle pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Question
                    <span id="edit-link" class="pull-right"><a class="clickable" ng-click="toggleNameEdit=true" ng-hide="toggleNameEdit">Edit</a></span>
                </h4>
            </div>
            <div>
                <form ng-submit="toggleNameEdit=false;updateQuestion()">
                    <span class="icon-padded-left">
                        <span ng-if="!toggleNameEdit">
                            {{Question}}
                        </span>
                        <span ng-if="toggleNameEdit">
                            <input class="wide-input" ng-model="$parent.Question" required />
                            <span class="fa fa-remove pull-right clickable form-aligned-top" ng-click="$parent.toggleNameEdit=false;$parent.discardNameChanges()"></span>
                            <span class="fa fa-check pull-right clickable form-aligned-top" ng-click="$parent.toggleNameEdit=false;$parent.updateQuestion()"></span>
                        </span>
                    </span>
                </form>
            </div>
        </div>
        <div class="manage-section" id="manage-options-section">
            <div>
                <span class="fa fa-list pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Options
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Options')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.Options.length}} Option{{poll.Options.length !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-poll-type-section">
            <div>
                <span class="fa fa-check-square-o pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Poll Style
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('PollType')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.PollType}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-misc-section">
            <div>
                <span class="fa fa-cog pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Miscellaneous Settings
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Misc')}}">Edit</a></span>
                </h4>
            </div>
        </div>
        <div class="manage-section" id="manage-expiry-section">
            <div>
                <span class="fa fa-clock-o pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Expires
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Expiry')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{formatPollExpiry()}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-invitees-section">
            <div>
                <span class="fa fa-users pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Invitations
                    <span id="edit-link" class="pull-right"><a href="{{manageSubPageUrl('Invitees')}}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{poll.InviteeCount}} Invitation{{poll.InviteeCount !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" id="manage-voters-section">
            <div>
                <span class="fa fa-bar-chart pull-left" aria-hidden="true"></span>
                <h4 class="icon-padded-left">
                    Ballots
                    <span id="edit-link" class="pull-right"><a href="{{ manageSubPageUrl('Voters') }}">Edit</a></span>
                </h4>
            </div>
            <div>
                <span class="icon-padded-left">{{ poll.VotersCount }} Ballot{{poll.VotersCount !== 1 ? 's' : ''}}</span>
            </div>
        </div>
        <div class="manage-section" ng-show="!poll.InviteOnly" id="manage-share-section">
            <div>
                <span class="fa fa-share-alt pull-left" aria-hidden="true"></span>
                <div class="pull-right">
                    <a href="mailto:&amp;body={{fullPollUrl()}}"><i class="fa fa-envelope-square fa-2x"></i></a>
                </div>
                <h4 class="icon-padded-left">Share</h4>
            </div>
        </div>
        <div class="clear"></div>
        <div class="manage-section flexbox">
            <div class="centered">
                <a href="{{pollUrl()}}">
                    <button class="active-btn btn-large">Go to poll</button>
                </a>
{'fraction_non_alphanumeric': 0.16899061650442865, 'fraction_numerical': 0.0040340261334736475, 'mean_word_length': 1.5924073653102977, 'pattern_counts': {'":': 0, '<': 307, '<?xml version=': 0, '>': 307, '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': '3140152', 'n_tokens_mistral': 3373, 'n_tokens_neox': 3184, 'n_words': 562}