Templates added
This commit is contained in:
46
Templates/srgcat/healpix.html
Normal file
46
Templates/srgcat/healpix.html
Normal file
@@ -0,0 +1,46 @@
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% load heasarc_templates %}
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
{% block precontent %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
|
||||
|
||||
<h2>Первый обзор всего неба телескопом АРТ-XC</h2>
|
||||
<hr>
|
||||
|
||||
<div id="aladin-lite-div" style="width:100%;height:750px;align=right;"></div>
|
||||
|
||||
<script type="text/javascript" src="//aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
/* survey: "P/DSS2/color", */
|
||||
var aladin = A.aladin('#aladin-lite-div', {
|
||||
cooFrame: "GAL",
|
||||
survey: "P/DSS2/color",
|
||||
fov: 35, target: "0.0 0.0",
|
||||
showShareControl: true,
|
||||
showCooGrid: false});
|
||||
|
||||
aladin.createImageSurvey("INTEGRAL_14y_17_60", "INTEGRAL_14y_17_60", "http://cade.irap.omp.eu/documents/Ancillary/4Aladin/INTEGRAL_14y_17_60/", 'galactic', 3)
|
||||
aladin.createImageSurvey("IKI/SRG/ART-XC", "SRG/ART-XC", "http://localhost:9999/static/ArtHiPS/", 'galactic', 3, {imgFormat: 'png'})
|
||||
|
||||
aladin.setImageSurvey('IKI/SRG/ART-XC');
|
||||
aladin.getBaseImageLayer().getColorMap().update('cubehelix');
|
||||
|
||||
var simbadhips = A.catalogHiPS('http://axel.u-strasbg.fr/HiPSCatService/Simbad', {color: "#2F4F4F", onClick: 'showPopup', name: 'Simbad'}, null, true);
|
||||
aladin.addCatalog(simbadhips);
|
||||
simbadhips.hide();
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user