]> 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 3dc908db5d210504b82c10707f52fb713f193197..8e6aeaf1f7614b3f6b9f23aa490c642f7022e413 100644 (file)
@@ -12,16 +12,19 @@ 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/>";
@@ -38,12 +41,29 @@ div.center { text-align: center }
 </head>
 
 <body id="normal">
+ <div class="center">
+ <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 + '&amp;param.toplevel=true">');
+     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><subst:base_CICURI/></h2>
+  <h2 class="uri"><subst:base_CICURI/></h2>
   <script>document.write('&lt;/a>');</script>
  </div>
  <hr />
@@ -60,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>'
@@ -82,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>'
      );
@@ -161,9 +185,5 @@ div.center { text-align: center }
     </ul>
   </li>
 </ul>
-<hr />
-<div class="center">
-  <a href="http://helm.cs.unibo.it" target="_top">HELM home</a>
-</div>
 </body>
 </html>