<commit_before>{% extends "survey/base_with_sidebar.html" %}
{% load static from staticfiles %}

{% block css %}
{{ block.super }}
<link type='text/css' rel='stylesheet' href='{% static "css/jquery-ui-timepicker-addon.css" %}' />
{% endblock %}

{% block javascript %}
{{ block.super }}
<script type='text/javascript' src='{% static "js/jquery.slider-access.js" %}'></script>
<script type='text/javascript' src='{% static "js/jquery.timepicker-add-on.min.js" %}'></script>
<script type='text/javascript' src='{% static "js/ajaxsend.js" %}'></script>
<script type='text/javascript' src='{% static "js/survey_dashboard.js" %}'></script>
{% endblock %}

{% block header %}
  <h2 id='survey-title'>{{ survey.title|upper }}</h2>
  <ul class='tabs'>
    <li><a href='{% url surveydashboard survey.slug %}' 
        {% if current_tab == "survey/survey_dashboard.html" %}
            id="currentTab"
        {% endif %}
    >GENERAL</a></li>
    {% if not survey.is_active and not survey.closed %}
      <li><a href='{% url surveyedit survey.slug %}'
        {% if current_tab == "survey/survey_form.html" %}
            id="currentTab"
        {% endif %}
      >EDIT</a></li>
      <li><a href='{% url surveyreorder survey.slug %}'
        {% if current_tab == "survey/reorder.html" %}
            id="currentTab"
        {% endif %}
      >REORDER</a></li>
    {% endif %}
    <li><a href='{% url surveyresults survey.slug %}'
        {% if current_tab == "survey/results.html" %}
            id="currentTab"
        {% endif %}
    >RESULTS</a></li>
    <li><a href='{% url ballot survey.slug %}'>BALLOTS</a></li>
    {% block extra_tabs %}
        <li><a href='{% url survey survey.slug %}' target ='_blank'>VIEW</a>
        <li><a href='{% url surveyclone survey.slug %}'>CLONE</a>
    {% endblock %}
  </ul>
{% endblock %}

{% block content %}

  <h3>
    Survey Duration
    <div class='help-text'>Select a box to choose a date</div>
  </h3>
  <div id='survey-duration'>
    <label for='start-date'>Start:</label>
    <input type='text' id='start-date' name='start-date' />
    <label for='end-date'>End:</label>
    <input type='text' id='end-date' name='end-date' />
  </div>
  <div class='toggle-label'>Allow Survey Station: <a class='toggle-button' id='toggle_track' hre
f='{% url surveytrack survey.slug %}'>{{ survey.use_cookies|yesno:"No,Yes" }}</a></div>


  <a href='{% url qrcode survey.slug %}'>Download QR Code</a>

  <div class='hidden' id='clone-form'>
    <table>
      <tr><td></td><td class='error'></td></tr>
      <tr><td>New Title:</td><td><input type='text' name='clone' data-url='{% url surveyclone survey.slug %}' /></td></tr>
      <tr><td></td><td><input type='submit' name='submit-clone' value='Clone' /></td></tr>
    </table>
  </div>
<commit_msg>Fixed the Survey Station link<commit_after>{% extends "survey/base_with_sidebar.html" %}
{% load static from staticfiles %}

{% block css %}
{{ block.super }}
<link type='text/css' rel='stylesheet' href='{% static "css/jquery-ui-timepicker-addon.css" %}' />
{% endblock %}

{% block javascript %}
{{ block.super }}
<script type='text/javascript' src='{% static "js/jquery.slider-access.js" %}'></script>
<script type='text/javascript' src='{% static "js/jquery.timepicker-add-on.min.js" %}'></script>
<script type='text/javascript' src='{% static "js/ajaxsend.js" %}'></script>
<script type='text/javascript' src='{% static "js/survey_dashboard.js" %}'></script>
{% endblock %}

{% block header %}
  <h2 id='survey-title'>{{ survey.title|upper }}</h2>
  <ul class='tabs'>
    <li><a href='{% url surveydashboard survey.slug %}' 
        {% if current_tab == "survey/survey_dashboard.html" %}
            id="currentTab"
        {% endif %}
    >GENERAL</a></li>
    {% if not survey.is_active and not survey.closed %}
      <li><a href='{% url surveyedit survey.slug %}'
        {% if current_tab == "survey/survey_form.html" %}
            id="currentTab"
        {% endif %}
      >EDIT</a></li>
      <li><a href='{% url surveyreorder survey.slug %}'
        {% if current_tab == "survey/reorder.html" %}
            id="currentTab"
        {% endif %}
      >REORDER</a></li>
    {% endif %}
    <li><a href='{% url surveyresults survey.slug %}'
        {% if current_tab == "survey/results.html" %}
            id="currentTab"
        {% endif %}
    >RESULTS</a></li>
    <li><a href='{% url ballot survey.slug %}'>BALLOTS</a></li>
    {% block extra_tabs %}
        <li><a href='{% url survey survey.slug %}' target ='_blank'>VIEW</a>
        <li><a href='{% url surveyclone survey.slug %}'>CLONE</a>
    {% endblock %}
  </ul>
{% endblock %}

{% block content %}

  <h3>
    Survey Duration
    <div class='help-text'>Select a box to choose a date</div>
  </h3>
  <div id='survey-duration'>
    <label for='start-date'>Start:</label>
    <input type='text' id='start-date' name='start-date' />
    <label for='end-date'>End:</label>
    <input type='text' id='end-date' name='end-date' />
  </div>
  <div class='toggle-label'>Allow Survey Station: <a class='toggle-button' id='toggle_track' href='{% url surveytrack survey.slug %}'>{{ survey.use_cookies|yesno:"No,Yes" }}</a></div>


  <a href='{% url qrcode survey.slug %}'>Download QR Code</a>

  <div class='hidden' id='clone-form'>
    <table>
      <tr><td></td><td class='error'></td></tr>
      <tr><td>New Title:</td><td><input type='text' name='clone' data-url='{% url surveyclone survey.slug %}' /></td></tr>
      <tr><td></td><td><input type='submit' name='submit-clone' value='Clone' /></td></tr>
    </table>
  </div>

{'fraction_non_alphanumeric': 0.22138364779874214, 'fraction_numerical': 0.0014375561545372866, 'mean_word_length': 3.3620689655172415, 'pattern_counts': {'":': 0, '<': 165, '<?xml version=': 0, '>': 165, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4033841', 'n_tokens_mistral': 2030, 'n_tokens_neox': 1907, 'n_words': 405}