exit button

This commit is contained in:
Fabian 2014-09-24 16:03:11 -07:00
parent 80b5944e89
commit 68564850f1
3 changed files with 8 additions and 1 deletions

View file

@ -119,6 +119,7 @@
<input type="button" value="Pause" id="run">
<input type="button" value="Reset" id="reset">
<input type="button" value="Exit" id="exit">
<input type="button" value="Send Ctrl-Alt-Del" id="ctrlaltdel">
<input type="button" value="Get floppy image" id="get_fda_image">
<input type="button" value="Get floppy image" id="get_fdb_image">

View file

@ -112,6 +112,7 @@
<div id="runtime_options" style="display: none">
<input type="button" value="Pause" id="run">
<input type="button" value="Reset" id="reset">
<input type="button" value="Exit" id="exit">
<input type="button" value="Send Ctrl-Alt-Del" id="ctrlaltdel">
<input type="button" value="Get floppy image" id="get_fda_image">
<input type="button" value="Get floppy image" id="get_fdb_image">

View file

@ -336,7 +336,7 @@
//settings.hda = new AsyncXHRBuffer("images/arch.img", 512, 8589934592);
settings.cdrom = new AsyncXHRBuffer("https://dl.dropboxusercontent.com/u/61029208/linux.iso", 2048, 6547456);
init(settings);
}
};
var log_levels = document.getElementById("log_levels"),
count = 0,
@ -442,6 +442,11 @@
$("run").blur();
};
$("exit").onclick = function()
{
location.href = location.pathname;
};
var time = $("running_time"),
ips = $("speed"),
avg_ips = $("avg_speed"),