]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/on-line/html/cic/control.html
ocaml 3.09 transition
[helm.git] / helm / on-line / html / cic / control.html
index 1868818b705aff80a5849388885822c60d260725..8e6aeaf1f7614b3f6b9f23aa490c642f7022e413 100644 (file)
@@ -12,19 +12,23 @@ td.back { background-color: #e6e6fa; color: brown }
 ul.control { padding-left: 1em; list-style: none; }
 ul.control2 { font-size: small; padding-left: 2em; }
 div.center { text-align: center }
+h2.uri { margin-top: 0ex; margin-bottom: 0ex }
 </style>
 
 <script>
  var annotations="<subst:annotations/>";
  var CICURI="<subst:CICURI/>";
+ var cleanCICURI="<subst:cleanCICURI/>";
  var CICURL = "<subst:CICURL/>";
  var DCRDFURL = "<subst:DCRDFURL/>";
  var DirectRDFURL = "<subst:DirectRDFURL/>";
  var getterURL = "<subst:getterURL/>";
  var HTMLURL = "<subst:HTMLURL/>";
+ var ProofTreeURL = "<subst:makeProofTreeURL/>";
  var InverseRDFURL = "<subst:InverseRDFURL/>";
  var MathMLContentURL = "<subst:MathMLContentURL/>";
  var MathMLPresentationURL = "<subst:MathMLPresentationURL/>";
+ var interfaceURL = "<subst:interfaceURL/>";
  var mkDirDepURL = "<subst:makeDirectDependencyURL/>";
  var mkInvDepURL = "<subst:makeInverseDirectDependencyURL/>";
  var mkInvRecDepURL = "<subst:makeInverseRecDependencyURL/>";
@@ -38,9 +42,28 @@ div.center { text-align: center }
 
 <body id="normal">
  <div class="center">
-  <script>document.write('&lt;a target="result" style="text-decoration:none" href="' + url + '">');</script>
-  <img style="border-style:none" src="http://helm.cs.unibo.it/helm/icons/object.png" />
-  <h2><subst:base_CICURI/></h2>
+ <small>
+ User:
+   <uwobo:profileCtrlOptionList xmlns:uwobo="http://helm.cs.unibo.it/uwobo"
+    type="cic"/>
+ <br />
+ [<a href="http://helm.cs.unibo.it" target="_top">HELM home</a>]
+ <script>
+   document.write('[<a target="_top" href="' + processorURL +
+     'apply?keys=SPK&amp;param.processorURL=' + escape(processorURL) +
+     '&amp;param.profile=' + escape(profile) +
+     '&amp;xmluri=' + interfaceURL + 'html/configuration.html' +
+     '">configuration</a>]');
+ </script>
+ </small>
+ </div>
+ <hr />
+ <div class="center">
+   <script>
+     document.write('&lt;a target="result" style="color:black; text-decoration:none" href="' + url + '">');
+     document.write('<img style="border-style:none" src="' + interfaceURL + '/icons/object.png" />');
+   </script>
+  <h2 class="uri"><subst:base_CICURI/></h2>
   <script>document.write('&lt;/a>');</script>
  </div>
  <hr />
@@ -57,20 +80,24 @@ div.center { text-align: center }
   </li>
 -->
   <li>
-    View [
+    View
     <script>
-     document.write('<a href="' + HTMLURL + '&amp;param.toplevel=true" target="result"><small>HTML</small></a>');
-     document.write(' / ');
-     document.write('<a href="' + MathMLPresentationURL + '&amp;param.toplevel=true" target="result"><small>MathML</small></a>');
+     document.write('<a href="' + HTMLURL + '&amp;param.toplevel=true" target="result"><small>HTML</small></a>');
+     document.write(' | ');
+     document.write('<a href="' + MathMLPresentationURL + '&amp;param.toplevel=true" target="result"><small>MathML</small></a> ]');
      </script>
-     ]
   </li>
   <li>
     <script>
-     var url = processorURL + "apply?keys=MC%2CRT&amp;xmluri=" +
-         getterURL + "getxml%3Furi%3D" + CICURI +
+      document.write('<a href="' + ProofTreeURL + '&amp;param.toplevel=true" target="result">View proof tree</a>');
+    </script>
+  </li>
+  <li>
+    <script>
+     var url = processorURL + "apply?keys=MC%2CRT%2CL&amp;xmluri=" +
+         getterURL + "getxml%3Furi%3D" + cleanCICURI +
          "&amp;prop.media-type=text/html&amp;prop.encoding=iso-8859-1" +
-         "&amp;param.CICURI=" + CICURI + "&amp;param.profile=" + profile +
+         "&amp;param.CICURI=" + cleanCICURI + "&amp;param.profile=" + profile +
          "&amp;profile=" + profile;
      document.write(
       '<a target="result" href="' + url + '">View metadata</a>'
@@ -79,7 +106,7 @@ div.center { text-align: center }
   </li>
   <li>
     <script>
-     url = proofcheckerURL + "proofCheck?uri=" + CICURI;
+     url = proofcheckerURL + "proofCheck?uri=" + cleanCICURI;
      document.write(
       '<a target="result" href="' + url + '">Proof check</a>'
      );
@@ -158,9 +185,5 @@ div.center { text-align: center }
     </ul>
   </li>
 </ul>
-<hr />
-<div class="center">
-  <a href="http://helm.cs.unibo.it">HELM home</a>
-</div>
 </body>
 </html>