feat(pos): add PIN pad login page with keyboard support and theming

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 01:32:53 +00:00
parent d3728789ec
commit e82b63892f
4 changed files with 231 additions and 0 deletions

View File

@@ -15,6 +15,16 @@ def create_app():
def health():
return {'status': 'ok'}
from flask import render_template, send_from_directory
@app.route('/pos/login')
def pos_login():
return render_template('login.html')
@app.route('/pos/static/<path:filename>')
def pos_static(filename):
return send_from_directory('static', filename)
return app
if __name__ == '__main__':