aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-24 08:21:21 +0100
committercedricbonhomme <devnull@localhost>2010-11-24 08:21:21 +0100
commit9012dde27bd4ca4c191df0e31578a9687e739fe0 (patch)
treec9fe65cb9b117983b23382815eae55765d30a1d2 /pyAggr3g470r.py
parentAdded placeholder for HTML input. (diff)
downloadnewspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.tar.gz
newspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.tar.bz2
newspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.zip
Input modification: autocomplete, maxlength.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index e96b6d35..9b9dae86 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -216,7 +216,7 @@ class Root:
Create the right menu.
"""
html = """<div class="right inner">\n"""
- html += """<form method=get action="/q/"><input type="search" name="querystring" value="" placeholder="Search articles" maxlength='1024'></form>\n"""
+ html += """<form method=get action="/q/"><input type="search" name="querystring" value="" placeholder="Search articles" maxlength=2048 autocomplete="on"></form>\n"""
html += "<hr />\n"
# insert the list of feeds in the menu
html += self.create_list_of_feeds()
@@ -255,7 +255,7 @@ class Root:
html += htmlnav
html += """<div class="left inner">\n"""
html += "<h1>Add Feeds</h1>\n"
- html += """<form method=get action="/add_feed/"><input type="url" name="url" placeholder="URL of a site" maxlength='1024'>\n<input
+ html += """<form method=get action="/add_feed/"><input type="url" name="url" placeholder="URL of a site" maxlength=2048 autocomplete="off">\n<input
type="submit" value="OK"></form>\n"""
if self.articles:
bgstack15