diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96dc857 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Below are common suffixes and things to be ignored by git. +# Feel free to add stuff here, e.g. temporary files that your editor +# creates. +# +*~ +*.pyc +*.db +*.db-journal +dummy* +/.pydevproject +/.project +/.settings +\#* +.#* +*_c.xml +*.swp +*.swo +.DS_Store +doc*/build/* +*.json +*.dat +*.log diff --git a/static/admin-media b/static/admin-media new file mode 120000 index 0000000..0f8f5b2 --- /dev/null +++ b/static/admin-media @@ -0,0 +1 @@ +/usr/local/lib/python2.6/dist-packages/django/contrib/admin/media/ \ No newline at end of file diff --git a/static/css/indigo.css b/static/css/indigo.css new file mode 100644 index 0000000..e347283 --- /dev/null +++ b/static/css/indigo.css @@ -0,0 +1,204 @@ +/*############################################################# +Name: Indigo +Description: A lightweight (7kb images), simple and professional design. +Date: 2006-07-27 +Author: Viktor Persson +URL: http://arcsin.se + +Feel free to use and modify but please provide credits. +#############################################################*/ + +/* standard elements */ +* { + margin: 0; + padding: 0; +} +a { + color: #F70; +} +a:hover { + color: #C60; +} +body { + background: #0094D6 url(/img/bg.gif) repeat-x; + color: #466; + font: normal 62.5% "Lucida Sans Unicode",sans-serif; + margin: 0; +} +input { + color: #555; + font: normal 1.1em "Lucida Sans Unicode",sans-serif; +} +p,cite,code,ul { + font-size: 1.2em; + padding-bottom: 1.2em; +} +h1 { + font-size: 1.4em; + margin-bottom: 4px; +} +code { + background: url(/img/bgcode.gif); + border: 1px solid #F0F0F0; + border-left: 6px solid #39F; + color: #555; + display: block; + font: normal 1.1em "Lucida Sans Unicode",serif; + margin-bottom: 12px; + padding: 8px 10px; + white-space: pre; +} +cite { + background: url(/img/quote.gif) no-repeat; + color: #666; + display: block; + font: normal 1.3em "Lucida Sans Unicode",serif; + padding-left: 28px; +} +h1,h2,h3 { + color: #06C; + padding-top: 6px; +} +/* misc */ +.clearer { + clear: both; +} + +/* structure */ +.container { + background: url(/img/topleft.gif) no-repeat; +} + +.header { + height: 92px; +} + +/* title */ +.title { + float: left; + padding: 28px 0 0 200px; +} +.title h1 { + color: #FFF; + font: normal 2em Verdana,sans-serif; +} + +/* navigation */ +.navigation { + float: left; + height: 92px; + margin-left: 24px; + padding: 0 16px; + width: 200px; +} +.navigation a { + color: #FFF; + float: left; + font: bold 1.2em "Trebuchet MS",sans-serif; + margin-top: 56px; + padding: 8px 18px; + text-align: center; + text-decoration: none; +} +.navigation a:hover { + background-color: #4A91C3; + color: #FFF; +} + +/* main */ +.main { + background: #FFF url(/img/bgmain.gif) no-repeat; + clear: both; + padding: 12px 12px 0 52px; +} + +/* main left */ +.sidenav { + float: left; + width: 14%; +} +.sidenav h1 { + border-bottom: 1px dashed #DDD; + color: #E73; + font-size: 1.2em; + height: 20px; + margin-top: 1.2em; +} +.sidenav ul { + margin: 0; + padding: 0; +} +.sidenav li { + border-bottom: 1px dashed #EEE; + list-style: none; + margin: 0; +} +.sidenav li a { + color: #777; + display: block; + font-size: 0.9em; + padding: 3px 6px 3px 18px; + text-decoration: none; +} +.sidenav li a:hover { + color: #111; + background: url(/img/nav_li.gif) no-repeat; +} + +/* content */ +.content { + float: left; + margin-right: 4%; + width: 79%; +} +.content .descr { + color: #C60; + margin-bottom: 6px; +} +.content li { + list-style: url(/img/li.gif); + margin-left: 18px; +} + +/* search form */ +.styled { + border: 3px double #E5E5E5; + padding: 2px 3px; +} +.button { + border: 1px solid #AAA; + margin-left: 5px; + padding: 2px 3px; +} + +/* footer */ +.footer { + background: #0094D6 url(/img/bgfooter.gif) repeat-x; + color: #C1DEF0; + font-size: 1.1em; + line-height: 40px; + text-align: center; +} +.footer a { + color: #FFF; + text-decoration: none; +} +.footer a:hover { + color: #FFF; + text-decoration: underline; +} + +table { +border-collapse:collapse; +} + +table, th, td { +border: 1px solid #CCC; +padding: 3px; +} + +th { background-color: #DDE; +} + +.row2 td { background-color: #EEE; +} diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..1d78c33 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/img/bg.gif b/static/img/bg.gif new file mode 100644 index 0000000..227f991 Binary files /dev/null and b/static/img/bg.gif differ diff --git a/static/img/bgcode.gif b/static/img/bgcode.gif new file mode 100644 index 0000000..6f99682 Binary files /dev/null and b/static/img/bgcode.gif differ diff --git a/static/img/bgfooter.gif b/static/img/bgfooter.gif new file mode 100644 index 0000000..4e383dc Binary files /dev/null and b/static/img/bgfooter.gif differ diff --git a/static/img/bgmain.gif b/static/img/bgmain.gif new file mode 100644 index 0000000..b7fe91f Binary files /dev/null and b/static/img/bgmain.gif differ diff --git a/static/img/li.gif b/static/img/li.gif new file mode 100644 index 0000000..4493196 Binary files /dev/null and b/static/img/li.gif differ diff --git a/static/img/nav_li.gif b/static/img/nav_li.gif new file mode 100644 index 0000000..a189dcc Binary files /dev/null and b/static/img/nav_li.gif differ diff --git a/static/img/quote.gif b/static/img/quote.gif new file mode 100644 index 0000000..fa145bb Binary files /dev/null and b/static/img/quote.gif differ diff --git a/static/img/topleft.gif b/static/img/topleft.gif new file mode 100644 index 0000000..510ee32 Binary files /dev/null and b/static/img/topleft.gif differ diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..e69de29 diff --git a/static/templates/404.html b/static/templates/404.html new file mode 100644 index 0000000..e69de29 diff --git a/static/templates/500.html b/static/templates/500.html new file mode 100644 index 0000000..e69de29 diff --git a/static/templates/dictionary/bytype.html b/static/templates/dictionary/bytype.html new file mode 100644 index 0000000..7d60f10 --- /dev/null +++ b/static/templates/dictionary/bytype.html @@ -0,0 +1,84 @@ +{% extends "indigo.html" %} +{% load i18n %} +{% block title %}VAMDC{% endblock %} +{% block addheader %} + +{% endblock %} +{% block headline %}VAMDC Dictionary by type{% endblock %} + +{% block content %} +

