4 <script type="text/javascript" src="utf8MacroTable.js"></script>
5 <script type="text/javascript" src="matitaweb.js"></script>
6 <link rel="stylesheet" type="text/css" href="matitaweb.css"/>
8 <link href="treeview/xmlTree.css" type="text/css" rel="stylesheet"/>
9 <script src="treeview/xmlTree.js" type="text/javascript"></script>
13 <body onLoad="initialize();">
14 <textarea id="unescape" style="display:none;"></textarea>
15 <div id="sandbox" style="visibility:hidden;"></div>
17 <div class="matitaapparea">
21 <A href="javascript:advanceForm1()"><IMG class="topimg" src="icons/advance.png"
22 id="advance" alt="Advance"
23 title="Execute one step of the script."></A>
24 <A href="javascript:retract()"><IMG class="topimg" src="icons/retract.png"
25 id="retract" alt="Retract"
26 title="Undo execution of one step of the script."></A>
27 <A href="javascript:gotoTop()"><IMG class="topimg" src="icons/top.png"
28 id="top" alt="Top" title="Undo execution of the whole script."></A>
29 <A href="javascript:gotoPos()"><IMG class="topimg" src="icons/position.png"
30 id="cursor" alt="Play"
31 title="Execute the script until the current position of the cursor."></A>
32 <A href="javascript:gotoBottom()"><IMG class="topimg" src="icons/bottom.png"
33 id="bottom" alt="Bottom" title="Execute the whole script."></A>
39 <INPUT type="BUTTON" value="New" id="newbutton" ONCLICK="newDialog()">
40 <INPUT type="BUTTON" value="Open" id="showdialog" ONCLICK="openDialog()">
41 <INPUT type="BUTTON" value="Save" id="savebutton" ONCLICK="saveFile()">
42 <INPUT type="BUTTON" value="Save as" id="saveasbutton" ONCLICK="saveDialog()">
47 <INPUT type="BUTTON" value="Upload" id="uploadbutton" ONCLICK="uploadDialog()">
48 <INPUT type="BUTTON" value="Commit" id="commitbutton" ONCLICK="commitAll()">
49 <INPUT type="BUTTON" value="Update" id="updatebutton" ONCLICK="updateAll()">
50 <INPUT type="BUTTON" value="Log" id="logbutton" ONCLICK="showLog()">
51 <!-- <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">
52 <INPUT type="BUTTON" value="hide sequent" id="hideseq" ONCLICK="hideSequent()">
53 <INPUT type="BUTTON" value="selection test" id="hideseq" ONCLICK="test()"> -->
59 <div class="caption"><p><img align="bottom" class="topimg" src="icons/matita-text.png"></p></div>
62 <div class="workarea" id="workarea">
63 <div class="scriptarea" id="scriptcell">
66 The two DIVs "locked" and "unlocked" MUST be on the same line (since they are
67 inside a PRE tag, a CR will be reflected in the document presentation)
69 <div style="width:100%; height:100%; overflow:auto;">
70 <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>
71 <!-- the script (end) -->
73 <div class="goalarea" id="goalcell">
74 <div id="goals"></div>
75 <div contentEditable="true" style="border-style:solid; height:95%; width:100%; overflow:auto;">
76 <pre id="goalview"></pre>
81 <!-- <div class="bottomarea">
82 <textarea id="logarea" style="width:100%; height:100%"></textarea>
87 <div class="dialog" id="dialogBox" style="display: none;">
88 <div class="diaTitle" id="dialogTitle"></div>
89 <div class="diaClose" id="dialogClose"><H2><A id="butClose" href="javascript:abortDialog()">X</A></H2></div>
90 <INPUT type="button" id="dialogNewdir" value="Create dir..." ONCLICK="createDir()" style="width:150px"><br/>
91 <div class="scroll" id="dialogContent"></div>
92 <INPUT class="diaFile" type="text" id="dialogFilename">
93 <INPUT type="button" id="dialogSelect" value="OK" ONCLICK="dialogOK()" style="width:70px">
96 <div class="upload" id="uploadBox" style="display: none;">
97 <div class="dialogTitle" id="uploadTitle"></div>
98 <div class="diaClose" id="uploadClose"><H2><A id="but1Close" href="javascript:abortUpload()">X</A></H2></div>
99 <INPUT class="diaFile" type="file" id="uploadFilename">
100 <INPUT type="button" id="uploadSelect" value="OK" ONCLICK="uploadOK()" style="width:70px">