-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve webinterface #16
base: master
Are you sure you want to change the base?
Conversation
wifimgr.py
Outdated
</html> | ||
""" % dict(ssid=ssid) | ||
""".format(html_head, ssid) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here.
@@ -280,8 +372,7 @@ def start(port=80): | |||
client, addr = server_socket.accept() | |||
print('client connected from', addr) | |||
try: | |||
client.settimeout(5.0) | |||
|
|||
client.settimeout(15.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a comment here why such a long timeout is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fixed the timeout that some times occured on the not connected page.
<li> | ||
{ssid} | ||
</li> | ||
</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this valid html?: a li text /li /a
or should it be rather?: li a text /a /li
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a
is not display: block
( or similar ), so I see no problem.
@TilCreator hi there I'm trying to use this code, but I get |
I didn't touch these files for years, so sry, no clue |
This makes the web interface more mobile friendly and allows the input of custom SSIDs, so it is possible to connect to hidden WiFis.