This commit is contained in:
Flip 2016-11-29 22:11:59 +00:00 committed by GitHub
commit 0f114dc27e
6 changed files with 19 additions and 1 deletions

View File

@ -240,6 +240,12 @@ Site changes
"<%= pubkey %>"
"</div>"
- There are often problems when you have to send the pubkey via Email to the community and have no internet connection. Now you can display a QR-Code to register the Node via you phone::
"<div id=\"qrdiv\" value=\"mailto:keys@entenhausen.freifunk.net?&amp;subject=<%=hostname%>&amp;body=Hostname%3A%20<%=hostname%>%0D%0AKey%3A%20<%=pubkey%>\">"
"<canvas id=\"qrcanv\" }=\"\"></canvas>"
"</div>"
Internals
~~~~~~~~~

View File

@ -30,6 +30,9 @@ msgstr ""
" <br/>"
"<%= pubkey %>"
"</div>"
"<div id=\"qrdiv\" value=\"mailto:keys@entenhausen.freifunk.net?&amp;subject=<%=hostname%>&amp;body=Hostname%3A%20<%=hostname%>%0D%0AKey%3A%20<%=pubkey%>\">"
"<canvas id=\"qrcanv\" }=\"\"></canvas>"
"</div>"
msgid "gluon-config-mode:reboot"
msgstr ""

View File

@ -28,7 +28,9 @@ msgstr ""
" <br/>"
"<%= pubkey %>"
"</div>"
"<div id=\"qrdiv\" value=\"mailto:keys@entenhausen.freifunk.net?&amp;subject=<%=hostname%>&amp;body=Hostname%3A%20<%=hostname%>%0D%0AKey%3A%20<%=pubkey%>\">"
"<canvas id=\"qrcanv\" }=\"\"></canvas>"
"</div>"
msgid "gluon-config-mode:reboot"
msgstr ""

View File

@ -30,6 +30,9 @@ msgstr ""
" <br/>"
"<%= pubkey %>"
"</div>"
"<div id=\"qrdiv\" value=\"mailto:keys@entenhausen.freifunk.net?&amp;subject=<%=hostname%>&amp;body=Hostname%3A%20<%=hostname%>%0D%0AKey%3A%20<%=pubkey%>\">"
"<canvas id=\"qrcanv\" }=\"\"></canvas>"
"</div>"
msgid "gluon-config-mode:reboot"
msgstr ""

View File

@ -5,6 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=escape(hostname)%> is rebooting</title>
<link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
<script src="<%=media%>/qrcode.js"></script>
</head>
<body>
<div id="maincontainer">
@ -14,4 +15,5 @@
</div>
</div>
</body>
<script> if(document.getElementById("qrdiv")) {doqr();}</script>
</html>

File diff suppressed because one or more lines are too long