diff options
author | cedricbonhomme <devnull@localhost> | 2010-11-24 08:21:21 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-11-24 08:21:21 +0100 |
commit | 9012dde27bd4ca4c191df0e31578a9687e739fe0 (patch) | |
tree | c9fe65cb9b117983b23382815eae55765d30a1d2 | |
parent | Added placeholder for HTML input. (diff) | |
download | newspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.tar.gz newspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.tar.bz2 newspipe-9012dde27bd4ca4c191df0e31578a9687e739fe0.zip |
Input modification: autocomplete, maxlength.
-rwxr-xr-x | pyAggr3g470r.py | 4 |
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: |