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
|
<input
|
||||||
name="subject"
|
name="subject"
|
||||||
type="text"
|
type="text"
|
||||||
|
maxlength="100"
|
||||||
value="{{ check.subject }}"
|
value="{{ check.subject }}"
|
||||||
{% if not check.subject and not check.subject_fail %}disabled{% endif %}
|
{% 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">
|
<span class="help-block">
|
||||||
Comma-separated list of keywords. If Subject contains
|
Comma-separated list of keywords. If Subject contains
|
||||||
any of the keywords, treat it as "success".
|
any of the keywords, treat it as "success".
|
||||||
@ -84,9 +85,10 @@
|
|||||||
<input
|
<input
|
||||||
name="subject_fail"
|
name="subject_fail"
|
||||||
type="text"
|
type="text"
|
||||||
|
maxlength="100"
|
||||||
value="{{ check.subject_fail }}"
|
value="{{ check.subject_fail }}"
|
||||||
{% if not check.subject and not check.subject_fail %}disabled{% endif %}
|
{% 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">
|
<span class="help-block">
|
||||||
Comma-separated list of keywords. If Subject contains
|
Comma-separated list of keywords. If Subject contains
|
||||||
any of the keywords, treat it as "failure".
|
any of the keywords, treat it as "failure".
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
maxlength="100"
|
maxlength="100"
|
||||||
value="{{ check.name }}"
|
value="{{ check.name }}"
|
||||||
placeholder="unnamed"
|
placeholder="unnamed"
|
||||||
class="input-name form-control" />
|
class="form-control" />
|
||||||
|
|
||||||
<span class="help-block">
|
<span class="help-block">
|
||||||
Give this check a human-friendly name,
|
Give this check a human-friendly name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user