The columns' meaning is described below.

+ +{% for bloc in blocs %} +

{{ bloc.desc }}

+ +

Show/Hide

+{% endfor %} + +
+
+
+ +

+Description of the columns in the table above: +

+ + +

+{% endblock %} diff --git a/static/templates/dictionary/check.html b/static/templates/dictionary/check.html new file mode 100644 index 0000000..2f5ab7c --- /dev/null +++ b/static/templates/dictionary/check.html @@ -0,0 +1,56 @@ +{% extends "indigo.html" %} +{% load i18n %} + +{% block content %} +

Check your dictionaries

+ +

Paste your dictionary into the field +below, including the variable assignment. Examples and more information below.

+ +
+{% csrf_token %} +

{{ form.content }}

+

+ +{% if form.content.errors %} +

Check result:

+{{ form.content.errors }} +{% else %} +

No errors found.

+{% endif %} +
+ +

Examples

+ +

+ +RETURNABLES = {'AtomSymbol':'AtomState.species.name', +'AtomIonCharge':'AtomState.species.ion', +'RadTransWavelength':'RadTran.vacwave', +'RadTransWavelengthUnit':'cm', +} + +

+ +

+ +RESTRICTABLES = {'AtomSymbol':'species__name', +'AtomNuclearCharge':'species__atomic', +'RadTransWavelength':'vacwave' +} + +

