From 4f4cbb922548a2bbb11c4afe16bcca73ec7adaff Mon Sep 17 00:00:00 2001 From: Thomas Marquart Date: Fri, 23 Sep 2011 11:47:21 +0200 Subject: [PATCH] move static/ and .gitignore into dictionary/ before I plit this into its own repo. --- .gitignore | 22 + static/admin-media | 1 + static/css/indigo.css | 204 +++ static/favicon.ico | Bin 0 -> 5430 bytes static/img/bg.gif | Bin 0 -> 1383 bytes static/img/bgcode.gif | Bin 0 -> 56 bytes static/img/bgfooter.gif | Bin 0 -> 598 bytes static/img/bgmain.gif | Bin 0 -> 2248 bytes static/img/li.gif | Bin 0 -> 207 bytes static/img/nav_li.gif | Bin 0 -> 286 bytes static/img/quote.gif | Bin 0 -> 228 bytes static/img/topleft.gif | Bin 0 -> 5011 bytes static/robots.txt | 0 static/templates/404.html | 0 static/templates/500.html | 0 static/templates/dictionary/bytype.html | 84 + static/templates/dictionary/check.html | 56 + static/templates/dictionary/index.html | 44 + static/templates/dictionary/log.html | 26 + static/templates/dictionary/makenew.html | 31 + static/templates/indigo.html | 119 ++ static/templates/tap/TAP-error-document.xml | 5 + static/templates/tap/VOSI-tables.xml | 24 + static/templates/tap/availability.xml | 7 + static/templates/tap/capabilities.xml | 36 + static/templates/tap/index.html | 7 + static/templates/webtools/index.html | 15 + static/templates/webtools/query.html | 33 + static/templates/webtools/results.html | 39 + static/templates/webtools/sqlquery.html | 16 + static/templates/webtools/xsams2sme.html | 26 + static/xsd/Capabilities.xsd | 20 + static/xsd/Tables.xsd | 20 + static/xsd/VOSI-capabilities-1.0.xsd | 55 + static/xsl/Availability.xsl | 30 + static/xsl/Capabilities.xsl | 106 ++ static/xsl/VOTable-1.2-20090929.xsd | 562 ++++++ static/xsl/VOTable-ChinaVO.xsl | 115 ++ static/xsl/VOTable2XHTML.xsl | 1816 +++++++++++++++++++ static/xsl/VOTable2XHTML_mine.xsl | 94 + static/xsl/VOTable2XHTMLbasic.xsl | 380 ++++ 41 files changed, 3993 insertions(+) create mode 100644 .gitignore create mode 120000 static/admin-media create mode 100644 static/css/indigo.css create mode 100644 static/favicon.ico create mode 100644 static/img/bg.gif create mode 100644 static/img/bgcode.gif create mode 100644 static/img/bgfooter.gif create mode 100644 static/img/bgmain.gif create mode 100644 static/img/li.gif create mode 100644 static/img/nav_li.gif create mode 100644 static/img/quote.gif create mode 100644 static/img/topleft.gif create mode 100644 static/robots.txt create mode 100644 static/templates/404.html create mode 100644 static/templates/500.html create mode 100644 static/templates/dictionary/bytype.html create mode 100644 static/templates/dictionary/check.html create mode 100644 static/templates/dictionary/index.html create mode 100644 static/templates/dictionary/log.html create mode 100644 static/templates/dictionary/makenew.html create mode 100644 static/templates/indigo.html create mode 100644 static/templates/tap/TAP-error-document.xml create mode 100644 static/templates/tap/VOSI-tables.xml create mode 100644 static/templates/tap/availability.xml create mode 100644 static/templates/tap/capabilities.xml create mode 100644 static/templates/tap/index.html create mode 100644 static/templates/webtools/index.html create mode 100644 static/templates/webtools/query.html create mode 100644 static/templates/webtools/results.html create mode 100644 static/templates/webtools/sqlquery.html create mode 100644 static/templates/webtools/xsams2sme.html create mode 100644 static/xsd/Capabilities.xsd create mode 100644 static/xsd/Tables.xsd create mode 100644 static/xsd/VOSI-capabilities-1.0.xsd create mode 100644 static/xsl/Availability.xsl create mode 100644 static/xsl/Capabilities.xsl create mode 100644 static/xsl/VOTable-1.2-20090929.xsd create mode 100644 static/xsl/VOTable-ChinaVO.xsl create mode 100644 static/xsl/VOTable2XHTML.xsl create mode 100644 static/xsl/VOTable2XHTML_mine.xsl create mode 100644 static/xsl/VOTable2XHTMLbasic.xsl 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 0000000000000000000000000000000000000000..1d78c33643dc042fff4344e9816d32c8acc9fc37 GIT binary patch literal 5430 zcmc(jTTE3~8pqGs=f<5Q$Q_2GAc#Vqaav1fk&J!hY650@UzG_#X`*4k^W z@BXdzt-T!%r^9dr0uJ-}hu`5SqUWd8Gv;DK-$K`Uh#>B)_ zq^GB6wzajz-nnzf2nK^rpw{&Z!-*n)0-u79olfV6=<`loTwF;`PEOk3;Gi$0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Q_Hi)YU+C2)f!s=34Z~7C@4x>KNfz&W!vOawU!}5IaM?4bED>(6qV#TraVYI z*Syf?G~c4*I&oT!GV(lYLtlJs2OyjmIA)g7R8EisWr4ffL$km$XV@+BzYC6D z?B=xD#A+7X?NTOd%^eD&mpYMnN?oTHU9;4Eyxn=Z=a}W4<=#_r%5vXXNeEBqiEz>N zds*7*cKIBs(hUT7Xz2srd%3I(T@Aj!GJNF*c4Z_aR=YA9`e>6s7FKXy|0x20(|vz5 zL#v;NX?I~v_zc}QOvTBo44-2yMTY4FgsV}Myxo;6Mjxp*&ZK*kHtx&1;JPZ!4Svuh pJrq{GDl3VdTa_1k*sm$x7d%)~5^`8P6@@Xkrlz)ker^Y6{sHj~zbya& literal 0 HcmV?d00001 diff --git a/static/img/bgcode.gif b/static/img/bgcode.gif new file mode 100644 index 0000000000000000000000000000000000000000..6f996823cddfd7d33a69a2b9cbc54dd8cbc4397a GIT binary patch literal 56 zcmZ?wbhEHbWMvRwXkcLY^y$<8|Nj+#vM_*v4u}BBFfj4=Fi+pMf?c+Hvs>rveQOvP FtO3z(5M}@X literal 0 HcmV?d00001 diff --git a/static/img/bgfooter.gif b/static/img/bgfooter.gif new file mode 100644 index 0000000000000000000000000000000000000000..4e383dc939490b59344471d2ca03fcff0d6a940c GIT binary patch literal 598 zcmV-c0;&B+Nk%w1VOjtu0K@)jnDvq#sGD_A^8LV00000EC2ui09pVi000I5ASRAvX`X1Ru59bRa4gSsZQppV z?|lCPz@TtQEE41ejE#shlda& zN}NcsqQ#3CGiHpyv7^V2AVZ2ANwTC#lLk`Ls$9vkrOTHvW6GR4lYq^eICJXU$+M@= zpFn{Y7)rFL(W6L{DqYI7X;TMKqe`7hwW`&tShH%?I-sl9uVBN99ZR;X*|TRis9npp zt=qS7C>oDLs-qawd>cgW6PdRyLN2^xO3~?&AYen-@tXs5}{{M^@|VVqmjZkMFZlw1+xEICrfjLBRX zlPmY+h)w8{U8xvy4JzY4x85J`&v$&@=bgagOiX?BK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*)jPVo4-R9EFHX?* zkOJ04Ka^APr^rvBt#<3Vws;O)Okd5{mv*IFP&|-~?OPtI(oYxYYBm>BNQ0eJ)0a^LYPU?CIabk1$8SA&9jDQ{6L*y2phEdY zVZ&JO4l5746t9##{a}5J`g2>uvlRB$F+Jk7D^2TPyv-~t9=7?yeUo@Ll|8yz-(GXx ziE&mI_q+LsQfl0D_Qnz}qOZ3qgWAH~IF;@CfvbAEqILCojWlolKKolEF1%?!!8fe* TaK}b$DU~8PpCGM6q2TEMnfN&H literal 0 HcmV?d00001 diff --git a/static/img/li.gif b/static/img/li.gif new file mode 100644 index 0000000000000000000000000000000000000000..4493196984d647312dd659992a533c90976f0a70 GIT binary patch literal 207 zcmV;=05JbYNk%w1VF>^X0K@~1`T6T^8jYdA^8LV00000EC2ui00{sL000F{U?yJVH5yy0qEx`WTtHErR(W2f zy&BP37K}&Jdq4_@NGI2Ud2S^6mStznd<8xb^bK@4x?cU;B9e(YLQZ|6Y0e zZQqSgGY-C*e(+WM_UGpwef{w5&&yB07oT`L|LB{HB@YkW{Iu=zhnTtdO4mMFa^mgj z2VbWhcy;I1kIz5;EIj_^@4x>~-~amm|33rGfZ|UUu-Q5w667ZaHtPcu3OsbA`cEt= zIvJy7A`|eyBg4a}XR)GFVMt%=*+)hiY8(t5PXlxqSQegt5-3vA!qKx)ho@pzgRdil FH2}()aw^7OgF&7G^c{r>*z?(wFw!1ea{=j!h0?C<;h{FS7%(AVC^&ezx6;^F1$ z*xlo)wZfF6v;Y79A^8LW0018VEC2ui02BZZ000GH;3tk`X`U!Lbu7z$M$1NJ9;7kJu z{td#p;LIpEp9jJPAfg$BE#uEtfk+{^&=07;!Q~QgVH89xfv9Q_)d8Z0!Np%7rVGSO ztd95&=Ye_!gDQ&c^*9es_=LL2p85gd?PWYz>aBigM)at3;-O=%Z@90gqxz13>M!@(YRjkVb;FM!5v)B(tv*7hwQ4=M1DrwRL#ff`g0$i^*7ahelCn#JTua9O>wsS)`yBVLBrR# z;zG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e%lse+g86eOIn*X zyKTFmjYw=G%GyZ!?e@g>-G1#(w0389yQ`qxUDEEc)K1p#I6&<1^6NN6>+oiG_zF7w zBpm^B9X8m`e~6vO{W^naox$wRP(f#yr1Q*DCsn^Ig4lK5uPc()b&1^-rQc;K?z*zn zMc40+C3eUAbtlleli1xUg6`{*?zE+Drhd;&V$W^Ao=jQ~i`|nW=wbKuY?k$K^hE_k z(S1MB1Dc4-7L^D@WfD=vl8CS0TSe@x@$0Rn_13d{8wI@rN$=yOUZH+pE3vPgEi$F{ zb+h|Kg1$aU-@sCzSigUm*e@UT>mR4}PqO=`1pN|8|Ffljss6wV;=n7vfj6{)mtm;) zf`K{7z^A1Fnf~Ax;@~&G!SA%epX|W}!QgiyO1?A*48$l~G3+l^h!HF0iB~j>F*9Pg zfAE{W_;13Hn*We?%n&YbNVj|RW0c9pd5rIM|d3asSuyNk-hUVdoGs9-f!vuqo zEw&?D%ZK$p4r;0n|8K7Xab{%a@(9Ub)ZTVBeluhHmIuwq=v}G`$Nk5HV#b5>#zULO!)C_MERRzSCL(MnPJJAU c{5S?w6>RrT&}LRlTv?u=8%&-zPy##t4;G>uE&u=k literal 0 HcmV?d00001 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: +

+ +
    +
  • Keyword: The actual name of the dictionary entry. These are what is used in the query language and when you fill Restrictables and Returnables.
  • +
  • Short Description: Human-readable short text about the meaning. To be used e.g. as label text for a web-form
  • +
  • Long Description: Human-readable longer text, to be used eg. in a help-box.
  • +
  • Type: What type of data are associated with the keyword. choices are: string, float, integer, boolean.
  • +
  • Constraint: Possible contraints on the content, like ranges for a number, only certain strings (regular expression) etc.
  • +
  • Unit: The default unit, if any, for the keyword. This unit is the one used at query-time. You may however use another unit when returning data.
  • + +
  • *: This column marks if a keyword corresponds to a +"DataType" in the XSAMS schema. If SomeKeyword is marked here, it means that +there are also the corresponding keywords +
      +
    • SomeKeywordUnit
    • +
    • SomeKeywordRef
    • +
    • SomeKeywordComment
    • +
    • SomeKeywordMethod
    • +
    • SomeKeywordAccuracyCalibration
    • +
    • SomeKeywordAccuracyQuality
    • +
    • SomeKeywordAccuracySystematic
    • +
    • SomeKeywordAccuracySystematicConfidence
    • +
    • SomeKeywordAccuracySystematicRelative
    • +
    • SomeKeywordAccuracyStatistical
    • +
    • SomeKeywordAccuracyStatisticalConfidence
    • +
    • SomeKeywordAccuracyStatisticalRelative
    • +
    • SomeKeywordAccuracyStatLow
    • +
    • SomeKeywordAccuracyStatLowConfidence
    • +
    • SomeKeywordAccuracyStatLowRelative
    • +
    • SomeKeywordAccuracyStatHigh
    • +
    • SomeKeywordAccuracyStatHighConfidence
    • +
    • SomeKeywordAccuracyStatHighRelative
    • +
    which for the sake of overview are not listed above for each keyword. Please refer to the schema documentation on detail how these are to be filled.
  • + +
  • Usage: Tells whether a keyword can be used as Returnable, Restrictable and/or Requestable.
  • +
+

+{% 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 +

    +
  • syntax errors
  • +
  • keywords you use which are not in the dictionary
  • +
  • keywords that cannot be used as Returnable or Restrictable as you do
  • +
  • values (right-hand-side) which probably will not be replaced by something from your database but treated as constant strings instead.
  • +
  • forgetting the Unit-keyword when you fill a DataType.
  • +
+

+

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: +

+ +
    +
  • Keyword: The actual name of the dictionary entry. These are what is used in the query language and when you fill Restrictables and Returnables.
  • +
  • Short Description: Human-readable short text about the meaning. To be used e.g. as label text for a web-form
  • +
  • Long Description: Human-readable longer text, to be used eg. in a help-box.
  • +
  • Type: What type of data are associated with the keyword. choices are: string, float, integer, boolean.
  • +
  • Constraint: Possible contraints on the content, like ranges for a number, only certain strings (regular expression) etc.
  • +
  • Unit: The default unit, if any, for the keyword. This unit is the one used at query-time. You may however use another unit when returning data.
  • +
  • *: This column marks if a keyword corresponds to a "DataType" in the XSAMS schema. If SomeKeyword is marked here, it means that there are also the corresponding keywords SomeKeywordUnit, SomeKeywordRef, SomeKeywordComment, SomeKeywordMethod and SomeKeywordAccuracy. for sake of overview these are not listed for each keyword.
  • +
  • Usage: Tells whether a keyword can be used as Returnable, Restrictable and/or Requestable.
  • +
  • XSAMS Block: This tells in which part of the XSAMS schema a keyword ends up in when used as a Returnable.
  • +
+

+{% 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:

+
    +
  • Select the parameters that you want to restrict and fill in lower and/or upper boundaries. Use the same value on both sides to achieve "equal".
  • +
  • Selecting a parameter and not entering any bounds means that there must be a value available for this parameter (not null).
  • +
  • The values for upper and lower bounds are to be entered as decimals with at most 6 significant digits plus exponent, e.g. 4.567E-8
  • +
  • The check box that says "Use AND?" is marked by default which means that an AND operator will be used to connect the current condition to the next one. If you want to use an OR, untick the marker. (This is ignored for the time being!)
  • +
  • + +
+{% 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

+ +
    +
  • ID: {{ query.qid }}
  • +
  • Submitted on: {{ query.datetime }}
  • +
  • Raw query string: {{ query.query }}
  • +
+ +

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 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+