Debian Codegraph @

comitup_web/templates/confirm.html

raw
1 <!DOCTYPE html>
2 <html lang="en" class="uk-height-1-1">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>Comitup</title>
7 <link rel="icon" href="img/favicon.ico">
8 <!-- CSS FILES -->
9 <link rel="stylesheet" type="text/css" href="css/uikit.css">
10 <script src="js/blink.js"></script>
11 </head>
12 <body class="uk-height-1-1">
13 <div class="uk-flex uk-flex-center uk-flex-middle">
14 <div class="uk-position-bottom-center uk-position-small">
15 <span class="uk-text-small uk-text-muted">Comitup - Built with <a href="https://github.com/davesteele/comitup" title="Comitup" target="_blank" data-uk-tooltip>ComitUp</a></span>
16 </div>
17 <div class="uk-width-large uk-padding-small">
18 <div class="uk-width-1-1 uk-text-center">
19 <span class="" uk-icon="icon: world; ratio: 5"></span>
20 <p class="uk-text-large">Connect to Wifi</p>
21 </div>
22
23 <div class="uk-margin">
24 <div class="uk-width-1-1">
25 <p>
26 Press the Connect button to connect this device to {{ ssid }}. <br><br>
27
28 {% if mode == 'single' %}
29 This will terminate the current hotspot. Connect to {{ ssid }}.local for access.<br><br>
30
31 If the connection fails, this hotspot will be re-created.<br><br>
32 {% else %}
33 The hotspot will remain, but this web service will be terminated.<br><br>
34
35 If the connection fails, the web service will be restored.<br><br>
36 {% endif %}
37 </p>
38 </div>
39 </div>
40 <form action="/connect" method="POST">
41 <div class="uk-grid uk-grid-small">
42 <div class="uk-width-2-3">
43 <input type="hidden" name="ssid" value="{{ ssid_encoded }}">
44 <input class="uk-input" placeholder="Password (if required)" type="password" name="password">
45 </div>
46 <div class="uk-width-1-3">
47 <button type="submit" value="Connect" class="uk-button uk-button-primary uk-width-expand">Connect</button>
48 </div>
49 </div>
50 </form>
51 <div class="uk-margin">
52 <div class="uk-flex uk-flex-center">
53 {% if can_blink %}
54 <div>
55 <img src="img/ledoff.gif" id="ledimg">
56 </div>
57 <div>
58 <button onclick="blink()" class="uk-button uk-margin-left">Locate</button>
59 </div>
60 {% endif %}
61 </div>
62 </div>
63 </div>
64 </div>
65
66 <!-- JS FILES -->
67 <script src="js/uikit"></script>
68 <script src="js/uikit-icons"></script>