+ +

This tool warns you of +

+

+

This tool does not check whether the values you put into the right-hand-side match your data model or not. +

+{% endblock %} + diff --git a/static/templates/dictionary/index.html b/static/templates/dictionary/index.html new file mode 100644 index 0000000..0a45e78 --- /dev/null +++ b/static/templates/dictionary/index.html @@ -0,0 +1,44 @@ +{% extends "indigo.html" %} +{% load i18n %} +{% block title %}VAMDC{% endblock %} + +{% block headline %}VAMDC Dictionary{% endblock %} + +{% block content %} +

The columns' meaning is described below.

+ + + +{% for keyword in object_list %} + + + + + + + + + + +{% endfor %} +
KeywordShort DescriptionLong DescriptionTypeConstraintUnit*UsageXSAMS Block
{{ keyword.name }}{{ keyword.sdescr }}{{ keyword.ldescr }}{% if keyword.type %}{{ keyword.get_type_display }}{% endif %}{% if keyword.constr %}{{ keyword.constr }}{% endif %}{% if keyword.unit %}{{ keyword.unit }}{% endif %}{% if keyword.datatype %}*{% endif %}{% for use in keyword.usage.iterator %}{{ use.name }}, {% endfor %}{% if keyword.block %}{{ keyword.get_block_display }}{% endif %}
+ +

+ +

+Description of the columns in the table above: +

+ + +

+{% endblock %} diff --git a/static/templates/dictionary/log.html b/static/templates/dictionary/log.html new file mode 100644 index 0000000..d269f21 --- /dev/null +++ b/static/templates/dictionary/log.html @@ -0,0 +1,26 @@ +{% extends "indigo.html" %} +{% load i18n %} +{% block title %}VAMDC{% endblock %} + +{% block headline %}VAMDC Dictionary Change Log{% endblock %} + +{% block content %} +

Note that the list below only contains the changes made through the admin interface, not direct changes in the database.

+ + + +{% for logentr in object_list %} + + + + + + + +{% endfor %} +
When?Who?What was changed?How?
{{ logentr.action_time }}{{ logentr.user.get_full_name }}{{ logentr.content_type.name }}: {{ logentr.object_repr }} +{% if logentr.is_addition %}Addition {% endif %} +{% if logentr.is_deletion %}Deletion {% endif %} +{{ logentr.change_message }}
+ +{% endblock %} diff --git a/static/templates/dictionary/makenew.html b/static/templates/dictionary/makenew.html new file mode 100644 index 0000000..5b55619 --- /dev/null +++ b/static/templates/dictionary/makenew.html @@ -0,0 +1,31 @@ +{% extends "indigo.html" %} +{% load i18n %} + +{% block content %} +

Make new RETURNABLES and RESTRICTABLES

+ +

Below you can mark all the keywords that correspond to your data. When you press "submit", a file will be generated and downloaded to you that contains a first guess (you will have to edit it!) for dictionaries.py in your node.

+ +
+{% csrf_token %} +{{ formset.management_form }} + + +{% for form in formset.forms %} + +{% endfor %} +
Use?KeywordDescription
{{ form.include }}{{ form.id }} +{{ form.name.as_hidden }} +{{ form.sdescr.as_hidden }} +{{ form.ldescr.as_hidden }} +{{ form.instance.name }}{{ form.instance.ldescr }}
+

+

+

+

+ +

+ + +{% endblock %} + diff --git a/static/templates/indigo.html b/static/templates/indigo.html new file mode 100644 index 0000000..21ab193 --- /dev/null +++ b/static/templates/indigo.html @@ -0,0 +1,119 @@ + + + + + + + + + +{% block title %}VAMDC dictionary{% endblock %} +{% block addheader %}{% endblock %} + + + + +
+ +
+ +
+

