summaryrefslogtreecommitdiffstats
path: root/qooxdoo/source
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-06-05 01:20:58 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-06-05 01:20:58 +0200
commitfd6ba4e8d6e87f1c7c43527ecf9ad4c06893551e (patch)
tree421976e9e0e24c82c9d3b8cfe46c9b342d26e1db /qooxdoo/source
parent967063d2a1aa032eecede67b4f1d891bd1964a15 (diff)
downloadsmokeping-fd6ba4e8d6e87f1c7c43527ecf9ad4c06893551e.tar.gz
smokeping-fd6ba4e8d6e87f1c7c43527ecf9ad4c06893551e.tar.xz
more nameing fixes
Diffstat (limited to 'qooxdoo/source')
-rw-r--r--qooxdoo/source/class/Tr/ui/ActionButton.js16
-rw-r--r--qooxdoo/source/class/Tr/ui/TraceTable.js8
-rw-r--r--qooxdoo/source/index.html2
-rwxr-xr-xqooxdoo/source/tr.cgi3
-rw-r--r--qooxdoo/source/translation/C.po4
-rw-r--r--qooxdoo/source/translation/de.po4
-rw-r--r--qooxdoo/source/translation/en.po4
-rw-r--r--qooxdoo/source/translation/fr.po4
-rw-r--r--qooxdoo/source/translation/messages.pot4
9 files changed, 27 insertions, 22 deletions
diff --git a/qooxdoo/source/class/Tr/ui/ActionButton.js b/qooxdoo/source/class/Tr/ui/ActionButton.js
index e30e416..f710df9 100644
--- a/qooxdoo/source/class/Tr/ui/ActionButton.js
+++ b/qooxdoo/source/class/Tr/ui/ActionButton.js
@@ -46,7 +46,8 @@ qx.Class.define('Tr.ui.ActionButton',
this.add(lab2);
var delay = new qx.ui.form.Spinner(1,2,60);
delay.set({
- border: 'dark-shadow'
+ border: 'dark-shadow',
+ width: 45
});
this.add(delay);
this.__delay = delay;
@@ -59,7 +60,8 @@ qx.Class.define('Tr.ui.ActionButton',
this.add(lab3);
var rounds = new qx.ui.form.Spinner(1,20,200);
rounds.set({
- border: 'dark-shadow'
+ border: 'dark-shadow',
+ width: 45
});
this.add(rounds);
this.__rounds = rounds;
@@ -68,7 +70,7 @@ qx.Class.define('Tr.ui.ActionButton',
this.__button = button;
button.set({
marginLeft: 10,
- width: 50,
+ width: 60,
height: 'auto',
border: 'dark-shadow',
padding: 2
@@ -87,14 +89,16 @@ qx.Class.define('Tr.ui.ActionButton',
});
};
- host.addEventListener('keyup',function(e){if(e.keyCode == 13){start_trace()}});
+// var self=this;
+// host.addEventListener('keyup',function(e){if(e.getKeyIdentifier() == 'Enter'){start_trace()}});
+ host.addEventListener('execute',start_trace);
button.addEventListener('execute', start_trace );
var history = qx.client.History.getInstance();
var history_action = function(event){
var targ = event.getData();
host.setValue(targ);
- history.addToHistory(targ,'SmokeTracerout to '+targ);
+ history.addToHistory(targ,'SmokeTraceroute to '+targ);
start_trace();
}
history.addEventListener('request', history_action);
@@ -103,7 +107,7 @@ qx.Class.define('Tr.ui.ActionButton',
var initial_host = qx.client.History.getInstance().getState();
if (initial_host){
host.setValue(initial_host);
- history.addToHistory(initial_host,'SmokeTracerout to '+initial_host);
+ history.addToHistory(initial_host,'SmokeTraceroute to '+initial_host);
// dispatch this task once all the initializations are done
qx.client.Timer.once(start_trace,this,0);
}
diff --git a/qooxdoo/source/class/Tr/ui/TraceTable.js b/qooxdoo/source/class/Tr/ui/TraceTable.js
index 0f999a3..ace538f 100644
--- a/qooxdoo/source/class/Tr/ui/TraceTable.js
+++ b/qooxdoo/source/class/Tr/ui/TraceTable.js
@@ -22,7 +22,7 @@ qx.Class.define('Tr.ui.TraceTable',
var tableModel = new qx.ui.table.model.Simple();
this.__tableModel = tableModel;
tableModel.setColumns([ this.tr("Hop"), this.tr("Host"),this.tr("Ip"),
- this.tr("Loss [%]"), this.tr("Sent [ms]"), this.tr("Last [ms]"), //"; help syntax highliter
+ this.tr("Loss [%]"), this.tr("Sent"), this.tr("Last [ms]"), //"; help syntax highliter
this.tr("Avg [ms]"), this.tr("Best [ms]"), this.tr("Worst [ms]"), this.tr("StDev [ms]") ]);
var custom = {
tableColumnModel: function(obj) {
@@ -57,11 +57,11 @@ qx.Class.define('Tr.ui.TraceTable',
var resizeBehavior = tcm.getBehavior();
// This uses the set() method to set all attriutes at once; uses flex
resizeBehavior.set(0, { width:"2*"});
- resizeBehavior.set(1, { width:"8*"});
- resizeBehavior.set(2, { width:"4*"});
+ resizeBehavior.set(1, { width:"9*"});
+ resizeBehavior.set(2, { width:"5*"});
for (var i=3;i<10;i++){
- resizeBehavior.set(i, { width:"2*"});
+ resizeBehavior.set(i, { width:"3*"});
}
qx.event.message.Bus.subscribe('tr.cmd',this.__handle_tr,this);
},
diff --git a/qooxdoo/source/index.html b/qooxdoo/source/index.html
index de5cdff..8307577 100644
--- a/qooxdoo/source/index.html
+++ b/qooxdoo/source/index.html
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Smokeping</title>
+ <title>SmokeTraceroute</title>
<script type="text/javascript" src="script/Tr.js"></script>
</head>
</html>
diff --git a/qooxdoo/source/tr.cgi b/qooxdoo/source/tr.cgi
index 3583ba8..be02730 100755
--- a/qooxdoo/source/tr.cgi
+++ b/qooxdoo/source/tr.cgi
@@ -1,6 +1,7 @@
#!/usr/sepp/bin/speedy-5.8.8 -w
use strict;
-use lib qw( perl );
+use lib qw(/home/oposs/smokeping/software/lib);
+use lib qw(perl);
use CGI;
use CGI::Util qw(expires);
diff --git a/qooxdoo/source/translation/C.po b/qooxdoo/source/translation/C.po
index 769f55d..1c9b3db 100644
--- a/qooxdoo/source/translation/C.po
+++ b/qooxdoo/source/translation/C.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-04 23:43+0200\n"
+"POT-Creation-Date: 2008-06-05 01:00+0200\n"
"PO-Revision-Date: 2007-10-19 09:30+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: source/class/Tr/Application.js:45
-msgid "Smokeping Traceroute Frontend"
+msgid "SmokeTraceroute"
msgstr ""
#: source/class/Tr/ui/ActionButton.js:27 source/class/Tr/ui/TraceTable.js:24
diff --git a/qooxdoo/source/translation/de.po b/qooxdoo/source/translation/de.po
index 423254c..cf5280d 100644
--- a/qooxdoo/source/translation/de.po
+++ b/qooxdoo/source/translation/de.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: MTR-AJAX-Frontend 1.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-04 23:43+0200\n"
+"POT-Creation-Date: 2008-06-05 01:00+0200\n"
"PO-Revision-Date: 2008-05-31 08:50+0200\n"
"Last-Translator: oetiker <(null)>\n"
"Language-Team: English <en@li.org>\n"
@@ -16,7 +16,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: source/class/Tr/Application.js:45
-msgid "Smokeping Traceroute Frontend"
+msgid "SmokeTraceroute"
msgstr ""
#: source/class/Tr/ui/ActionButton.js:27 source/class/Tr/ui/TraceTable.js:24
diff --git a/qooxdoo/source/translation/en.po b/qooxdoo/source/translation/en.po
index 724c315..1d4bb88 100644
--- a/qooxdoo/source/translation/en.po
+++ b/qooxdoo/source/translation/en.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-04 23:43+0200\n"
+"POT-Creation-Date: 2008-06-05 01:00+0200\n"
"PO-Revision-Date: 2007-10-26 23:25+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -17,7 +17,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: source/class/Tr/Application.js:45
-msgid "Smokeping Traceroute Frontend"
+msgid "SmokeTraceroute"
msgstr ""
#: source/class/Tr/ui/ActionButton.js:27 source/class/Tr/ui/TraceTable.js:24
diff --git a/qooxdoo/source/translation/fr.po b/qooxdoo/source/translation/fr.po
index a86f90a..5cbbc2f 100644
--- a/qooxdoo/source/translation/fr.po
+++ b/qooxdoo/source/translation/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-04 23:43+0200\n"
+"POT-Creation-Date: 2008-06-05 01:00+0200\n"
"PO-Revision-Date: 2007-10-19 09:30+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -17,7 +17,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: source/class/Tr/Application.js:45
-msgid "Smokeping Traceroute Frontend"
+msgid "SmokeTraceroute"
msgstr ""
#: source/class/Tr/ui/ActionButton.js:27 source/class/Tr/ui/TraceTable.js:24
diff --git a/qooxdoo/source/translation/messages.pot b/qooxdoo/source/translation/messages.pot
index 023920e..78fa7d0 100644
--- a/qooxdoo/source/translation/messages.pot
+++ b/qooxdoo/source/translation/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-06-05 00:31+0200\n"
+"POT-Creation-Date: 2008-06-05 01:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: source/class/Tr/Application.js:45
-msgid "Smokeping Traceroute Frontend"
+msgid "SmokeTraceroute"
msgstr ""
#: source/class/Tr/ui/ActionButton.js:27 source/class/Tr/ui/TraceTable.js:24