public.html 3.66 KB
Newer Older
Jonah Kanner's avatar
Jonah Kanner committed
1 2 3
{% extends "base.html" %}
{% load sanitize_html %}
{% load logtags %}
Jonah Kanner's avatar
Jonah Kanner committed
4 5 6
{% load static %}


Jonah Kanner's avatar
Jonah Kanner committed
7 8 9 10 11
{% block csslink %}
<link rel="stylesheet" href="{% static "css/style.css" %}" />
<link rel="stylesheet" href="{% static "css/public.css" %}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
{% endblock %}
Jonah Kanner's avatar
Jonah Kanner committed
12

Jonah Kanner's avatar
Jonah Kanner committed
13
{% block heading %}{% endblock %}
Jonah Kanner's avatar
Jonah Kanner committed
14

Jonah Kanner's avatar
Jonah Kanner committed
15
{% block jscript %}
Jonah Kanner's avatar
Jonah Kanner committed
16 17 18
<link rel="stylesheet" type="text/css" href="{% static "tablesaw/dist/tablesaw.css" %}" />
<script language="javascript" type="text/javascript" src="{% static "tablesaw/dist/tablesaw.js" %}"></script>
<script language="javascript" type="text/javascript" src="{% static "tablesaw/dist/tablesaw-init.js" %}"></script>
Jonah Kanner's avatar
Jonah Kanner committed
19
{% endblock %}
Jonah Kanner's avatar
Jonah Kanner committed
20

Jonah Kanner's avatar
Jonah Kanner committed
21 22 23
{% block nav %}
<!-- This nav bar only has links for HOME and LOGIN to fit on mobile -->
{% include "navbar_min.html" %}
Jonah Kanner's avatar
Jonah Kanner committed
24 25 26
{% endblock %}

{% block content %}
Jonah Kanner's avatar
Jonah Kanner committed
27
<br/>
Jonah Kanner's avatar
Jonah Kanner committed
28
<h1>LIGO/Virgo Public Alerts</h1> 
Jonah Kanner's avatar
Jonah Kanner committed
29

Jonah Kanner's avatar
Jonah Kanner committed
30
<h3>Detection candidates: {{ candidates }}</h3>
Jonah Kanner's avatar
Jonah Kanner committed
31 32
<br/><br/>

Jonah Kanner's avatar
Jonah Kanner committed
33
<div style="overflow-x: auto">
Jonah Kanner's avatar
Jonah Kanner committed
34 35 36 37
<table class="tablesaw" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-mode="columntoggle">
  <thead><tr>
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="persist">Event ID</th>
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="1">Possible Source (Probability)</th>
Jonah Kanner's avatar
Jonah Kanner committed
38
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="2">UTC</th>
Jonah Kanner's avatar
Jonah Kanner committed
39
      <th  scope="col" data-tablesaw-col data-tablesaw-priority="3">GCN</th>
Jonah Kanner's avatar
Jonah Kanner committed
40 41 42 43
      <th  scope="col" data-tablesaw-col data-tablesaw-priority="4">Location</th>
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="5">FAR</th>
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="6">Comments</th>
      <th  scope="col" data-tablesaw-sortable-col data-tablesaw-priority="0">GPS</th> 
44 45

      {% if not user_is_external %}
Jonah Kanner's avatar
Jonah Kanner committed
46 47
      <th  scope="col" data-tablesaw-col data-tablesaw-priority="6">&Omega; Scan</th>
      <th  scope="col" data-tablesaw-col data-tablesaw-priority="6">PE</th>
Jonah Kanner's avatar
Jonah Kanner committed
48
      {% endif %}      
Jonah Kanner's avatar
Jonah Kanner committed
49

Jonah Kanner's avatar
Jonah Kanner committed
50
    </tr>
Jonah Kanner's avatar
Jonah Kanner committed
51 52
  </thead>
  <tbody>
