<commit_before>{% extends request.is_ajax|yesno:'nullcont.htm,devapp/ext.htm' %}
{% load i18n %}
{% block content %}


    <div class="row">
        <div class="col-sm-12">
            <div class="table-responsive">
                <table class="table table-striped table-bordered">
                    <thead>
                    <tr>
                        <th width="50">#</th>
                        <th>{% trans 'Mac' %}</th>
                        <th>{% trans 'Name' %}</th>
                        <th>{% trans 'Distance(m)' %}</th>
                        <th width="250">{% trans 'Signal' %}</th>
                    </tr>
                    </thead>

                    <tbody>
                    {% for port in ports %}
                        <tr>
                            <td>{% if port.st %}<span class="glyphicon glyphicon-ok text-success"></span>
                                {% else %}<span class="glyphicon glyphicon-remove text-danger"></span>
                                {% endif %}
                            </td>
                            <td>{{ port.mac }}</td>
                            <td>{{ port.nm }}</td>
                            <td>{{ port.sp }}</td>
                            <td>{{ port.signal }}</td>
                        </tr>
                    {% empty %}
                        <tr>
                            <td colspan="5">{% trans 'Ports not found' %}</td><commit_msg>Добавил uptime<commit_after>{% extends request.is_ajax|yesno:'nullcont.htm,devapp/ext.htm' %}
{% load i18n %}
{% block content %}


    <div class="row">
        <div class="col-sm-12">
            <div class="table-responsive">
		{% if uptime %}
                    {% trans 'Uptime' %} {{ uptime }}
                {% endif %}
                <table class="table table-striped table-bordered">
                    <thead>
                    <tr>
                        <th width="50">#</th>
                        <th>{% trans 'Mac' %}</th>
                        <th>{% trans 'Name' %}</th>
                        <th>{% trans 'Distance(m)' %}</th>
                        <th width="250">{% trans 'Signal' %}</th>
                    </tr>
                    </thead>

                    <tbody>
                    {% for port in ports %}
                        <tr>
                            <td>{% if port.st %}<span class="glyphicon glyphicon-ok text-success"></span>
                                {% else %}<span class="glyphicon glyphicon-remove text-danger"></span>
                                {% endif %}
                            </td>
                            <td>{{ port.mac }}</td>
                            <td>{{ port.nm }}</td>
                            <td>{{ port.sp }}</td>
                            <td>{{ port.signal }}</td>
                        </tr>
                    {% empty %}
                        <tr>
                            <td colspan="5">{% trans 'Ports not found' %}</td>
{'fraction_non_alphanumeric': 0.15724322515891603, 'fraction_numerical': 0.006691201070592171, 'mean_word_length': 0.8948035487959443, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '499775', 'n_tokens_mistral': 863, 'n_tokens_neox': 732, 'n_words': 170}