<commit_before>{% extends "admin/change_list.html" %}
{% load i18n pagination_tags cdr_extras common_tags %}
{% load country_dialcode_tags adminmedia admin_list %}
{% load cache %}
{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
     <a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
     <a href="/admin/{{ opts.app_label }}/{{ model_name }}">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
     {% trans "VoIP Simulator" %}
</div>
{% endif %}{% endblock %}

{% block content %}
<link href="{{STATIC_URL}}cdr-stats/css/admin_custom.css" rel="stylesheet">
<script>
  $(function() {
    $( "#tabs" ).tabs();
  });
</script>
<div id="content-main">
  {% block custom-search %}
    <form class="well" method="POST" action="." enctype="multipart/form-data">{% csrf_token %}
      <table class="actions">
        <tr>
          <th>{{ form.from_date.label }}</th>
          <td>
              {{ form.from_date }}
              <span class="help-block">{{ form.from_date.help_text|safe }} </span>
          </td>
          <th>{{ form.to_date.label }}</th>
          <td>{{ form.to_date }}
              <span class="help-block">{{ form.to_date.help_text|safe }}</span>
          </td>
          <th>{{ form.switch.label }}</th>
          <td>{{ form.switch }}
              <span class="help-block">{{ form.switch.help_text|safe }}</span>
          </td>
        </tr>

        <tr>
          <th>{{ form.destination.label }}</th>
          <td>
              {{ form.destination }}&nbsp;&nbsp;{{ form.destination_type }}
          </td>
          <th>{{ form.accountcode.label }}</th>
          <td>{{ form.accountcode }}&nbsp;&nbsp;{{ form.accountcode_type }}</td>
          <th>{{ form.caller.label }}</th>
          <td>{{ form.caller }}&nbsp;&nbsp;{{ form.caller_type }}</td>
        </tr>

        <tr>
          <th>{{ form.direction.label }}</th>
          <td>{{ form.direction }}</td>
          <th>{{ form.hangup_cause.label }}</th>
          <td>{{ form.hangup_cause }}</td>
          <th>{{ form.duration.label }}</th>
          <td>{{ form.duration }}&nbsp;&nbsp;{{ form.duration_type }}</td>
        </tr>

        <tr>
          <th>{{ form.country_id.label }}</th>
          <td>{{ form.country_id }}<span class="help-block">{{ form.country_id.help_text|safe }} </span></td>
          <th>{{ form.result.label }}</th>
          <td>{{ form.result|removetags:"ul li label"|safe }}</td>
          <th></th>
          <td></td>
        </tr>
        <tr>
          <td colspan=6>
            <input type="submit" class="btn btn-primary" name="search" value={% trans "Search" %} />
          </td>
        </tr>
      </table>
    {% endblock %}

    {% block object-tools %}        
        <center><h1>
        {% trans "calls detail records"|title %} -<commit_msg>updated admin cdr view form<commit_after>{% extends "admin/change_list.html" %}
{% load i18n pagination_tags cdr_extras common_tags %}
{% load country_dialcode_tags adminmedia admin_list %}
{% load cache %}
{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
     <a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
     <a href="/admin/{{ opts.app_label }}/{{ model_name }}">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
     {% trans "VoIP Simulator" %}
</div>
{% endif %}{% endblock %}

{% block content %}
<link href="{{STATIC_URL}}cdr-stats/css/admin_custom.css" rel="stylesheet">
<script>
  $(function() {
    $( "#tabs" ).tabs();
  });
</script>
<div id="content-main">
  {% block custom-search %}
    <form class="well" method="POST" action="." enctype="multipart/form-data">{% csrf_token %}
      <table class="actions">
        <tr>
          <th>{{ form.from_date.label }}</th>
          <td>
              {{ form.from_date }}
              <span class="help-block">{{ form.from_date.help_text|safe }} </span>
          </td>
          <th>{{ form.to_date.label }}</th>
          <td>{{ form.to_date }}
              <span class="help-block">{{ form.to_date.help_text|safe }}</span>
          </td>
          <th>{{ form.destination.label }}</th>
          <td>
              {{ form.destination }}&nbsp;&nbsp;{{ form.destination_type }}
          </td>
          <th>{{ form.switch.label }}</th>
          <td>{{ form.switch }}
              <span class="help-block">{{ form.switch.help_text|safe }}</span>
          </td>
          
        </tr>

        <tr>
          
          <th>{{ form.accountcode.label }}</th>
          <td>{{ form.accountcode }}&nbsp;&nbsp;{{ form.accountcode_type }}</td>
          <th>{{ form.caller.label }}</th>
          <td>{{ form.caller }}&nbsp;&nbsp;{{ form.caller_type }}</td>
          <th>{{ form.duration.label }}</th>
          <td>{{ form.duration }}&nbsp;&nbsp;{{ form.duration_type }}</td>
          <th>{{ form.direction.label }}</th>
          <td>{{ form.direction }}</td>
        </tr>

        <tr>
          
          <th>{{ form.hangup_cause.label }}</th>
          <td>{{ form.hangup_cause }}</td>
          <th>{{ form.country_id.label }}</th>
          <td>{{ form.country_id }}<span class="help-block">{{ form.country_id.help_text|safe }} </span></td>
          <th>{{ form.result.label }}</th>
          <td>{{ form.result|removetags:"ul li label"|safe }}</td>
          <th></th>
          <td></td>
        </tr>
        
        <tr>
          <td colspan=8>
            <input type="submit" class="btn btn-primary" name="search" value={% trans "Search" %} />
          </td>
        </tr>
      </table>
    {% endblock %}

    {% block object-tools %}        
        <center><h1>
        {% trans "calls detail records"|title %} -
{'fraction_non_alphanumeric': 0.21700727398683756, 'fraction_numerical': 0.0013855213023900243, 'mean_word_length': 2.157463094587206, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, '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': '6433395', 'n_tokens_mistral': 2007, 'n_tokens_neox': 1885, 'n_words': 382}