aboutsummaryrefslogtreecommitdiff
path: root/views/_jqChangeStatus.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
commit89a67770e66d11740948e90a41db6cee0482cf8e (patch)
treebe858515fb789a89d68f94975690ab019813726c /views/_jqChangeStatus.haml
new version.
Diffstat (limited to 'views/_jqChangeStatus.haml')
-rw-r--r--views/_jqChangeStatus.haml21
1 files changed, 21 insertions, 0 deletions
diff --git a/views/_jqChangeStatus.haml b/views/_jqChangeStatus.haml
new file mode 100644
index 0000000..1b00c17
--- /dev/null
+++ b/views/_jqChangeStatus.haml
@@ -0,0 +1,21 @@
+%form{:name=>"changeAlertStatusForm", :action=>"html_form_action", :method=>"post"}
+ %input{:type=>"hidden", :name=>"AlertID", :value=>"Null"}
+ %input{:type=>"hidden", :name=>"AlertDefaultAcknowledgeTime", :value=>"Null"}
+ %input{:type=>"button", :name=>"statusAcknowledgedFor", :value=>"Acknowledge this alert for",
+ :onclick=>"changeAcknowledgeStatus(this.form.AlertID.value, this.form.timeStamp.value)",
+ :class=>"buttonAcknowledgeAlert"}
+ %select{:name=>"timeStamp", :id=>"sample", :class=>"timeList"}
+ %option{:value=>"0"}default...
+ %option{:value=>"3600"}1 hour
+ %option{:value=>"7200"}2 hours
+ %option{:value=>"7560"}3 hours
+ %option{:value=>"18000"}5 hours
+ %option{:value=>"25200"}7 hours
+ %option{:value=>"86400"}1 day
+ %option{:value=>"172800"}2 days
+ %option{:value=>"604800"}1 week
+ %option{:value=>"0"}Forever
+ %input{:type=>"button", :name=>"raise", :value=>"Unacknowledged", :onClick=>"raiseAlert(this.form.AlertID.value);", :class=>"raiseAlert"}
+ %input{:type=>"button", :name=>"clear", :value=>"Trash alert", :onClick=>"clearAlert(this.form.AlertID.value);", :class=>"trashAlert"}
+%em
+ Please be careful what you chose and err on the side of shorter times scales.