Default to 1 hour silence

This commit is contained in:
Łukasz Mierzwa
2017-04-23 18:52:17 -07:00
parent 4d3200d3fd
commit 9bbb81212b
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@
<input type="datetime"
class="form-control datetime-picker"
id="endsAt"
value="<%= moment().add(4, 'hours').format("YYYY-MM-DD HH:mm:ss") %>"
value="<%= moment().add(1, 'hours').format("YYYY-MM-DD HH:mm:ss") %>"
name="endsAt"
required>
</div>

View File

@@ -255,7 +255,7 @@ func templatesModalHtml() (*asset, error) {
return a, nil
}
var _templatesSilenceHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x57\x4d\x8f\xdb\x36\x10\xbd\xfb\x57\x10\x2c\x8c\xb5\x81\xc8\x6e\x81\xa2\x87\x40\x16\x90\x64\x53\x24\x6d\x37\x39\xec\x69\x4f\xc1\x98\x1c\x5b\xcc\x52\xa4\x4a\x52\xde\x35\x8a\xfc\xf7\x82\x1f\xb2\x25\xad\xb5\xeb\x38\x87\x1e\xaa\xc3\x5a\x14\x67\xde\xcc\xbc\x47\xce\x92\xb9\x65\x46\xd4\x8e\xb8\x7d\x8d\x2b\x0a\x75\x2d\x05\x03\x27\xb4\x5a\x7e\xb5\x5a\x51\x22\xf8\x8a\x5a\x21\x51\x31\xcc\x36\xda\x54\xb4\x98\xe4\x5c\xec\xc2\x77\x85\x0f\xb7\x71\xea\x8d\x44\xe3\x28\x61\x12\xac\x5d\x51\xf0\x23\x12\xfe\x66\x1c\xd4\x16\x0d\x29\x05\xe7\xa8\x28\x31\x5a\x62\x32\xa0\x45\xbe\xe4\x62\x57\x4c\x72\x8f\x3b\x00\xfc\x3d\x86\x22\x24\x97\xb0\x46\xd9\x22\x33\xad\x9c\xd1\x32\x0b\x1f\x69\xf1\x97\xff\xb1\xc4\x69\x52\x81\x63\x65\xbe\x0c\xdf\x83\xdb\x94\x7c\x59\x20\xb0\x72\x16\x52\xb3\x8b\x5b\x6d\xdc\x0d\xd4\x6f\xf7\x7f\xe2\x7e\x16\xcc\xec\xfc\x15\xd9\x34\x8a\xf9\x62\xe3\x97\x39\xf9\x87\x4c\xbd\x37\x21\x79\xc8\x8c\x84\x27\x3f\xa0\xa6\xb1\x45\x89\xcc\xb5\x39\xc5\x51\x2d\xd8\x3d\x1a\xd2\x52\x15\x5c\xb2\xf8\x91\x1e\x3c\xdb\x87\x83\x83\x64\x72\x8f\xfb\x15\xcd\xa7\x2b\x12\x86\x8b\x7b\xdc\x93\x69\x31\xe2\x61\xdd\xde\xb3\xd7\x8f\x11\xc3\x3f\xf5\xc8\xa7\x44\x6c\xc8\xec\xf3\xfa\x2b\x32\xe7\x71\x6d\x2c\x72\xb1\x03\xd9\xe0\x7c\x21\x51\x6d\x5d\x49\x0a\xf2\xcb\xcf\xb1\xee\x98\x94\xd8\x61\x66\x11\x0c\x2b\x57\xd4\x99\x06\x69\x3e\x25\xdf\x5a\x56\x2e\xc3\xef\xc0\x43\x60\xdb\x66\x6b\xfd\xf8\x02\x7c\xd5\x48\x27\x6a\x89\xdd\x99\x33\x44\x4d\xd1\x87\xca\x7e\xd9\x41\x57\xdd\x0e\xa4\xae\xbd\x55\x5b\xcd\xc1\x38\xe2\x2c\x22\xb9\xc8\xa3\x6f\x3b\x6a\x35\x47\x3e\x9a\x7e\x7c\x02\x48\x47\xde\x80\x3c\x26\x71\x47\x68\xbf\xcc\x51\xb9\x15\xcd\x6d\x0d\x2a\x2d\xb4\xab\x3e\x4c\x4c\x10\x9c\x33\x76\x11\x0c\xc8\xb4\xb8\x22\x71\x89\x3c\x63\x1a\x0c\xbc\x69\x91\x4f\xb3\x11\x1b\x87\x8f\x8e\x4c\x8b\x7c\xe9\xa3\x17\xf4\x94\xf6\x2f\xb8\x0e\x59\x5e\x46\x9a\x07\x62\x7e\x9b\x77\x4d\xf3\x65\x64\x35\x6d\xc0\xce\x5e\x5e\xa6\xcd\x78\x70\xf1\xef\xa5\x39\x6e\xc0\x1a\x0c\x38\x6d\x68\x9c\xf1\xed\x29\x4d\x19\xfd\x40\x8f\x1b\xfa\xd8\x45\x64\x66\xab\xec\x37\xda\xdf\xe1\x23\x4d\xe6\xd6\x81\x71\x96\x80\xeb\xa4\x34\x44\x14\xaa\x6e\x5c\xb6\x35\xba\xa9\xbd\x82\x48\xbb\xdd\xe2\x28\x61\xd7\x2e\x03\xce\xb5\xea\x91\x9b\x8b\xd6\x6e\x03\x64\x03\x19\x03\x89\x8a\x83\xf1\x9d\x52\xf4\x88\xf2\xba\x1c\xc7\x01\x35\x75\x70\x1f\xdd\x89\x0a\x9f\xac\xaf\x16\x59\x9b\x2a\x4b\x15\x92\xd6\x78\xac\x51\x85\xe6\x1f\xca\x7f\xf3\xb4\xc3\x74\x16\x77\xa5\x2b\x54\x6e\x36\x5f\x78\x74\x70\x33\x7a\x77\x77\x77\x97\xdd\xdc\x64\xd7\xd7\xe4\xc3\x87\xd7\x55\xf5\xda\x5a\x3a\x3f\xb5\xea\x15\x54\xf8\x4c\x0c\x83\x7f\x37\xc2\x20\x3f\x70\xbe\x3c\xf4\xe5\xee\xeb\xc5\xda\xbe\x57\xfc\xff\xab\x2c\x2a\x7e\xae\xae\xc0\xf9\xec\xd7\x57\xe4\xaa\xd4\x8d\xb1\x57\x17\xeb\x3c\x12\xf1\x1c\x95\xd3\xcb\xd9\x3b\x3f\xb0\x11\xe4\x38\xd1\x00\x3a\x62\x1d\xd7\xc9\xb9\x6a\x0e\xb5\x44\xb5\x43\xa9\x6b\xec\x69\xd9\x57\xb2\xa7\x23\x56\x20\xe4\x80\x83\x13\x12\x0e\x2c\xbc\x60\xcc\x20\x38\xe4\x6f\xf7\x83\xb9\x5a\x02\xc3\x52\x4b\x8e\x66\x45\xdf\x9f\x80\x8f\xec\x8f\xb9\xf7\xe9\x3f\xc5\xf8\x7f\xc2\x2b\xd3\x95\x5f\x7d\xe7\xd2\xea\xff\xf3\x5c\xc6\x6a\x8a\xf3\x0c\xa7\xef\x4e\x9a\x24\x56\x4f\xce\xbd\xcc\xe9\xf8\x2a\x86\x76\xc2\x97\x94\x55\x8d\x3f\x67\xc4\x73\x81\xd3\xdb\xad\x0c\x31\xa5\x84\xda\x22\x25\xa5\xc1\xcd\x8a\xfe\x94\x8e\x84\x7f\xdc\x7e\xfe\x44\x09\x18\x01\x19\x3e\xd6\xa0\xb8\x3f\xab\x6c\x40\x7a\xcb\xf0\x35\xb1\x60\x0f\x87\xc8\xe0\x71\xe4\x73\xa0\x40\x89\x3b\xa3\x55\x66\xc4\xb6\x1c\xe8\x30\x62\xc9\xf5\x83\x3a\x18\xe6\x4b\x28\x26\x4f\xba\x73\x4a\xbc\x73\xaf\xe8\xe4\x90\xd7\x27\x6a\x6f\x39\xac\x5b\x1b\x83\x43\xf7\xb7\x52\xaf\x7d\xdc\xda\xe0\xf8\xd2\x0d\x90\x0c\x95\x43\xd3\x62\xae\x1b\xe7\xb4\xea\xa2\xdd\x36\xeb\x4a\x38\x9a\x16\x95\x4d\xa3\x84\xb0\x76\x8a\xac\x9d\xca\x6c\xc3\x18\x5a\x4b\x8b\x77\x61\x4b\xe5\xcb\x88\xd3\x09\x9d\x2f\xfd\xaa\xf3\xbf\xf1\x7e\x55\x4c\x26\xdf\x7b\xd3\x3a\x46\x99\x74\xab\x68\x4d\x0c\xda\x46\xba\x4c\x30\xad\x48\xa7\xb2\xf8\x7e\x74\x3d\xa9\x15\xbb\xcf\x98\x30\x4c\xb6\x3d\xab\x4d\xba\x1e\xa3\x2a\xdd\xca\xc8\xc7\xeb\xd7\xfd\x0d\xdd\x8f\xe6\xcf\x85\x29\xbf\x8f\xd7\xc7\x13\xe4\x24\x68\xf7\x23\x54\x6c\xc0\x81\xbc\x84\x88\x78\xfd\x3c\xc9\x03\x3e\x32\x09\x55\x08\xfb\x9d\x6c\x7c\xc2\x87\xb6\x4c\x12\xee\xae\x06\x15\x47\x23\xd4\x96\x6c\x40\x48\xe4\x8b\x54\xf1\x28\x82\x27\x0a\x8d\xd1\xc6\x9f\x66\x7f\x98\x9d\x80\xe4\xd9\x39\xbb\xc2\x7e\xf8\xcb\x23\x4b\x0d\x5c\xa8\xed\x25\xca\x1c\xf7\xf6\x30\x6d\x83\x1b\x83\xb6\xf4\xaf\xb6\x16\x6a\xa0\xca\x21\xdb\x7f\x03\x00\x00\xff\xff\xc5\x10\x37\x05\xba\x10\x00\x00")
var _templatesSilenceHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x57\x4d\x6f\xdb\x38\x10\xbd\xfb\x57\x10\x5c\x18\xb1\x81\xca\xde\x5e\xf6\x50\xc8\x02\xda\xa6\x8b\x76\x77\xd3\x1e\x72\xca\xa9\x18\x93\x63\x8b\x0d\x45\x6a\x49\xca\x89\xb1\xe8\x7f\x5f\xf0\x43\xb6\xa4\x58\x89\xeb\x1e\xf6\xb0\x3a\xc4\xa2\x38\xf3\x66\xe6\x3d\x72\x42\xe6\x96\x19\x51\x3b\xe2\xf6\x35\xae\x28\xd4\xb5\x14\x0c\x9c\xd0\x6a\xf9\xcd\x6a\x45\x89\xe0\x2b\x6a\x85\x44\xc5\x30\xdb\x68\x53\xd1\x62\x92\x73\xb1\x0b\xdf\x15\x3e\xdc\xc6\xa9\xb7\x12\x8d\xa3\x84\x49\xb0\x76\x45\xc1\x8f\x48\xf8\x9b\x71\x50\x5b\x34\xa4\x14\x9c\xa3\xa2\xc4\x68\x89\xc9\x80\x16\xf9\x92\x8b\x5d\x31\xc9\x3d\xee\x00\xf0\xf7\x18\x8a\x90\x5c\xc2\x1a\x65\x8b\xcc\xb4\x72\x46\xcb\x2c\x7c\xa4\xc5\x5f\xfe\xc7\x12\xa7\x49\x05\x8e\x95\xf9\x32\x7c\x0f\x6e\x53\xf2\x75\x81\xc0\xca\x59\x48\xcd\x2e\x6e\xb5\x71\x37\x50\xbf\xdb\xff\x89\xfb\x59\x30\xb3\xf3\x57\x64\xd3\x28\xe6\x8b\x8d\x5f\xe6\xe4\x1f\x32\xf5\xde\x84\xe4\x21\x33\x12\x9e\xfc\x80\x9a\xc6\x16\x25\x32\xd7\xe6\x14\x47\xb5\x60\xf7\x68\x48\x4b\x55\x70\xc9\xe2\x47\x7a\xf0\x6c\x1f\x0e\x0e\x92\xc9\x3d\xee\x57\x34\x9f\xae\x48\x18\x2e\xee\x71\x4f\xa6\xc5\x88\x87\x75\x7b\xcf\x5e\x3f\x46\x0c\xff\xd4\x23\x9f\x12\xb1\x21\xb3\x2f\xeb\x6f\xc8\x9c\xc7\xb5\xb1\xc8\xc5\x0e\x64\x83\xf3\x85\x44\xb5\x75\x25\x29\xc8\xeb\x5f\x63\xdd\x31\x29\xb1\xc3\xcc\x22\x18\x56\xae\xa8\x33\x0d\xd2\x7c\x4a\xbe\xb7\xac\x5c\x86\xdf\x81\x87\xc0\xb6\xcd\xd6\xfa\xf1\x05\xf8\xaa\x91\x4e\xd4\x12\xbb\x33\x67\x88\x9a\xa2\x0f\x95\xfd\xba\x83\xae\xba\x1d\x48\x5d\x7b\xab\xb6\x9a\x83\x71\xc4\x59\x44\x72\x91\x47\xdf\x76\xd4\x6a\x8e\x7c\x34\xfd\xf8\x04\x90\x8e\xbc\x01\x79\x4c\xe2\x8e\xd0\x7e\x99\xa3\x72\x2b\x9a\xdb\x1a\x54\x5a\x68\x57\x7d\x98\x98\x20\x38\x67\xec\x22\x18\x90\x69\x71\x45\xe2\x12\x79\xc6\x34\x18\x78\xd3\x22\x9f\x66\x23\x36\x0e\x1f\x1d\x99\x16\xf9\xd2\x47\x2f\xe8\x29\xed\x5f\x70\x1d\xb2\xbc\x8c\x34\x0f\xc4\xfc\x3e\xef\x9a\xe6\xcb\xc8\x6a\xda\x80\x9d\xbd\xbc\x4c\x9b\xf1\xe0\xe2\xdf\x4b\x73\xdc\x80\x35\x18\x70\xda\xd0\x38\xe3\xdb\x53\x9a\x32\xfa\x81\x1e\x37\xf4\xb1\x8b\xc8\xcc\x56\xd9\x6f\xb4\xbf\xc3\x47\x9a\xcc\xad\x03\xe3\x2c\x01\xd7\x49\x69\x88\x28\x54\xdd\xb8\x6c\x6b\x74\x53\x7b\x05\x91\x76\xbb\xc5\x51\xc2\xae\x5d\x06\x9c\x6b\xd5\x23\x37\x17\xad\xdd\x06\xc8\x06\x32\x06\x12\x15\x07\xe3\x3b\xa5\xe8\x11\xe5\x75\x39\x8e\x03\x6a\xea\xe0\x3e\xba\x13\x15\x3e\x59\x5f\x2d\xb2\x36\x55\x96\x2a\x24\xad\xf1\x58\xa3\x0a\xcd\x3f\x94\xff\xf6\x69\x87\xe9\x2c\xee\x4a\x57\xa8\xdc\x6c\xbe\xf0\xe8\xe0\x66\xf4\xee\xee\xee\x2e\xbb\xb9\xc9\xae\xaf\xc9\xc7\x8f\x6f\xaa\xea\x8d\xb5\x74\x7e\x6a\xd5\x2b\xa8\xf0\x99\x18\x06\xff\x6e\x84\x41\x7e\xe0\x7c\x79\xe8\xcb\xdd\xd7\x8b\xb5\xfd\xa0\xf8\xff\x57\x59\x54\xfc\x5c\x5d\x81\xf3\xd9\xeb\x57\xe4\xaa\xd4\x8d\xb1\x57\x17\xeb\x3c\x12\xf1\x1c\x95\xd3\xcb\xd9\x3b\x3f\xb0\x11\xe4\x38\xd1\x00\x3a\x62\x1d\xd7\xc9\xb9\x6a\x0e\xb5\x44\xb5\x43\xa9\x6b\xec\x69\xd9\x57\xb2\xa7\x23\x56\x20\xe4\x80\x83\x13\x12\x0e\x2c\xbc\x60\xcc\x20\x38\xe4\xef\xf6\x83\xb9\x5a\x02\xc3\x52\x4b\x8e\x66\x45\x3f\x9c\x80\x8f\xec\x8f\xb9\xf7\xe9\x3f\xc5\xf8\x7f\xc2\x2b\xd3\x95\x5f\x7d\xe7\xd2\xea\xff\xf3\x5c\xc6\x6a\x8a\xf3\x0c\xa7\xef\x4f\x9a\x24\x56\x4f\xce\xbd\xcc\xe9\xf8\x2a\x86\x76\xc2\x97\x94\x55\x8d\x3f\x67\xc4\x73\x81\xd3\xdb\xad\x0c\x31\xa5\x84\xda\x22\x25\xa5\xc1\xcd\x8a\xfe\x92\x8e\x84\x7f\xdc\x7e\xf9\x4c\x09\x18\x01\x19\x3e\xd6\xa0\xb8\x3f\xab\x6c\x40\x7a\xcb\xf0\x35\xb1\x60\x0f\x87\xc8\xe0\x71\xe4\x73\xa0\x40\x89\x3b\xa3\x55\x66\xc4\xb6\x1c\xe8\x30\x62\xc9\xf5\x83\x3a\x18\xe6\x4b\x28\x26\x4f\xba\x73\x4a\xbc\x73\xaf\xe8\xe4\x90\xd7\x27\x6a\x6f\x39\xac\x5b\x1b\x83\x43\xf7\x77\x52\xaf\x7d\xdc\xda\xe0\xf8\xd2\x0d\x90\x0c\x95\x43\xd3\x62\xae\x1b\xe7\xb4\xea\xa2\xdd\x36\xeb\x4a\x38\x9a\x16\x95\x4d\xa3\x84\xb0\x76\x8a\xac\x9d\xca\x6c\xc3\x18\x5a\x4b\x8b\xf7\x61\x4b\xe5\xcb\x88\xd3\x09\x9d\x2f\xfd\xaa\xf3\xbf\xf1\x7e\x55\x4c\x26\x3f\x7a\xd3\x3a\x46\x99\x74\xab\x68\x4d\x0c\xda\x46\xba\x4c\x30\xad\x48\xa7\xb2\xf8\x7e\x74\x3d\xa9\x15\xbb\xcf\x98\x30\x4c\xb6\x3d\xab\x4d\xba\x1e\xa3\x2a\xdd\xca\xc8\xa7\xeb\x37\xfd\x0d\xdd\x8f\xe6\xcf\x85\x29\xbf\x4f\xd7\xc7\x13\xe4\x24\x68\xf7\x33\x54\x6c\xc0\x81\xbc\x84\x88\x78\xfd\x3c\xc9\x03\x3e\x32\x09\x55\x08\xfb\x83\x6c\x7c\xc6\x87\xb6\x4c\x12\xee\xae\x06\x15\x47\x23\xd4\x96\x6c\x40\x48\xe4\x8b\x54\xf1\x28\x82\x27\x0a\x8d\xd1\xc6\x9f\x66\x7f\x9a\x9d\x80\xe4\xd9\x39\xbb\xc2\x7e\xf8\xcb\x23\x4b\x0d\x5c\xa8\xed\x25\xca\x1c\xf7\xf6\x30\x6d\x83\x1b\x83\xb6\xf4\xaf\xb6\x16\x6a\xa0\xca\x21\xdb\x7f\x03\x00\x00\xff\xff\x58\xf2\xce\x4e\xba\x10\x00\x00")
func templatesSilenceHtmlBytes() ([]byte, error) {
return bindataRead(