Selaa lähdekoodia

Revert "Bail out from the qrcode thing"

This reverts commit 8a5bf30adc.
Use post-boot ip #
master
The Dod 1 vuosi sitten
vanhempi
commit
e5fd6b9ae1
7 muutettua tiedostoa jossa 66 lisäystä ja 0 poistoa
  1. 1
    0
      logs.tmpl
  2. 1
    0
      logs/index.html
  3. 64
    0
      logs/lan-help.html
  4. BIN
      logs/lan-help.png
  5. BIN
      logs/qrlogserver.png
  6. BIN
      logs/qrwifi.png
  7. BIN
      screenshot-logs.jpg

+ 1
- 0
logs.tmpl Näytä tiedosto

@@ -40,6 +40,7 @@
40 40
             <div class="col-12">
41 41
                 <div class="alert alert-info">
42 42
                     <ul class="nav nav-justified">
43
+                        <li><a target="_blank" href="lan-help.html"><span class="glyphicon glyphicon-qrcode" aria-hidden="true"></span> Connection help</a></li>
43 44
                         <li><a target="_blank" href="https://is.gd/doctorkernel"><span class="glyphicon glyphicon-file" aria-hidden="true"></span> Source</a></li>
44 45
                         <li><button class="btn btn-primary form-control" onclick="location.reload(true)"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Refresh</a></li>
45 46
                     </ul>

+ 1
- 0
logs/index.html Näytä tiedosto

@@ -59,6 +59,7 @@
59 59
             <div class="col-12">
60 60
                 <div class="alert alert-info">
61 61
                     <ul class="nav nav-justified">
62
+                        <li><a target="_blank" href="lan-help.html"><span class="glyphicon glyphicon-qrcode" aria-hidden="true"></span> Connection help</a></li>
62 63
                         <li><a target="_blank" href="https://is.gd/doctorkernel"><span class="glyphicon glyphicon-file" aria-hidden="true"></span> Source</a></li>
63 64
                         <li><button class="btn btn-primary form-control" onclick="location.reload(true)"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Refresh</a></li>
64 65
                     </ul>

+ 64
- 0
logs/lan-help.html Näytä tiedosto

@@ -0,0 +1,64 @@
1
+<!doctype html>
2
+<html lang="en">
3
+
4
+<head>
5
+    <meta charset="utf-8">
6
+    <meta name="viewport" content="width=device-width, initial-scale=1">
7
+    <title>Connect to Doctor Kernel's WWW server over LAN</title>
8
+    <link href="css/bootstrap.min.css" rel="stylesheet">
9
+    <style>
10
+    .center-block {
11
+        display: block;
12
+        margin-left: auto;
13
+        margin-right: auto;
14
+    }
15
+    </style>
16
+</head>
17
+
18
+<body style="background-color:white">
19
+    <div class="container">
20
+        <div class="row">
21
+            <div class="col-12">
22
+                <div class="jumbotron text-center" style="background-color:#000084">
23
+                    <br/>
24
+                    <h1>Doctor Kernel's session logs</h1>
25
+                    <h3>How to connect via WWW over LAN</h3>
26
+                </div>
27
+                <div class="alert alert-danger text-center" style="background-color:white">
28
+                    <h4>*** CONFIDENTIAL ***</h4>
29
+                    <p>
30
+                        This service provides
31
+                        you &mdash; the patient &mdash; with
32
+                        access to <strong>your own</strong> session logs.
33
+                        It is unethical to access logs of other patients
34
+                        and you are <strong>firmly</strong> requested
35
+                        <strong>not</strong> to do so.
36
+                    </p>
37
+                </div>
38
+            </div>
39
+        </div>
40
+        <div class="row">
41
+            <div class="col-md-6">
42
+                <div class="alert alert-info text-center">
43
+                    <h4><span class="badge">1</span> First, connect to the <code>doctor_kernel</code> WiFi network with the password <code>daemonthedog</code><h4>
44
+                    <img class="img-responsive center-block" style="marginalt="WiFi QR code" src="qrwifi.png" />
45
+                </div>
46
+            </div>
47
+            <div class="col-md-6">
48
+                <div class="alert alert-info text-center">
49
+                    <h4><span class="badge">2</span> You can then use your browser to connect to the <code>http://192.168.164.94:8000</code> WWW server<h4>
50
+                    <img class="img-responsive center-block" style="marginalt="WWW server QR code" src="qrlogserver.png" />
51
+                </div>
52
+            </div>
53
+        </div>
54
+        <div class="row">
55
+            <div class="col-12">
56
+                <div class="alert alert-warning text-center">*** VERTRAULICH ***</div>
57
+            </div>
58
+        </div>
59
+    </div>
60
+    <script src="js/bootstrap.min.js"></script>
61
+
62
+</body>
63
+
64
+</html>

BIN
logs/lan-help.png Näytä tiedosto


BIN
logs/qrlogserver.png Näytä tiedosto


BIN
logs/qrwifi.png Näytä tiedosto


BIN
screenshot-logs.jpg Näytä tiedosto


Loading…
Peruuta
Tallenna