aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-24 07:54:49 +0100
committercedricbonhomme <devnull@localhost>2010-11-24 07:54:49 +0100
commit727ae7a7e54f75c720e02ef33b19658694b6bf0e (patch)
tree8eb4ad1baf59da9ce7e877803da8bd3fe42d3d26
parentAdded return to epub() function. (diff)
downloadnewspipe-727ae7a7e54f75c720e02ef33b19658694b6bf0e.tar.gz
newspipe-727ae7a7e54f75c720e02ef33b19658694b6bf0e.tar.bz2
newspipe-727ae7a7e54f75c720e02ef33b19658694b6bf0e.zip
Added placeholder for HTML input.
-rwxr-xr-xpyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 9e7f1860..e96b6d35 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="Search" maxlength='1024' autofocus></form>\n"""
+ html += """<form method=get action="/q/"><input type="search" name="querystring" value="" placeholder="Search articles" maxlength='1024'></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" value="" maxlength='1024' autofocus>\n<input
+ html += """<form method=get action="/add_feed/"><input type="url" name="url" placeholder="URL of a site" maxlength='1024'>\n<input
type="submit" value="OK"></form>\n"""
if self.articles:
bgstack15