[Volute] r3620 - trunk/projects/dm/vo-dml/mapping

Volute commit messages volutecommits at g-vo.org
Wed Oct 12 13:28:42 CEST 2016


Author: lmichel
Date: Wed Oct 12 13:28:42 2016
New Revision: 3620

Log:
New formats added

Modified:
   trunk/projects/dm/vo-dml/mapping/parser.html

Modified: trunk/projects/dm/vo-dml/mapping/parser.html
==============================================================================
--- trunk/projects/dm/vo-dml/mapping/parser.html	Wed Oct 12 12:06:33 2016	(r3619)
+++ trunk/projects/dm/vo-dml/mapping/parser.html	Wed Oct 12 13:28:42 2016	(r3620)
@@ -18,7 +18,6 @@
 			<option>mapping/test2.votable.xml</option>
 			<option>mapping/test3.votable.xml</option>
 			<option>mapping/test4.votable.xml</option>
-			<option>mapping/test4.votable.xml</option>
 			<option>models/sample/Association/Association.votable.xml</option>
 			<option>models/sample/Composition/Composition.votable.xml</option>
 			<option>models/sample/EnumLiteral/EnumLiteral.votable.xml</option>
@@ -30,15 +29,16 @@
 		<select id=format>
 			<option>json</option>
 			<option>jsonlite</option>
-			<option>outMast</option>
-			<option>outVodmli</option>
-			<option>outVotable</option>
-			<option>outVotableAlt</option>
-
+			<option>vodmli</option>
+			<option>votableAlt</option>
+			<option>extjs</option>
+			<option>votable</option>
+			<option>csv</option>
 		</select> url: <input type="text" id="url" size="80"></input> <br>
 		<br>
 		<iframe id=retour
 			style="width: 100%; height: 400px; overflow: auto; background-color: #DDD;"></iframe>
+		<br><a id="newTab" target="" href="#">Open in a new tab</a>
 		<br> <span>Page dedicated to the VO-DML focus group (Laurent MICHEL 09/2016)</span>
 	</div>
 </body>
@@ -55,6 +55,8 @@
 		    votableUrl = "https://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/" + $('#sample').val();
 	    	url = baseUrl + "format=" + $('#format').val() + "&votable=" + votableUrl
 	        $("#url").val(url);
+	    	$("#newTab").attr("href", url);
+   			$("#newTab").attr("target", "blank");
 	    	if( $(this).attr("id") == "format")
 	        $("#retour").attr("src", url );
 	    });


More information about the Volutecommits mailing list