<commit_before>{% extends 'base/special.html.twig' %}

{% block fullTitle %}/v/GAs - Voting{% endblock %}

{% block css %}
  {{ parent() }}
  <link rel="stylesheet" href="{{ asset('css/voting.css') }}">
  <link rel="stylesheet" href="{{ asset('css/votingNominees.css') }}">
{% endblock %}

{% block js %}
  {{ parent() }}
  <script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.6.0/Sortable.min.js"></script>
  <script src='{{ asset('js/dumbshit.js') }}'></script>
  <script src='{{ asset('js/voting.js') }}'></script>
{% endblock %}

{% block head %}
  {% if award %}
    <script type="text/javascript">
      var votingEnabled = {{ votingOpen ? 'true' : 'false' }};
      var lastVotes = {{ votes | json_encode | raw }};
      var currentAward = "{{ award.id }}";
      var postURL = "{{ path('votingSubmission', {'awardID': award.id}) }}";
      var votingStyle = "{{ votingStyle }}";
    </script>
  {% endif %}

  {% if votingOpen %}
    <style type="text/css">
      .aNominee {
        cursor: move;
      }
      .voteBox {
        cursor: pointer;
      }
    </style>
  {% endif %}
{% endblock %}

{% block body %}
  <p class="shit">Created and Directed by<br><span style="font-size:100px"><NAME></span></p>

  <div class="pageHeader">
    {#<a href="{{ path('voting') }}"><img src="{{ asset('2016images/vga_logo.png') }}" class="logo" alt="oh god it's happening again"/></a>#}
    <h1>The 2017 Vidya Gaem Awards</h1>
    <h2>{{ voteText }}</h2>
  </div>

  {#<div class="pageHeader" style="text-align: center; height: 110px;">#}
  {#<label>Width <input type="number" value="350" id="debugWidth"></label>#}
  {#<label>Height <input type="number" value="140" id="debugHeight"></label>#}
  {#<label>Title <input type="number" value="14" id="debugTitle"></label>#}
  {#<label>Subtitle <input type="number" value="12" id="debugSubtitle"></label>#}
  {#</div>#}

    <script type="text/javascript">
        $(document).ready(function () {<commit_msg>Add some instructions for desktop<commit_after>{% extends 'base/special.html.twig' %}

{% block fullTitle %}/v/GAs - Voting{% endblock %}

{% block css %}
  {{ parent() }}
  <link rel="stylesheet" href="{{ asset('css/voting.css') }}">
  <link rel="stylesheet" href="{{ asset('css/votingNominees.css') }}">
{% endblock %}

{% block js %}
  {{ parent() }}
  <script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.6.0/Sortable.min.js"></script>
  <script src='{{ asset('js/dumbshit.js') }}'></script>
  <script src='{{ asset('js/voting.js') }}'></script>
{% endblock %}

{% block head %}
  {% if award %}
    <script type="text/javascript">
      var votingEnabled = {{ votingOpen ? 'true' : 'false' }};
      var lastVotes = {{ votes | json_encode | raw }};
      var currentAward = "{{ award.id }}";
      var postURL = "{{ path('votingSubmission', {'awardID': award.id}) }}";
      var votingStyle = "{{ votingStyle }}";
    </script>
  {% endif %}

  {% if votingOpen %}
    <style type="text/css">
      .aNominee {
        cursor: move;
      }
      .voteBox {
        cursor: pointer;
      }

      #voteDropAreaBottom:empty:after {
        content: 'You haven\'t yet voted for this award - click on any number of nominees in the order you want them to win';
      }

    </style>
  {% endif %}
{% endblock %}

{% block body %}
  <p class="shit">Created and Directed by<br><span style="font-size:100px"><NAME></span></p>

  <div class="pageHeader">
    {#<a href="{{ path('voting') }}"><img src="{{ asset('2016images/vga_logo.png') }}" class="logo" alt="oh god it's happening again"/></a>#}
    <h1>The 2017 Vidya Gaem Awards</h1>
    <h2>{{ voteText }}</h2>
  </div>

  {#<div class="pageHeader" style="text-align: center; height: 110px;">#}
  {#<label>Width <input type="number" value="350" id="debugWidth"></label>#}
  {#<label>Height <input type="number" value="140" id="debugHeight"></label>#}
  {#<label>Title <input type="number" value="14" id="debugTitle"></label>#}
  {#<label>Subtitle <input type="number" value="12" id="debugSubtitle"></label>#}
  {#</div>#}

    <script type="text/javascript">
        $(document).ready(function () {
{'fraction_non_alphanumeric': 0.22696411251212414, 'fraction_numerical': 0.015033947623666343, 'mean_word_length': 3.725085910652921, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 2, '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': '4211066', 'n_tokens_mistral': 1534, 'n_tokens_neox': 1410, 'n_words': 301}