Jonah Kanner's avatar
Jonah Kanner committed
53

Jonah Kanner's avatar
Jonah Kanner committed
54 55

{% for event in object_list %}
Jonah Kanner's avatar
Jonah Kanner committed
56
<tr{% if event.retract %} style='background-color:#EDD' {% endif %}>
Jonah Kanner's avatar
Jonah Kanner committed
57

Jonah Kanner's avatar
Jonah Kanner committed
58
  <td style='min-width:100px;'><a href=/superevents/{{ event.superevent_id }}>{{ event.default_superevent_id }}</a></td>
Jonah Kanner's avatar
Jonah Kanner committed
59

Jonah Kanner's avatar
Jonah Kanner committed
60
  <td style='min-width:100px;'>{{ event.sourcetypes }} </td>
Jonah Kanner's avatar
Jonah Kanner committed
61

Jonah Kanner's avatar
Jonah Kanner committed
62
  <td style='min-width:140px'>
Jonah Kanner's avatar
Jonah Kanner committed
63 64 65
    <span style='font-size:0px;'>{{ event.t0_iso }}</span>{{ event.t_0_date }}<br/>
    {{ event.t0_utc }} UTC
  </td>
Jonah Kanner's avatar
Jonah Kanner committed
66

Jonah Kanner's avatar
Jonah Kanner committed
67 68 69 70
  <td style='min-width:110px;'>
    <a href={{ event.gcnurl }}>GCN Circulars</a><br/>
    <a href={{ event.noticeurl }}>Notices</a> | 
    <a href='/api/superevents/{{ event.default_superevent_id }}/voevents/'>VOE</a>
Jonah Kanner's avatar
Jonah Kanner committed
71
  </td>
Jonah Kanner's avatar
Jonah Kanner committed
72

Jonah Kanner's avatar
Jonah Kanner committed
73 74 75 76 77 78
  <td> <a href='{{ event.maplocal }}'> <img src='{{ event.maplocal }}' width='120px'/> </a> </td>


  <td style='min-width:120px;'><span style='font-size:0px'>{{ event.far_hz|floatformat:10 }}</span>{{ event.far_hr }}</td>
  <td style='min-width:80px;'>{{ event.comments |safe}} </td>
  <td>{{ event.t_0|floatformat:2 }} </td>
79 80 81

  {% if not user_is_external %}
  <td style='min-width:70px'>
Jonah Kanner's avatar
Jonah Kanner committed
82 83
    <a href='https://ldas-jobs.ligo-la.caltech.edu/~detchar/dqr/events/{{ event.superevent_id }}/L1deepomegascan/'>&Omega; L1</a><br/>
    <a href='https://ldas-jobs.ligo-wa.caltech.edu/~detchar/dqr/events/{{ event.superevent_id }}/H1deepomegascan/'>&Omega; H1</a>
Jonah Kanner's avatar
Jonah Kanner committed
84 85
  </td> 
  <td>{{ event.pe |safe}}</td>
86
  {% endif %}
Jonah Kanner's avatar
Jonah Kanner committed
87

Jonah Kanner's avatar
Jonah Kanner committed
88 89
</tr>

Jonah Kanner's avatar
Jonah Kanner committed
90
{% endfor %}
Jonah Kanner's avatar
Jonah Kanner committed
91
</tbody></table>
Jonah Kanner's avatar
Jonah Kanner committed
92
</div>
Jonah Kanner's avatar
Jonah Kanner committed
93

Jonah Kanner's avatar
Jonah Kanner committed
94 95 96 97 98 99 100
<hr/>
<ul style="list-style-type:square">
  <li> Retractions are marked in red</li>
  <li> Details in the <a href='https://emfollow.docs.ligo.org/userguide/'>LIGO/Virgo Alerts User Guide</a>
</ul>

<br/><br/><br/>
Jonah Kanner's avatar
Jonah Kanner committed
101 102 103

{% endblock %}