{% block headline %}The VAMDC dictionary{% endblock %}

+
+ +
+ +
+
+ +
+ +
+ {% block content %} +

Porttitor posuere

+
Jun 13, 2006 by Vulputate
+

Eget feugiat est leo tempor quam. Ut quis neque convallis magna consequat molestie.

+ {% endblock %} +
+ +
+ {% block sidebar1 %} + +

Dictionary

+ +

Documentation

+

(development versions)

+
+ + +

Links

+ + +

+ {% endblock %} + {% block sidebar2 %} + {% endblock %} +
+ +
+ +
+ + + + + + + + + + + diff --git a/static/templates/tap/TAP-error-document.xml b/static/templates/tap/TAP-error-document.xml new file mode 100644 index 0000000..fecfa4c --- /dev/null +++ b/static/templates/tap/TAP-error-document.xml @@ -0,0 +1,5 @@ + + + {{error_message_text}} + + diff --git a/static/templates/tap/VOSI-tables.xml b/static/templates/tap/VOSI-tables.xml new file mode 100644 index 0000000..80e5898 --- /dev/null +++ b/static/templates/tap/VOSI-tables.xml @@ -0,0 +1,24 @@ + + + + + + + VAMDC + VAMDC standard view + + {% for name in column_names_list %} + + {{name}} + + + {% endfor %} +
+
diff --git a/static/templates/tap/availability.xml b/static/templates/tap/availability.xml new file mode 100644 index 0000000..aca0a3d --- /dev/null +++ b/static/templates/tap/availability.xml @@ -0,0 +1,7 @@ + + + +true +2001-01-01T00:00:00.000+00:00 +This is a static reply, no real tests have been performed but chances are good that the service is up when you get this reply. + diff --git a/static/templates/tap/capabilities.xml b/static/templates/tap/capabilities.xml new file mode 100644 index 0000000..7e7a6f6 --- /dev/null +++ b/static/templates/tap/capabilities.xml @@ -0,0 +1,36 @@ + + + + + + {{accessURL}} + + {{STANDARDS_VERSION}} + {{SOFTWARE_VERSION}} + {% if EXAMPLE_QUERIES %}{% for query in EXAMPLE_QUERIES %}{{query}}{% endfor %}{% endif %} + {% if RETURNABLES %}{% for returnable in RETURNABLES %}{{ returnable }}{% endfor %}{% endif %} + {% if RESTRICTABLES %}{% for restrictable in RESTRICTABLES %}{{ restrictable }}{% endfor %}{% endif %} + + + + {{accessURL}} + + + + + {{accessURL}}capabilities + + + + + {{accessURL}}availability + + + diff --git a/static/templates/tap/index.html b/static/templates/tap/index.html new file mode 100644 index 0000000..4bacd97 --- /dev/null +++ b/static/templates/tap/index.html @@ -0,0 +1,7 @@ +{% extends "indigo.html" %} +{% load i18n %} +{% block title %}{{ title }} | {% trans 'Node Start' %}{% endblock %} +{% block content %} +

{% trans 'Welcome!' %}

+{% endblock %} + diff --git a/static/templates/webtools/index.html b/static/templates/webtools/index.html new file mode 100644 index 0000000..a052dcb --- /dev/null +++ b/static/templates/webtools/index.html @@ -0,0 +1,15 @@ +{% extends "indigo.html" %} +{% load i18n %} +{% block title %}VAMDC{% endblock %} + +{% block headline %}VAMDC Testsite{% endblock %} + +{% block content %} +

This is a test site for various web applications for the VAMDC

+ +

Please choose one of the links to the right.

+ + +

Questions and feedback about any of this are welcome to thomas.marquart@fysast.uu.se.

