{% extends "base.html" %} {% load timeutil %} {% load scientific %} {% load sanitize_html %} {% load logtags %} {% block title %}View {{ object.graceid }}{% endblock %} {% block heading %}{% endblock %} {% block bodyattrs %}class="tundra"{% endblock %} {% block jscript %} {# XXX http/https depending on this pages' protocol #} {% endblock %} {% block content %}

{{ message }}

Basic Info

{% if skyalert_authorized %} {% endif %}
UID Labels Group Type Instruments {{ "gps"|timeselect:"gps" }} Event Time FAR (Hz) Links {{"created"|timeselect:"utc" }} Submitted
{{ object.graceid }} {% for labelling in object.labelling_set.all %} {{ labelling.label.name }} {% endfor %} {{ object.group.name }} {{ object.get_analysisType_display }} {{ object.instruments }} {% if object.gpstime%} {{ object.gpstime|multiTime:"gps" }} {% endif %} {{ object.far|scientific }} Data {{ object.created|multiTime:"created" }}
{# Analysis-specific attributes #} {% block analysis_specific %} {# This block is empty in the base event_detail template #} {% endblock %}
{% if nearby %}

Neighbors

{% for delta, object in nearby %} {% endfor %}
UID Labels Group Type Instruments {{ "ngps"|timeselect:"gps" }} Event Time FAR (Hz) Links {{"ncreated"|timeselect:"utc" }} Submitted
{{ object.graceid }} {% for labelling in object.labelling_set.all %} {{ labelling.label.name }} {% endfor %} {{ object.group.name }} {{ object.get_analysisType_display }} {{ object.instruments }} {% if object.gpstime%} {{ object.gpstime|multiTime:"ngps" }} {% endif %} {{ object.far|scientific }} Data {{ object.created|multiTime:"ncreated" }}
{% endif %}
{# XXX Hacky #} {# With the title here, people will know that all of the things in the #} {# panes are log messages #} {% if object.getAvailableTags %}

Event Log Messages

{% endif %} {# Loop over the available tags. #} {% if object.getAvailableTags %} {% for tag in object.getAvailableTags %} {% if tag.name in blessed_tags %} {# Create a div to hold the pane innerHTML for this tag #}
{# A section for the images #} {% if object|logsForTagHaveImage:tag.name %}
{% for log in object|getLogsForTag:tag.name %} {% if log.hasImage %} {% endif %} {% endfor %}
{{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}}. {% endif %} Submitted by {{log.issuer}} on {{log.created}}
{% endif %} {# A section for the text-only captions #} {% if object|logsForTagHaveText:tag.name %} {# Set up regular log message table #} {% for log in object|getLogsForTag:tag.name %} {% if not log.hasImage %} {% endif %} {% endfor %}
No. {{ "logtime"|timeselect:"utc" }} Log Entry Created Submitter Comment
{{log.getN}} {{log.created|multiTime:"logtime"}} {{log.issuer}} {{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}} {% endif %}
{% endif %}
{% endif %} {# endif the tag is blessed #} {% endfor %} {% endif %}
{# XXX Hacky. We don't want the title here if we're doing panes. #} {% if not object.getAvailableTags %}

Event Log Messages

{% endif %} {% if object.eventlog_set.count %} {% if blessed_tags %}

Apply a new tag:

Log No.    Tag name

{% endif %} {% for log in object.eventlog_set.iterator %} {% endfor %}
No. {{ "logtime"|timeselect:"utc" }} Log Entry Created Submitter Comment  
{{log.getN}} {{log.created|multiTime:"logtime"}} {{log.issuer}} {{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}} {% endif %} {% if log.hasImage %} {% endif %}
{% endif %}
{% endblock %}