<commit_before>{% load hq_shared_tags %}
{% load compress %}
{% load statici18n %}
<html lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="HandheldFriendly" content="True">

        {% if less_debug %}
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/bootstrap.debug.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'font-awesome/less/font-awesome.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/font-commcare.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/font-formplayer.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/style.debug.less' %}" />
            <link type="text/css"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'formplayer/style/webforms.css' %}">
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/cloudcare.debug.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'preview_app/less/preview_app.debug.less' %}"/>
        {% else %}
          {% compress css %}
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/bootstrap.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'font-awesome/less/font-awesome.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/font-formplayer.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/font-commcare.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/style.less' %}" />
            <link type="text/css"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'formplayer/style/webforms.css' %}">
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/cloudcare.less' %}"/>
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'preview_app/less/preview_app.less' %}"/>
          {% endcompress %}
        {% endif %}
        <link type="text/css"
              rel="stylesheet"
              media="screen"
              href="{% static "jquery-ui/themes/redmond/jquery-ui.min.css" %}" />

        <link rel="stylesheet" href="{% static 'nprogress/nprogress.css' %}">
        <link rel="stylesheet" href="{% static 'jquery-ui/themes/base/jquery-ui.min.css' %}">
        <link type="text/css"
              rel="stylesheet"
              media="all"
              href="{% static 'datatables/media/css/jquery.dataTables.min.css' %}"/>
        <link rel="stylesheet" href="{% static 'codemirror/lib/codemirror.css' %}"/>


        {% if less_debug %}
        <script>
            less = {
                env: "development",
                useFileCache: true,
                logLevel: 2,
                errorReporting: 'console',
                async: false,
                fileAsync: false,
                poll: 1000,
                functions: {},
                dumpLineNumbers: "comments",
                relativeUrls: false
            };
        </script>
        <script src="{% static 'less/dist/less-1.7.3.min.js' %}"></script>
        {% if less_watch %}<script>less.watch();</script>{% endif %}
        {% endif %}

        <script type="text/javascript" src="{% static 'jquery/dist/jquery.min.js' %}"></script>
        <script type="text/javascript" src="{% static 'bootstrap/dist/js/bootstrap.min.js' %}"></script>
        <script type="text/javascript" src="{% static 'hqwebapp/js/hqModules.js' %}"></script>
        <script type="text/javascript" src="{% static 'style/js/hq.helpers.js' %}"></script>
        <script src="{% statici18n LANGUAGE_CODE %}"></script> {# DO NOT COMPRESS #}

        {% compress js %}
        <!-- UI libraries needed for all other widgets and interactions -->
        <script src="{% static 'jquery-ui/ui/core.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/widget.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/mouse.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/position.js' %}"></script>

        <!-- Individual widgets and interactions -->
        <script src="{% static 'jquery-ui/ui/menu.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/autocomplete.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/button.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/datepicker.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/draggable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/resizable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/droppable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/sortable.js' %}"></script>
        {% endcompress %}

        {% compress js %}
        <script src="{% static 'dragscroll/dragscroll.js' %}"></script>
        {% endcompress %}

        <style id="case-tiles-style"></style>
        <!-- For Formplayer's app preview -->

    </head>
    <body>
        <section id="cloudcare-notifications"></section>
        <section id="case-crumbs" style="width: 800px"></section>
        <section id="cases"></section>
        <div id="menu-container">
            <div id="phone-mode-navigation"></div>
            <div id="breadcrumb-region"></div>
            <div class="scrollable-container dragscroll">
              <div id="menu-region" class="content menu-content"></div>
            </div>
        </div>
        <section id="webforms" class="webforms container-fluid" data-bind="template: { name: 'form-fullform-ko-template' }"></section>
        {% if request|toggle_enabled:"INSTANCE_VIEWER" %}
            <section id="cloudcare-debugger" data-bind="
            template: {
                name: 'instance-viewer-ko-template',
                afterRender: adjustWidth
            }
        "></section>
        {% endif %}

        <script>
        $(function () {
            hqImport('preview_app/js/preview_app.js').start({
                apps: [{{ app|JSON }}],
                language: "{{ request.user.language|default:'en' }}",
                username: "{{ request.user.username  }}",
                domain: "{{ request.domain }}",
                formplayer_url: "{{ formplayer_url }}",
                phoneMode: true,
            })
        })
        </script>
        {% include 'formplayer/fullform-ui/templates.html' %}
        {% include 'formplayer/grid_view.html' %}
        {% include 'formplayer/case_detail.html' %}
        {% include 'formplayer/case_list.html' %}
        {% include 'formplayer/menu_list.html' %}
        {% include 'formplayer/session_list.html' %}
        {% include 'formplayer/navigation.html' %}

        {% include 'formplayer/dependencies.html' %}
        {% include "style/includes/ko.html" %}
        <script src="{% static 'preview_app/js/preview_app.js' %}"></script>
    </body>
</html>
<commit_msg>add dragscroll to forms area so it doesn't get annoying lol<commit_after>{% load hq_shared_tags %}
{% load compress %}
{% load statici18n %}
<html lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="HandheldFriendly" content="True">

        {% if less_debug %}
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/bootstrap.debug.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'font-awesome/less/font-awesome.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/font-commcare.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/font-formplayer.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/style.debug.less' %}" />
            <link type="text/css"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'formplayer/style/webforms.css' %}">
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/cloudcare.debug.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'preview_app/less/preview_app.debug.less' %}"/>
        {% else %}
          {% compress css %}
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/bootstrap.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'font-awesome/less/font-awesome.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/font-formplayer.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/font-commcare.less' %}" />
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'style/less/style.less' %}" />
            <link type="text/css"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'formplayer/style/webforms.css' %}">
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'cloudcare/less/cloudcare.less' %}"/>
            <link type="text/less"
                  rel="stylesheet"
                  media="all"
                  href="{% static 'preview_app/less/preview_app.less' %}"/>
          {% endcompress %}
        {% endif %}
        <link type="text/css"
              rel="stylesheet"
              media="screen"
              href="{% static "jquery-ui/themes/redmond/jquery-ui.min.css" %}" />

        <link rel="stylesheet" href="{% static 'nprogress/nprogress.css' %}">
        <link rel="stylesheet" href="{% static 'jquery-ui/themes/base/jquery-ui.min.css' %}">
        <link type="text/css"
              rel="stylesheet"
              media="all"
              href="{% static 'datatables/media/css/jquery.dataTables.min.css' %}"/>
        <link rel="stylesheet" href="{% static 'codemirror/lib/codemirror.css' %}"/>


        {% if less_debug %}
        <script>
            less = {
                env: "development",
                useFileCache: true,
                logLevel: 2,
                errorReporting: 'console',
                async: false,
                fileAsync: false,
                poll: 1000,
                functions: {},
                dumpLineNumbers: "comments",
                relativeUrls: false
            };
        </script>
        <script src="{% static 'less/dist/less-1.7.3.min.js' %}"></script>
        {% if less_watch %}<script>less.watch();</script>{% endif %}
        {% endif %}

        <script type="text/javascript" src="{% static 'jquery/dist/jquery.min.js' %}"></script>
        <script type="text/javascript" src="{% static 'bootstrap/dist/js/bootstrap.min.js' %}"></script>
        <script type="text/javascript" src="{% static 'hqwebapp/js/hqModules.js' %}"></script>
        <script type="text/javascript" src="{% static 'style/js/hq.helpers.js' %}"></script>
        <script src="{% statici18n LANGUAGE_CODE %}"></script> {# DO NOT COMPRESS #}

        {% compress js %}
        <!-- UI libraries needed for all other widgets and interactions -->
        <script src="{% static 'jquery-ui/ui/core.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/widget.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/mouse.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/position.js' %}"></script>

        <!-- Individual widgets and interactions -->
        <script src="{% static 'jquery-ui/ui/menu.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/autocomplete.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/button.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/datepicker.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/draggable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/resizable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/droppable.js' %}"></script>
        <script src="{% static 'jquery-ui/ui/sortable.js' %}"></script>
        {% endcompress %}

        {% compress js %}
        <script src="{% static 'dragscroll/dragscroll.js' %}"></script>
        {% endcompress %}

        <style id="case-tiles-style"></style>
        <!-- For Formplayer's app preview -->

    </head>
    <body>
        <section id="cloudcare-notifications"></section>
        <section id="case-crumbs" style="width: 800px"></section>
        <section id="cases"></section>
        <div id="menu-container">
            <div id="phone-mode-navigation"></div>
            <div id="breadcrumb-region"></div>
            <div class="scrollable-container dragscroll">
              <div id="menu-region" class="content menu-content"></div>
            </div>
        </div>
        <div class="scrollable-container dragscroll">
          <section id="webforms" class="webforms container-fluid" data-bind="template: { name: 'form-fullform-ko-template' }"></section>
          {% if request|toggle_enabled:"INSTANCE_VIEWER" %}
              <section id="cloudcare-debugger" data-bind="
              template: {
                  name: 'instance-viewer-ko-template',
                  afterRender: adjustWidth
              }
          "></section>
        </div>
        {% endif %}

        <script>
        $(function () {
            hqImport('preview_app/js/preview_app.js').start({
                apps: [{{ app|JSON }}],
                language: "{{ request.user.language|default:'en' }}",
                username: "{{ request.user.username  }}",
                domain: "{{ request.domain }}",
                formplayer_url: "{{ formplayer_url }}",
                phoneMode: true,
            })
        })
        </script>
        {% include 'formplayer/fullform-ui/templates.html' %}
        {% include 'formplayer/grid_view.html' %}
        {% include 'formplayer/case_detail.html' %}
        {% include 'formplayer/case_list.html' %}
        {% include 'formplayer/menu_list.html' %}
        {% include 'formplayer/session_list.html' %}
        {% include 'formplayer/navigation.html' %}

        {% include 'formplayer/dependencies.html' %}
        {% include "style/includes/ko.html" %}
        <script src="{% static 'preview_app/js/preview_app.js' %}"></script>
    </body>
</html>

{'fraction_non_alphanumeric': 0.1702412054195273, 'fraction_numerical': 0.002308767239808008, 'mean_word_length': 1.7265197945999669, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, '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': '6885220', 'n_tokens_mistral': 4940, 'n_tokens_neox': 4492, 'n_words': 840}