forked from GithubBackups/healthchecks
Set maxlength on input fields in the Filtering Rules dialog
This commit is contained in:
parent
a36c326e32
commit
599f481d58
@ -67,9 +67,10 @@
|
||||
<input
|
||||
name="subject"
|
||||
type="text"
|
||||
maxlength="100"
|
||||
value="{{ check.subject }}"
|
||||
{% if not check.subject and not check.subject_fail %}disabled{% endif %}
|
||||
class="input-name form-control filter-by-subject" />
|
||||
class="form-control filter-by-subject" />
|
||||
<span class="help-block">
|
||||
Comma-separated list of keywords. If Subject contains
|
||||
any of the keywords, treat it as "success".
|
||||
@ -84,9 +85,10 @@
|
||||
<input
|
||||
name="subject_fail"
|
||||
type="text"
|
||||
maxlength="100"
|
||||
value="{{ check.subject_fail }}"
|
||||
{% if not check.subject and not check.subject_fail %}disabled{% endif %}
|
||||
class="input-name form-control filter-by-subject" />
|
||||
class="form-control filter-by-subject" />
|
||||
<span class="help-block">
|
||||
Comma-separated list of keywords. If Subject contains
|
||||
any of the keywords, treat it as "failure".
|
||||
|
@ -24,7 +24,7 @@
|
||||
maxlength="100"
|
||||
value="{{ check.name }}"
|
||||
placeholder="unnamed"
|
||||
class="input-name form-control" />
|
||||
class="form-control" />
|
||||
|
||||
<span class="help-block">
|
||||
Give this check a human-friendly name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user