From 599f481d5815a33caac7cd7601eb1114e050905e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 5 May 2021 17:37:47 +0300 Subject: [PATCH] Set maxlength on input fields in the Filtering Rules dialog --- templates/front/filtering_rules_modal.html | 6 ++++-- templates/front/update_name_modal.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/front/filtering_rules_modal.html b/templates/front/filtering_rules_modal.html index cb6a9e6a..3e068fda 100644 --- a/templates/front/filtering_rules_modal.html +++ b/templates/front/filtering_rules_modal.html @@ -67,9 +67,10 @@ + class="form-control filter-by-subject" /> Comma-separated list of keywords. If Subject contains any of the keywords, treat it as "success". @@ -84,9 +85,10 @@ + class="form-control filter-by-subject" /> Comma-separated list of keywords. If Subject contains any of the keywords, treat it as "failure". diff --git a/templates/front/update_name_modal.html b/templates/front/update_name_modal.html index c38e2ea3..faf533d9 100644 --- a/templates/front/update_name_modal.html +++ b/templates/front/update_name_modal.html @@ -24,7 +24,7 @@ maxlength="100" value="{{ check.name }}" placeholder="unnamed" - class="input-name form-control" /> + class="form-control" /> Give this check a human-friendly name,