]> matita.cs.unibo.it Git - helm.git/blob - helm/on-line/html/cic/control.html
- split http_parser module (all code that parse http requests and
[helm.git] / helm / on-line / html / cic / control.html
1 <html>
2
3 <head>
4 <title>???</title>
5
6 <style type="text/css">
7 #normal { background-color: #e6e6fa; font-family: sans-serif }
8 td.head { font-weight: bold; background-color: #e6e6fa; color: brown }
9 td.back { background-color: #e6e6fa; color: brown }
10 #indent { margin-left: 1cm; margin-right: 1cm }
11 #centered { text-align: center }
12 </style>
13
14 <script language="JavaScript" src="../../javascript/defaults.js"></script>
15 <script language="JavaScript" src="../../javascript/utils.js"></script>
16 <script language="JavaScript" src="../../javascript/control.js"></script>
17
18 </head>
19
20 <body id="normal">
21  <h1>Object: 
22   &quot;<script>document.write(extractParam(unescape(getParam('url')),'param.CICURI'))</script>&quot;
23  &nbsp;&nbsp;&nbsp;<font size="+1">[Annotations are
24  <script>if ((extractParam(unescape(getParam('url')),'param.annotations')) == 'no') document.write('off'); else document.write('on')</script>
25  ]</font>
26  </h1>
27  <table>
28   <tr>
29    <td>
30     <script>
31      var url = unescape(getParam('url'));
32      url = setParam(url,"keys",getCICMathMLKeys());
33      url = setParam(url,"prop.doctype-public","");
34      url = setParam(url,"prop.encoding","");
35      url = setParam(url,"prop.media-type","application/x-helm-annotation-helper");
36      url = url + "&param.explodeall=true";
37      document.write(
38       '<a target="result" href="' + url + '">Annotate it</a>'
39      )
40     </script>
41    </td>
42    <td>
43     (Before following the link, you must install the HELM Annotation Helper)
44    </td>
45   </tr>
46   <tr>
47    <td>
48     <script>
49      var url = unescape(getParam('url'));
50      var getterURL = extractParam(url,'param.getterURL');
51      var CICURI = extractParam(url,'param.CICURI');
52      url = setParam(url,"keys","MC%2CRT");
53      url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + CICURI);
54      url = setParam(url,"prop.media-type","text/html");
55      url = setParam(url,"prop.encoding","iso-8859-1");
56      document.write(
57       '<a target="metadata" href="' + url + '">View its metadata and dependencies</a>'
58      );
59     </script>
60    </td>
61    <td>NEW!!!</td>
62   </tr>
63   <tr>
64    <td>
65     <script>
66      var url = unescape(getParam('url'));
67      var proofcheckerURL = unescape(extractParam(url,'param.proofcheckerURL'));
68      var CICURI = extractParam(url,'param.CICURI');
69      url = proofcheckerURL + "proofCheck?uri=" + CICURI;
70      document.write(
71       '<a target="proofChecker" href="' + url + '">Proof-check it</a>'
72      );
73     </script>
74    </td>
75    <td>
76     (Not ported to V7, yet. Experimental. Coming soon.)
77    </td>
78   </tr>
79  </table>
80 </body>
81 </html>