From 2a8868e7687894bee161dd602221abf187cafae4 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 27 Oct 2011 16:09:31 +0200 Subject: Edit weiter korrigiert --- application/views/scripts/event/add.phtml | 14 ++------------ application/views/scripts/gearman/boot.phtml | 2 -- .../views/scripts/gearman/checkbootstatus.phtml | 3 --- .../views/scripts/gearman/checkshutdownstatus.phtml | 3 --- application/views/scripts/gearman/index.phtml | 20 -------------------- application/views/scripts/gearman/shutdown.phtml | 2 -- application/views/scripts/gearman/someping.phtml | 12 ------------ 7 files changed, 2 insertions(+), 54 deletions(-) delete mode 100755 application/views/scripts/gearman/boot.phtml delete mode 100755 application/views/scripts/gearman/checkbootstatus.phtml delete mode 100755 application/views/scripts/gearman/checkshutdownstatus.phtml delete mode 100755 application/views/scripts/gearman/index.phtml delete mode 100755 application/views/scripts/gearman/shutdown.phtml delete mode 100755 application/views/scripts/gearman/someping.phtml (limited to 'application/views/scripts') diff --git a/application/views/scripts/event/add.phtml b/application/views/scripts/event/add.phtml index 43fd4c2..90fc889 100755 --- a/application/views/scripts/event/add.phtml +++ b/application/views/scripts/event/add.phtml @@ -30,23 +30,13 @@ if(isset($this->params['add'])) { ?> $(function() { $("#start").datetimepicker({ - onSelect: function (selectedDateTime){ - var start = $(this).datetimepicker('getDate'); - var end = $('#end').datetimepicker("getDate"); - $('#end').datetimepicker('option', 'minDate', new Date(start.getTime())); - $('#end').datetimepicker('setDate', end); - }, + minDate: new Date(), dateFormat: "mm/dd/yy", timeFormat: "hh:mm tt", ampm: true }); $("#end").datetimepicker({ - onSelect: function (selectedDateTime){ - var end = $(this).datetimepicker('getDate'); - var start = $('#start').datetimepicker('getDate'); - $('#start').datetimepicker('option', 'maxDate', new Date(end.getTime()) ); - $('#start').datetimepicker('setDate', start); - }, + minDate: new Date(), dateFormat: "mm/dd/yy", timeFormat: "hh:mm tt", ampm: true diff --git a/application/views/scripts/gearman/boot.phtml b/application/views/scripts/gearman/boot.phtml deleted file mode 100755 index e07fcaa..0000000 --- a/application/views/scripts/gearman/boot.phtml +++ /dev/null @@ -1,2 +0,0 @@ -

Boot

-result;?> \ No newline at end of file diff --git a/application/views/scripts/gearman/checkbootstatus.phtml b/application/views/scripts/gearman/checkbootstatus.phtml deleted file mode 100755 index a276048..0000000 --- a/application/views/scripts/gearman/checkbootstatus.phtml +++ /dev/null @@ -1,3 +0,0 @@ -result); -?> \ No newline at end of file diff --git a/application/views/scripts/gearman/checkshutdownstatus.phtml b/application/views/scripts/gearman/checkshutdownstatus.phtml deleted file mode 100755 index a276048..0000000 --- a/application/views/scripts/gearman/checkshutdownstatus.phtml +++ /dev/null @@ -1,3 +0,0 @@ -result); -?> \ No newline at end of file diff --git a/application/views/scripts/gearman/index.phtml b/application/views/scripts/gearman/index.phtml deleted file mode 100755 index 4d20a8f..0000000 --- a/application/views/scripts/gearman/index.phtml +++ /dev/null @@ -1,20 +0,0 @@ -

Gearman Testpage

-formButton('somePing', 'PingTest', array( - 'onclick' => 'self.location="/gearman/someping"' - )) ?> -
-formButton('boot', 'BootTest', array( - 'onclick' => 'self.location="/gearman/boot"' - )) ?> -
-formButton('boot status', 'BootStatusTest', array( - 'onclick' => 'self.location="/gearman/checkbootstatus"' - )) ?> -
-formButton('shutdown', 'ShutdownTest', array( - 'onclick' => 'self.location="/gearman/shutdown"' - )) ?> -
-formButton('shutdown status', 'ShutdownStatusTest', array( - 'onclick' => 'self.location="/gearman/checkshutdownstatus"' - )) ?> \ No newline at end of file diff --git a/application/views/scripts/gearman/shutdown.phtml b/application/views/scripts/gearman/shutdown.phtml deleted file mode 100755 index e1e194a..0000000 --- a/application/views/scripts/gearman/shutdown.phtml +++ /dev/null @@ -1,2 +0,0 @@ -

Shutdown

-result;?> \ No newline at end of file diff --git a/application/views/scripts/gearman/someping.phtml b/application/views/scripts/gearman/someping.phtml deleted file mode 100755 index ce458c8..0000000 --- a/application/views/scripts/gearman/someping.phtml +++ /dev/null @@ -1,12 +0,0 @@ -results as $k => $result) { -?> -

Result :

-
-	rawoutput; ?>
- alive: alive) echo 'yes'; else echo 'no'; ?>
- returncode: rc; ?> -
- \ No newline at end of file -- cgit v1.2.3-55-g7522