]> matita.cs.unibo.it Git - helm.git/commitdiff
Cosmetic changes.
authorWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 8 Jun 2011 15:52:31 +0000 (15:52 +0000)
committerWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 8 Jun 2011 15:52:31 +0000 (15:52 +0000)
matitaB/matita/icons/advance.png [new file with mode: 0644]
matitaB/matita/icons/bottom.png [new file with mode: 0644]
matitaB/matita/icons/position.png [new file with mode: 0644]
matitaB/matita/icons/retract.png [new file with mode: 0644]
matitaB/matita/index.html
matitaB/matita/matitaweb.js

diff --git a/matitaB/matita/icons/advance.png b/matitaB/matita/icons/advance.png
new file mode 100644 (file)
index 0000000..fbac430
Binary files /dev/null and b/matitaB/matita/icons/advance.png differ
diff --git a/matitaB/matita/icons/bottom.png b/matitaB/matita/icons/bottom.png
new file mode 100644 (file)
index 0000000..9bcb7aa
Binary files /dev/null and b/matitaB/matita/icons/bottom.png differ
diff --git a/matitaB/matita/icons/position.png b/matitaB/matita/icons/position.png
new file mode 100644 (file)
index 0000000..1beaf89
Binary files /dev/null and b/matitaB/matita/icons/position.png differ
diff --git a/matitaB/matita/icons/retract.png b/matitaB/matita/icons/retract.png
new file mode 100644 (file)
index 0000000..243cf07
Binary files /dev/null and b/matitaB/matita/icons/retract.png differ
index 8a36418632e85d352c717d462b3049ff2f07b41a..27f90b66aaa8b327b1cd780d89706fe888f393bc 100644 (file)
 <tr>
 <td style="padding: 0px; width:67%; border-style: none;">
        <textarea id="unescape" style="display:none;"></textarea>
-       <p><INPUT type="BUTTON" value="advance" id="advance" ONCLICK="advanceForm1()">
-          <INPUT type="BUTTON" value="go back" id="retract" ONCLICK="retract()">
-          <INPUT type="BUTTON" value="go to cursor" id="cursor" ONCLICK="gotoPos()">
-          <INPUT type="BUTTON" value="bottom" id="bottom" ONCLICK="gotoBottom()"> &nbsp;
+       <p><A href="javascript:advanceForm1()"><IMG src="icons/advance.png" alt="Advance" title="Execute one step of the script."></A>
+          <A href="javascript:retract()"><IMG src="icons/retract.png" alt="Retract" title="Undo execution of one step of the script."></A>
+          <A href="javascript:gotoPos()"><IMG src="icons/position.png" alt="Play" title="Execute the script until the current position of the cursor."></A>
+           <A href="javascript:gotoBottom()"><IMG src="icons/bottom.png" alt="Bottom" title="Execute the whole script."></A>
        <INPUT type="TEXT" id="filename" value=""><INPUT type="BUTTON" value="Open" ONCLICK="openFile()"></p>
           <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">
           <INPUT type="BUTTON" value="hide sequent" id="hideseq" ONCLICK="hideSequent()">
index ecb0133c3d31f3de5f4edcafd34fd71a20f17d60..d4dbe63e80c6f07616177aa3e046c4969452fb29 100644 (file)
@@ -428,7 +428,7 @@ function openFile()
        {
                if (is_defined(xml)) {  
                        locked.innerHTML = "";
-                       unlocked.innerHTML = xml.documentElement.firstChild.data;
+                       unlocked.innerHTML = xml.documentElement.textContent;
                } else {
                        debug("file open failed");
                }