+ +{% endblock %} diff --git a/static/templates/webtools/query.html b/static/templates/webtools/query.html new file mode 100644 index 0000000..dfa37ea --- /dev/null +++ b/static/templates/webtools/query.html @@ -0,0 +1,33 @@ +{% extends "indigo.html" %} +{% load i18n %} + +{% block content %} +

Make a query

+ +

The form below is in a non-working state at the moment and only intended for internal development.

+ +

Please start by reading the how-to below!

+ +

Then define your selection criteria:

+
+

{{ selectionset.management_form }}

+ + + {% for selection in selectionset.forms %} + + {% endfor %} +
Lower boundParameter to restrictUpper boundUse AND?
{{ selection.lower }}<={{ selection.parameter }}<={{ selection.upper }}{{ selection.connection }}
+

+
+ +

How to use:

+ +{% endblock %} + diff --git a/static/templates/webtools/results.html b/static/templates/webtools/results.html new file mode 100644 index 0000000..6fc6258 --- /dev/null +++ b/static/templates/webtools/results.html @@ -0,0 +1,39 @@ +{% extends "indigo.html" %} +{% load i18n %} + +{% block content %} +

Query information

+ + + +

Please note:

+ +

Below you find links for downloading the data from each node in either XSAMS for VO-Table XML-format (temporarily disabled). Note that these files are not pre-made, but generated on the fly via the TAP/sync interface.

+ + +{% for result in results %} + +

{{ result.nodename }}

+ +{% if result.html %} +{% autoescape off %}{{ result.html }}{% endautoescape %} +{% endif %} + + + +{% endfor %} + +{% endblock %} + diff --git a/static/templates/webtools/sqlquery.html b/static/templates/webtools/sqlquery.html new file mode 100644 index 0000000..89e637c --- /dev/null +++ b/static/templates/webtools/sqlquery.html @@ -0,0 +1,16 @@ +{% extends "indigo.html" %} +{% load i18n %} + +{% block content %} +

Make a query

+ +

Not yet operational!

+ +
+

Write your SQL query:

+

{{ form.sql }}

+

+
+ +{% endblock %} + diff --git a/static/templates/webtools/xsams2sme.html b/static/templates/webtools/xsams2sme.html new file mode 100644 index 0000000..b16c2be --- /dev/null +++ b/static/templates/webtools/xsams2sme.html @@ -0,0 +1,26 @@ +{% extends "indigo.html" %} + +{% block title %} +Convert VAMDC-XSAMS format into CSV for SME +{% endblock %} +{% block headline %} +Convert VAMDC-XSAMS format into CSV for SME +{% endblock %} + + +{% block content %} +
+

This tool (source code) takes data in XSAMS format and returns
+comma-separated values (CSV) in the format expected
+by spectroscopy made easy (SME).

+ +

You can give the input data either by uploading a file or pasting a URL here:

+ +
+{% csrf_token %} +{{ conversion.as_p }} +

+
+
+{% endblock %} + diff --git a/static/xsd/Capabilities.xsd b/static/xsd/Capabilities.xsd new file mode 100644 index 0000000..c57caaa --- /dev/null +++ b/static/xsd/Capabilities.xsd @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + diff --git a/static/xsd/Tables.xsd b/static/xsd/Tables.xsd new file mode 100644 index 0000000..088eef1 --- /dev/null +++ b/static/xsd/Tables.xsd @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + diff --git a/static/xsd/VOSI-capabilities-1.0.xsd b/static/xsd/VOSI-capabilities-1.0.xsd new file mode 100644 index 0000000..ce3b7b4 --- /dev/null +++ b/static/xsd/VOSI-capabilities-1.0.xsd @@ -0,0 +1,55 @@ + + + + + + A schema for formatting service capabilities as returned by a + capabilities resource, defined by the IVOA Support Interfaces + specification (VOSI). + See http://www.ivoa.net/Documents/latest/VOSI.html. + + + + + + + + + + A listing of capabilities supported by a service + + + + + + + + + + A capability supported by the service. + + + A protocol-specific capability is included by specifying a + vr:Capability sub-type via an xsi:type attribute on this + element. + + + + + + + + + + diff --git a/static/xsl/Availability.xsl b/static/xsl/Availability.xsl new file mode 100644 index 0000000..912af5c --- /dev/null +++ b/static/xsl/Availability.xsl @@ -0,0 +1,30 @@ + + + + + + + Service availbility + + +

