summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
Diffstat (limited to 'application/views')
-rwxr-xr-xapplication/views/scripts/event/add.phtml14
-rwxr-xr-xapplication/views/scripts/gearman/boot.phtml2
-rwxr-xr-xapplication/views/scripts/gearman/checkbootstatus.phtml3
-rwxr-xr-xapplication/views/scripts/gearman/checkshutdownstatus.phtml3
-rwxr-xr-xapplication/views/scripts/gearman/index.phtml20
-rwxr-xr-xapplication/views/scripts/gearman/shutdown.phtml2
-rwxr-xr-xapplication/views/scripts/gearman/someping.phtml12
7 files changed, 2 insertions, 54 deletions
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 @@
-<h1>Boot</h1>
-<?php echo $this->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 @@
-<?php
-print_r($this->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 @@
-<?php
-print_r($this->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 @@
-<h1>Gearman Testpage</h1>
-<?php echo $this->formButton('somePing', 'PingTest', array(
- 'onclick' => 'self.location="/gearman/someping"'
- )) ?>
-<br />
-<?php echo $this->formButton('boot', 'BootTest', array(
- 'onclick' => 'self.location="/gearman/boot"'
- )) ?>
-<br />
-<?php echo $this->formButton('boot status', 'BootStatusTest', array(
- 'onclick' => 'self.location="/gearman/checkbootstatus"'
- )) ?>
-<br />
-<?php echo $this->formButton('shutdown', 'ShutdownTest', array(
- 'onclick' => 'self.location="/gearman/shutdown"'
- )) ?>
-<br />
-<?php echo $this->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 @@
-<h1>Shutdown</h1>
-<?php echo $this->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 @@
-<?php
-foreach($this->results as $k => $result) {
-?>
-<h3>Result <?php echo $k; ?>:</h3>
-<pre>
- <?php echo $result->rawoutput; ?><br />
- alive: <?php if($result->alive) echo 'yes'; else echo 'no'; ?><br />
- returncode: <?php echo $result->rc; ?>
-</pre>
-<?php
-}
-?> \ No newline at end of file