4 <script type="text/javascript" src="matitaweb.js"></script>
5 <link rel="stylesheet" type="text/css" href="matitaweb.css"/>
8 <body onLoad="initialize();">
9 <div id="sandbox" style="visibility:hidden;"></div>
10 <table style="table-layout: fixed; width:100%; height:100%; border-spacing: 0px; border-style: none;">
12 <td style="padding: 0px; width:67%; border-style: none;">
13 <textarea id="unescape" style="display:none;"></textarea>
14 <p><A href="javascript:advanceForm1()"><IMG src="icons/advance.png"
15 id="advance" alt="Advance"
16 title="Execute one step of the script."></A>
17 <A href="javascript:retract()"><IMG src="icons/retract.png"
18 id="retract" alt="Retract"
19 title="Undo execution of one step of the script."></A>
20 <A href="javascript:gotoPos()"><IMG src="icons/position.png"
21 id="cursor" alt="Play"
22 title="Execute the script until the current position of the cursor."></A>
23 <A href="javascript:gotoBottom()"><IMG src="icons/bottom.png"
24 id="bottom" alt="Bottom" title="Execute the whole script."></A>
25 <INPUT type="TEXT" id="filename" value=""><INPUT type="BUTTON" value="Open" ONCLICK="openFile()"></p>
26 <INPUT type="BUTTON" value="show dialog" id="showdialog" ONCLICK="showDialog()">
27 <!-- <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">
28 <INPUT type="BUTTON" value="hide sequent" id="hideseq" ONCLICK="hideSequent()">
29 <INPUT type="BUTTON" value="selection test" id="hideseq" ONCLICK="test()"> -->
32 <td style="width:33%; text-align:center;"><img src="icons/matita-text.png"></td>
34 <tr id="workarea" style="height:80%;">
35 <td id="scriptcell" style="padding: 0px; border-style: none; padding: 0px;">
38 The two DIVs "locked" and "unlocked" MUST be on the same line (since they are
39 inside a PRE tag, a CR will be reflected in the document presentation)
41 <div style="width:100%; height:100%; overflow:auto;">
42 <pre><div contentEditable="false" id="locked" style="background-color:#bfbfff; display:inline;"></div><div contentEditable="true" id="unlocked" style="display:inline">(* script *)</div></pre></div>
43 <!-- the script (end) -->
45 <td id="goalcell" style="padding: 0px; width:33%; border-style: none;">
46 <div id="goals"></div>
47 <div contentEditable="true" style="border-style:solid; height:100%; width:100%; overflow:auto;">
48 <pre id="goalview"></pre>
52 <tr style="height:15%">
53 <td colspan="2" style="padding: 0px; border-style: none;">
54 <textarea id="logarea" style="width:100%; height:100%"></textarea>
59 <div class="dialog" style="display: none;">
60 <p id="dialogTitle">Title</p>
61 <div class="scroll"></div>