Browse Source
Add maxlength attribute to HTML input=text elements. Fixes #225
pull/226/head
Pēteris Caune
6 years ago
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
3 changed files with
4 additions and
0 deletions
-
CHANGELOG.md
-
templates/front/channels.html
-
templates/front/update_name_modal.html
|
|
@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. |
|
|
|
|
|
|
|
### Improvements |
|
|
|
- Add the "desc" field (check's description) to API responses |
|
|
|
- Add maxlength attribute to HTML input=text elements |
|
|
|
|
|
|
|
### Bug Fixes |
|
|
|
- Fix refreshing of the checks page filtered by tags (#221) |
|
|
|
|
|
@ -358,6 +358,7 @@ |
|
|
|
<input |
|
|
|
name="name" |
|
|
|
type="text" |
|
|
|
maxlength="100" |
|
|
|
value="{{ ch.name }}" |
|
|
|
placeholder="{{ ch }}" |
|
|
|
class="input-name form-control" /> |
|
|
|
|
|
@ -21,6 +21,7 @@ |
|
|
|
id="update-name-input" |
|
|
|
name="name" |
|
|
|
type="text" |
|
|
|
maxlength="100" |
|
|
|
value="{{ check.name }}" |
|
|
|
placeholder="unnamed" |
|
|
|
class="input-name form-control" /> |
|
|
@ -41,6 +42,7 @@ |
|
|
|
id="update-tags-input" |
|
|
|
name="tags" |
|
|
|
type="text" |
|
|
|
maxlength="500" |
|
|
|
value="{{ check.tags }}" |
|
|
|
placeholder="production www" |
|
|
|
class="form-control" /> |
|
|
|