Service availability

+

+ Service is currently available: + +

+

+ Status reported is: + +

+

+ Up since: + +

+ + +
+ +
\ No newline at end of file diff --git a/static/xsl/Capabilities.xsl b/static/xsl/Capabilities.xsl new file mode 100644 index 0000000..a456deb --- /dev/null +++ b/static/xsl/Capabilities.xsl @@ -0,0 +1,106 @@ + + + + + + + Service capabilities + + +

Service capabilities

+ + + +
+ + +

+ +

+ +
+ + +

Version of VAMDC standards:

+
+ + +

Version of Node Software:

+
+ + +

Sample query:

+
+ + +

+ Returnable + +

+
+ + +

+ Restrictable + +

+ +
+ + +

Interface

+
+
Type
+
+ +
+
Version
+
+ +
+
Role
+
+ +
+ +
Access URL
+
+ +
+
+ +
Access URL
+
+ +
+
+ +
Access URL
+
+ +
+
+
HTTP verb
+
+ +
+
MIME type of HTTP response
+
+ +
+
+
+ + +

Applications

+ +
+
diff --git a/static/xsl/VOTable-1.2-20090929.xsd b/static/xsl/VOTable-1.2-20090929.xsd new file mode 100644 index 0000000..ac0cb6a --- /dev/null +++ b/static/xsl/VOTable-1.2-20090929.xsd @@ -0,0 +1,562 @@ + + + + + VOTable1.2 is meant to serialize tabular documents in the + context of Virtual Observatory applications. This schema + corresponds to the VOTable document available from + http://www.ivoa.net/Documents/latest/VOT.html + + + + + + + + + + + + + + + + + + + + Accept UCD1+ + Accept also old UCD1 (but not / + %) including SIAP convention (with :) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + content-role was previsouly restricted as: + + + + + + + + + ]]>; is now a name token. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deprecated in Version 1.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deprecated in Version 1.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added in Version 1.2: INFO for diagnostics + + + + + + + + + + + + + + + + + + + + + + + + The 'encoding' attribute is added here to avoid + problems of code generators which do not properly + interpret the TR/TD structures. + 'encoding' was chosen because it appears in + appendix A.5 + + + + + + + + + The ID attribute is added here to the TR tag to avoid + problems of code generators which do not properly + interpret the TR/TD structures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added in Version 1.2: INFO for diagnostics + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added in Version 1.2: INFO for diagnostics in several places + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/xsl/VOTable-ChinaVO.xsl b/static/xsl/VOTable-ChinaVO.xsl new file mode 100644 index 0000000..81fb87d --- /dev/null +++ b/static/xsl/VOTable-ChinaVO.xsl @@ -0,0 +1,115 @@ + + + + + + + + + + + +

Resource Name:

+

Resource Description:

+
+
+
+ +

Resource Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nameIDunitucddatatypeValuearraysizeprecisionwidthreftypedescription
+ + +

Table Data:

+ + + + + + + + + + + + + + + + + + + + + + +
+

Table Fields:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nameIDunitucddatatypearraysizeprecisionwidthreftypedescription
+
+ + + + + +
+
diff --git a/static/xsl/VOTable2XHTML.xsl b/static/xsl/VOTable2XHTML.xsl new file mode 100644 index 0000000..cd36454 --- /dev/null +++ b/static/xsl/VOTable2XHTML.xsl @@ -0,0 +1,1816 @@ + + + + + + + + + + VOTable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +
+
+ +

Fields in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ID + + name + + datatype + + unit + + precision + + width + + ref + + ucd + + utype + + arraysize + + type + + Description + + Link +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +

