diff --git a/Makefile b/Makefile index 3275aed2..2ed19b3a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.76 +VERSION=0.77 BINARY_NAME=statup GOPATH:=$(GOPATH) GOCMD=go diff --git a/core/notifier/notifiers.go b/core/notifier/notifiers.go index c684eaf3..ffc222ed 100644 --- a/core/notifier/notifiers.go +++ b/core/notifier/notifiers.go @@ -61,7 +61,7 @@ type Notification struct { Queue []interface{} `gorm:"-" json:"-"` Running chan bool `gorm:"-" json:"-"` Online bool `gorm:"-" json:"-"` - testable bool + testable bool `gorm:"-" json:"-"` } // NotificationForm contains the HTML fields for each variable/input you want the notifier to accept. diff --git a/source/js/main.js b/source/js/main.js index 28c3237d..a779e201 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -55,7 +55,6 @@ $('.test_notifier').on('click', function(e) { }); $('form').submit(function() { - console.log(this); $(this).find('button[type=submit]').prop('disabled', true); }); @@ -70,7 +69,7 @@ $('select#service_type').on('change', function() { } $('#service_port').parent().parent().removeClass('d-none'); $('#service_check_type').parent().parent().addClass('d-none'); - $('#service_url').attr('placeholder', 'localhost'); + $('#service_url').attr('placeholder', '192.168.1.1'); $('#post_data').parent().parent().addClass('d-none'); $('#service_response').parent().parent().addClass('d-none'); $('#service_response_code').parent().parent().addClass('d-none'); diff --git a/source/tmpl/form_service.html b/source/tmpl/form_service.html index 6933881c..b9735620 100644 --- a/source/tmpl/form_service.html +++ b/source/tmpl/form_service.html @@ -4,25 +4,28 @@