<commit_before>{% extends "lava_scheduler_app/_content.html" %}

{% block extrahead %}
{{ block.super }}
<style type="text/css">
.column {
    position: relative;
    float: left;
    padding-right: 2em;
    padding-bottom: 1em;
}
</style>
{% endblock %}

{% block content %}
<h2>Job {{ job.pk }}</h2>

<div id="columns">
  <div class="column">
    <dt>Submitted by:</dt>
    <dd>{{ job.submitter }}</dd>

    <dt>Targeted to:</dt>
    <dd>{{ job.target }}</dd>

    <dt>Requested type:</dt>
    <dd>{{ job.device_type }}</dd>
  </div>

  <div class="column">
    <dt>Status:</dt>
    <dd><b>{{ job.get_status_display }}</b></dd>
  </div>

  <div class="column">
    <dt>Submitted at:</dt>
    <dd>{{ job.submit_time }}</dd>

    <dt>Started at:</dt>
    <dd>{{ job.start_time|default:"not started" }}</dd>

    <dt>Finished at:</dt>
    <dd>{{ job.end_time|default:"not finished" }}</dd>
  </div>
  <div style="clear: both"></div>
</div><commit_msg>template tweaks<commit_after>{% extends "lava_scheduler_app/_content.html" %}

{% block extrahead %}
{{ block.super }}
<style type="text/css">
.column {
    position: relative;
    float: left;
    padding-right: 2em;
    padding-bottom: 1em;
}
</style>
{% endblock %}

{% block content %}
<h2>Job {{ job.pk }}</h2>

<div id="columns">
  <div class="column">
    <dt>Submitted by:</dt>
    <dd>{{ job.submitter }}</dd>

    {% if job.reqested_device %}
    <dt>Requested device:</dt>
    <dd>{{ job.reqested_device }}</dd>
    {% endif %}

    {% if job.reqested_device_type %}
    <dt>Requested type:</dt>
    <dd>{{ job.reqested_device_type }}</dd>
    {% endif %}
  </div>

  <div class="column">
    <dt>Status:</dt>
    <dd><b>{{ job.get_status_display }}</b></dd>

    {% if job.actual_device %}
    <dt>On device:</dt>
    <dd>{{ job.active_device }}</dd>
    {% endif %}
  </div>

  <div class="column">
    <dt>Submitted at:</dt>
    <dd>{{ job.submit_time }}</dd>

    <dt>Started at:</dt>
    <dd>{{ job.start_time|default:"not started" }}</dd>

    <dt>Finished at:</dt>
    <dd>{{ job.end_time|default:"not finished" }}</dd>
  </div>
  <div style="clear: both"></div>
</div>
{'fraction_non_alphanumeric': 0.23163313055685542, 'fraction_numerical': 0.003743565746373421, 'mean_word_length': 3.250497017892644, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '824269', 'n_tokens_mistral': 868, 'n_tokens_neox': 802, 'n_words': 164}