Groups Defined in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Group Name + + + + Group Name + + +
+ FIELDref + + +
+ PARAMref + + +
+ Attributes + + ID + + name + + ref + + ucd + + utype + + Description +
+ + + + + + + + + + + + +
+ PARAMETERS +
+
+ +

Parameters for Table: + +

+ + + +
+
+
+ + +

Other Metadata for Table: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attributes + + ID + + name + + ref + + ucd + + utype + + nrows +
+ + + + + + + + + + + + +
+ Description + + +
+ Link + +
+ + + + + + + +
+
+
+ + + + + + + + +

Parameters for Resource: + +

+ + +
+
+
+ + +

Information for Resource: + +

+ + +
+
+
+ + +

Other Metadata for Resource: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attributes + + ID + + name + + utype + + type +
+ + + + + + + + +
+ Description + + +
+ Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+ Link + +
+ + + + + + + +
+
+
+ + + + + + + + +

Parameters for VOTable: + +

+ + +
+
+
+ + +

Information for VOTable: + +

+ + +
+
+
+ + +

Other Metadata for VOTable: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Document ID + + +
+ Version + + +
+ Description + + +
+ Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+ Definition: Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+
+
+ + + + + ID + + + name + + + value + + + datatype + + + unit + + + precision + + + width + + + ref + + + ucd + + + utype + + + arraysize + + + Description + + + Link + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ID + + + name + + + value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +
+
+ +

Fields in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ID + + name + + datatype + + unit + + precision + + width + + ref + + ucd + + utype + + arraysize + + type + + Description + + Link +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +

Groups Defined in Table: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Group Name + + + + Group Name + + +
+ FIELDref + + +
+ PARAMref + + +
+ Attributes + + ID + + name + + ref + + ucd + + utype + + Description +
+ + + + + + + + + + + + +
+ PARAMETERS +
+
+ +

Parameters for Table: + +

+ + + +
+
+
+ + +

Other Metadata for Table: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attributes + + ID + + name + + ref + + ucd + + utype + + nrows +
+ + + + + + + + + + + + +
+ Description + + +
+ Link + +
+ + + + + + + +
+
+
+ + + + + + + + +

Parameters for Resource: + +

+ + +
+
+
+ + +

Information for Resource: + +

+ + +
+
+
+ + +

Other Metadata for Resource: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attributes + + ID + + name + + utype + + type +
+ + + + + + + + +
+ Description + + +
+ Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+ Link + +
+ + + + + + + +
+
+
+ + + + + + + + +

Parameters for VOTable: + +

+ + +
+
+
+ + + +

Information for VOTable: + + +

+ + +
+
+
+ + +

Other Metadata for VOTable: + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Document ID + + +
+ Version + + +
+ Description + + +
+ Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+ Definition: Coordinates System + + ID + + equinox + + epoch + + system +
+

+

+ + + + + + + +
+
+
+ + + + + ID + + + name + + + value + + + datatype + + + unit + + + precision + + + width + + + ref + + + ucd + + + utype + + + arraysize + + + Description + + + Link + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ID + + + name + + + value + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/static/xsl/VOTable2XHTML_mine.xsl b/static/xsl/VOTable2XHTML_mine.xsl new file mode 100644 index 0000000..3018fbb --- /dev/null +++ b/static/xsl/VOTable2XHTML_mine.xsl @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +
+
+ +
diff --git a/static/xsl/VOTable2XHTMLbasic.xsl b/static/xsl/VOTable2XHTMLbasic.xsl new file mode 100644 index 0000000..b29653e --- /dev/null +++ b/static/xsl/VOTable2XHTMLbasic.xsl @@ -0,0 +1,380 @@ + + + + + + + + + + VOTable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Table Data: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +
+
+ +

Table Fields: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ID + + name + + datatype + + unit + + precision + + width + + ref + + ucd + + utype + + arraysize + + type + + Description + + Link +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +

Table Data: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ +
+
+ +

Table Fields: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ID + + name + + datatype + + unit + + precision + + width + + ref + + ucd + + utype + + arraysize + + type + + Description + + Link +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+