<commit_before>{% extends "sitewide/flat_ui_template.html" %}
{% load custom_tags %}

{% block title %}{{ pagetitle }}{% endblock %}

{% block content %}
{% comment %}{# TODO - Delete this before release #}
<!-- device_lcd_list.html -->
{% for this_device in all_devices %}
{{ this_device }}
{% show_lcd this_device %}
{% endfor %}
{% endcomment %}

    {# Vue.js uses the same template tags ({{ and }}) as does Django. Use verbatim to escape. #}
{% verbatim %}
<div id="lcdapp">
    <div v-for="lcd in lcds">
        <div class="col-xs-12">
            <a v-bind:href="lcd.device_url">Device: {{ lcd.device_name }}</a>
        </div>

        <div class="col-xs-12">
            <div class="col-xs-8">
                <div id="lcd.device_name" class="lcddisplay">
                    <span class="lcd-text">
                        <span class="lcd-line" id="lcd-line-0" v-html="lcd.lcd_data[0]"></span>
                        <span class="lcd-line" id="lcd-line-1" v-html="lcd.lcd_data[1]"></span>
                        <span class="lcd-line" id="lcd-line-2" v-html="lcd.lcd_data[2]"></span>
                        <span class="lcd-line" id="lcd-line-3" v-html="lcd.lcd_data[3]"></span>
                    </span>
                </div>
            </div>
            <div class="col-xs-4">
                <!-- Controls goes here -->
            </div>
        </div>
    </div>
</div>
{% endverbatim %}

{% endblock %}


{% block scripts %}
    {# Moving this here as this page is the one that loads the LCDs #}
    {# TODO - Possibly move the vue.js load directive here as well if this is the only place we need it?? #}
    <script type="text/javascript" src="{% static "js/lcd.js" %}"></script>
{% endblock %}<commit_msg>Fix missing load of static<commit_after>{% extends "sitewide/flat_ui_template.html" %}
{% load custom_tags %}

{% block title %}{{ pagetitle }}{% endblock %}

{% block content %}
{% comment %}{# TODO - Delete this before release #}
<!-- device_lcd_list.html -->
{% for this_device in all_devices %}
{{ this_device }}
{% show_lcd this_device %}
{% endfor %}
{% endcomment %}

    {# Vue.js uses the same template tags ({{ and }}) as does Django. Use verbatim to escape. #}
{% verbatim %}
<div id="lcdapp">
    <div v-for="lcd in lcds">
        <div class="col-xs-12">
            <a v-bind:href="lcd.device_url">Device: {{ lcd.device_name }}</a>
        </div>

        <div class="col-xs-12">
            <div class="col-xs-8">
                <div id="lcd.device_name" class="lcddisplay">
                    <span class="lcd-text">
                        <span class="lcd-line" id="lcd-line-0" v-html="lcd.lcd_data[0]"></span>
                        <span class="lcd-line" id="lcd-line-1" v-html="lcd.lcd_data[1]"></span>
                        <span class="lcd-line" id="lcd-line-2" v-html="lcd.lcd_data[2]"></span>
                        <span class="lcd-line" id="lcd-line-3" v-html="lcd.lcd_data[3]"></span>
                    </span>
                </div>
            </div>
            <div class="col-xs-4">
                <!-- Controls goes here -->
            </div>
        </div>
    </div>
</div>
{% endverbatim %}

{% endblock %}


{% block scripts %}
{% load static %}
    {# Moving this here as this page is the one that loads the LCDs #}
    {# TODO - Possibly move the vue.js load directive here as well if this is the only place we need it?? #}
    <script type="text/javascript" src="{% static "js/lcd.js" %}"></script>
{% endblock %}
{'fraction_non_alphanumeric': 0.18369098712446352, 'fraction_numerical': 0.008011444921316165, 'mean_word_length': 2.1186440677966103, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '3726470', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1163, 'n_words': 276}