From: Banana Date: Mon, 10 May 2021 20:44:47 +0000 (+0200) Subject: adding input char limit and some js to show it X-Git-Tag: 1.1~6 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=c6a1236bbdc7d91a96815f2dec7b7cbd6a35ca89;p=bibliotheca-php.git adding input char limit and some js to show it --- diff --git a/CHANGELOG b/CHANGELOG index 034cf14..0693037 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -36,6 +36,7 @@ * After adding an entry the option to view or edit the entry is now available * Added game info tool. * Added new fields for a game collection + * input and textarea do have a maxlength now. JS used to display the remaining chars 1.0 - Castle 20210106 * First usable version diff --git a/TODO b/TODO index b3ff757..3720f2c 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,3 @@ -* input length check and display - * stats overview page. amount of entries. file / cache and db storage. Version info and where to find it. * User and groupmanagement: Check where a user or group is used! * Better error handling and display while adding / update and delete diff --git a/webclient/view/default/entry/field-text3-description.html b/webclient/view/default/entry/field-text3-description.html index 065ab0f..b5def6a 100644 --- a/webclient/view/default/entry/field-text3-description.html +++ b/webclient/view/default/entry/field-text3-description.html @@ -1 +1 @@ -

+

diff --git a/webclient/view/default/entry/field-textarea-content.html b/webclient/view/default/entry/field-textarea-content.html index 6e5e340..75e8432 100644 --- a/webclient/view/default/entry/field-textarea-content.html +++ b/webclient/view/default/entry/field-textarea-content.html @@ -1 +1 @@ -

+

diff --git a/webclient/view/default/entry/field-textarea.html b/webclient/view/default/entry/field-textarea.html index 7cd22c2..49638c4 100644 --- a/webclient/view/default/entry/field-textarea.html +++ b/webclient/view/default/entry/field-textarea.html @@ -1 +1 @@ -

:

+

:

diff --git a/webclient/view/default/manageentry/field-number.html b/webclient/view/default/manageentry/field-number.html index 1148a10..306f0e6 100644 --- a/webclient/view/default/manageentry/field-number.html +++ b/webclient/view/default/manageentry/field-number.html @@ -1,7 +1,8 @@
- diff --git a/webclient/view/default/manageentry/field-text.html b/webclient/view/default/manageentry/field-text.html index 0c91894..da37bd5 100644 --- a/webclient/view/default/manageentry/field-text.html +++ b/webclient/view/default/manageentry/field-text.html @@ -4,7 +4,9 @@ + +