summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-30 06:22:32 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-30 06:22:32 -0400
commit5b9b1669e8fccddddca7b41b95d29cb9a6565e20 (patch)
treec47062fc3f20bdb73da07ca48839c49e87f1c12f
parent6cc006c5d782ae540c2ff029e0cfa5fd6f006f7b (diff)
downloadgpsd-5b9b1669e8fccddddca7b41b95d29cb9a6565e20.tar.gz
More visual tightening.
-rw-r--r--www/gps_report.cgi.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/gps_report.cgi.in b/www/gps_report.cgi.in
index de85b625..7483b3d4 100644
--- a/www/gps_report.cgi.in
+++ b/www/gps_report.cgi.in
@@ -360,16 +360,16 @@ print "</tr></table>"
print '''
<p>If your device is USB, it probably uses a USB-to-serial adapter
chip. Try to find out what this is by looking at the output of
-<code>lsusb(1)</code>. Likely values are <code>PL2303</code>,
-<code>UC-232A</code>, <code>FTDI 8U232AM</code>, <code>Cypress
-M8</code> or <code>Silicon Labs CP2102</code>.</p>
+<code>lsusb(1)</code>.</p>
+'''
-<p><em>USB-to-serial chip:&nbsp;</em>
-<input type="text"
- name="usbchip"
- size="72"
- value="%(usbchip)s"></p>
+cline = '<td><input type="radio" name="interfaces" value="%s">%s</td>'
+print "<table border='1'><tr>"
+for ctype in ('PL2303', 'UC-232A', 'FTDI', 'Cypress M8', 'CP210x', 'Other'):
+ print cline % (ctype, ctype)
+print "</tr></table>"
+print '''
<hr>
<h2>GPSD compatibility</h2>