diff options
-rwxr-xr-x | web/add_msg.sh | 4 | ||||
-rw-r--r-- | web/index.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web/add_msg.sh b/web/add_msg.sh index a956335..764762f 100755 --- a/web/add_msg.sh +++ b/web/add_msg.sh @@ -32,12 +32,12 @@ echo "<!DOCTYPE html> </head> <h3>Thank you for your message</h3> <p>$(cat<<EOFIKA -$MESSAGE +${MESSAGE:0:60} EOFIKA ) </p> </html>" cat >/tmp/turris-lcd <<EOFIKA -$MESSAGE +${MESSAGE:0:60} EOFIKA diff --git a/web/index.html b/web/index.html index 1e3de3b..f6f24b0 100644 --- a/web/index.html +++ b/web/index.html @@ -5,12 +5,12 @@ </head> <body> <form action="./add_msg.sh" method="post"> - <input type="text" name="message"><br> + <input type="text" name="message">max. 60 characters<br> <input type="submit" value="Submit"> </form> <br> <sup> - Only ASCII characters are supported! + Only ASCII characters are supported! No special characters. </sup> </body> </html> |