{% extends 'base.html' %} {% block pagecontent %}

{% module xsrf_form_html() %}
{% if header['owned'] or (current_user['user_role'] in ('staff','superuser')) %} {% end %} {% if current_user['user_role'] not in ('anonymous','locked') %} {% else %} {% end %}
dataset owner {{ header['owner'] }}
dataset visibility {{ header['visibility'] }}
permanent URL {{ set_url }}
name {{ header['name'] }}
description {{ header['desc'] }}
citation {{ header['citation'] }}
permanent URL {{ set_url }}
name {{ header['name'] }}
description {{ header['desc'] }}
citation {{ header['citation'] }}
objects {{ header['total_nmatches'] }}
created on {{ header['created'] }}
last updated {{ header['updated'] }}
search query parameters
{{ header['searchtype'].replace('sqlite_','').replace('postgres_','') }}{{ header['searchargs'] }}
collections searched {{ ', '.join(header['collections']) }}

{% if header['dataset_pickle'] is not None %} {% else %} {% end %} {% if header['dataset_csv'] is not None %} {% else %} {% end %} {% if header['lczipfpath'] is not None %} {% else %} {% end %}
dataset pickledownload filenot available yet...
dataset table CSVdownload filenot available yet...
light curves ZIPdownload filenot available yet...

column key title description numpy dtype
{% end %} {% block pagejs_modules %} {% end %} {% block pagejs %} $(document).ready(function() { // UI action setup lcc_ui.action_setup(); // format all the moments $('.moment-format').each(function (index, elem) { // get the text we need var mt = moment($(this).text()).fromNow(); $(this).html($(this).text() + ' (' + mt + ')'); }); // start the dataset check every 15 seconds and load if available lcc_datasets.get_dataset('{{ setid }}', 15.0); // on window resize, make sure to stick the table to the bottom again $(window).on('resize', function (evt) { // calculate the offset var datacontainer_offset = $('.datatable-container').offset().top; $('.datatable-container').height($(window).height() - datacontainer_offset); // make the table div bottom stick to the bottom of the container // so we can have a scrollbar at the bottom $('.dataset-table') .height($('.datatable-container').height()); }); // also listen on any collapse events so we can set the height // correctly $('.accordion').on('shown.bs.collapse hidden.bs.collapse', function (evt) { // calculate the offset var datacontainer_offset = $('.datatable-container').offset().top; $('.datatable-container').height($(window).height() - datacontainer_offset); // make the table div bottom stick to the bottom of the container // so we can have a scrollbar at the bottom $('.dataset-table') .height($('.datatable-container').height()); }); }); {% end %}