pincode
Showing
File added
static/js/pincode.js
0 → 100644
templates/.index.html.swp
0 → 100644
File added
templates/pincode.html
0 → 100644
| {% extends "bootstrap/base.html" %} | ||
| {% block head %} | ||
| {{super()}} | ||
| <!-- bootstrap --> | ||
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" | ||
| integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
| <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" | ||
| integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" | ||
| crossorigin="anonymous"></script> | ||
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" | ||
| integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" | ||
| crossorigin="anonymous"></script> | ||
| <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" | ||
| integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" | ||
| crossorigin="anonymous"></script> | ||
| <!-- keyboard css--> | ||
| <link rel="stylesheet" href="{{url_for('static',filename='css/keyboard.css')}}"> | ||
| <link rel="stylesheet" href="{{url_for('static',filename='css/main.css')}}"> | ||
| <script> | ||
| $(document).ready(function () { | ||
| document.getElementById("keyboard").style.visibility = 'visible'; | ||
| }); | ||
| </script> | ||
| {% endblock head %} | ||
| {% block content%} | ||
| <body class="bg-light m-5"> | ||
| <h2 class="text-muted text-center m-5">PinCode Setup</h2> | ||
| <center> | ||
| <div class="col align-items-center m-5 col-8"> | ||
| <div class="col-10 inline "> | ||
| {% for i in range(6) %} | ||
| <input type="password" class="form-control input" id="slot-{{loop.index}}" maxlength="1"> | ||
| {% endfor %} | ||
| </div> | ||
| <div class="col-2 inline"> | ||
| <button type="submit" class="btn btn-primary" id="conn" style="height:50px">Connect</button> | ||
| </div> | ||
| </div> | ||
| <div class="row align-items-center"> | ||
| <div class="col m-5 inline"> | ||
| <div class="simple-keyboard" id="keyboard" style="visibility: hidden"></div> | ||
| </div> | ||
| </div> | ||
| </center> | ||
| <script src="{{url_for('static', filename='js/keyboard.min.js')}}"></script> | ||
| <script src="{{url_for('static', filename='js/pincode.js')}}"></script> | ||
| <script> | ||
| </script> | ||
| <!-- keyboard js--> | ||
| </body> | ||
| {% block footer %} | ||
| <footer class="footer" > | ||
| <div class="footer navbar-fixed-bottom text-center"> | ||
| <p class="text-muted">© NTUST PRLAB</p> | ||
| </div> | ||
| </footer> | ||
| {% endblock footer %} | ||
| {% endblock %} | ||
templates/t.html
0 → 100644
wifi_utils.py
0 → 100644
Please register or sign in to comment