summaryrefslogtreecommitdiff
path: root/addons/hw_escpos
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2018-09-25 18:43:00 +0200
committerJosse Colpaert <jco@odoo.com>2018-09-25 23:01:40 +0200
commit8b957b7e85c297a3ac394535a10c477b1d3cbd0d (patch)
treef1c67a1e87afbed47a155179639bc21786b7324d /addons/hw_escpos
parent3d9ebb11b6e92083209c3e441ddea26022ec2f14 (diff)
[IMP] hw_*: updated web interface for IoT Box
We changed the naming of posbox to IoT Box everywhere and renewed the web interface using jinja2 templates in separate html files. A separate configuration for the server and the IoT Box name was added and it shows drivers for both pos and iot. The interface also needs a step to step wizard that is launched when the access point is active for simplified configuration. Thanks to qle and Deep Patel.
Diffstat (limited to 'addons/hw_escpos')
-rw-r--r--addons/hw_escpos/controllers/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/hw_escpos/controllers/main.py b/addons/hw_escpos/controllers/main.py
index 805d8388a8a..ea8b0fe6b74 100644
--- a/addons/hw_escpos/controllers/main.py
+++ b/addons/hw_escpos/controllers/main.py
@@ -212,17 +212,17 @@ class EscposDriver(Thread):
ips.append(conf.get('addr'))
eprint.text('\n\n')
eprint.set(align='center',type='b',height=2,width=2)
- eprint.text('PosBox Status\n')
+ eprint.text('IoTBox Status\n')
eprint.text('\n')
eprint.set(align='center')
if hosting_ap:
- eprint.text('Wireless network:\nPosbox\n\n')
+ eprint.text('Wireless network:\nIoTBox\n\n')
elif ssid:
eprint.text('Wireless network:\n' + ssid + '\n\n')
if len(ips) == 0:
- eprint.text('ERROR: Could not connect to LAN\n\nPlease check that the PosBox is correc-\ntly connected with a network cable,\n that the LAN is setup with DHCP, and\nthat network addresses are available')
+ eprint.text('ERROR: Could not connect to LAN\n\nPlease check that the IoTBox is correc-\ntly connected with a network cable,\n that the LAN is setup with DHCP, and\nthat network addresses are available')
elif len(ips) == 1:
eprint.text('IP Address:\n'+ips[0]+'\n')
else: