Skip to content

Instantly share code, notes, and snippets.

@jojomoore2007
jojomoore2007 / index.html
Created Oct 5, 2018
Electron Fiddle Gist
View index.html
<!DOCTYPE html>
<html>
<title>kind</title>
<!-- All of the Node.js APIs are available in this renderer process. -->
<div style="height: 100%; background-color: grey; border: 1px solid gray; border-radius: 10px; position: fixed; top: 10%; left: 10%; right: 10%; height: 80%; font-family: monospace; color: white;"><h1 align="center">Hello!</h1><p align="center">Kind webapp ready.<br>Details:<br><br>A Node.js <script>document.write(process.versions.node)</script> webapp<br>Running a copy of Chromium <script>document.write(process.versions.chrome)</script><br>Powered by Electron <script>document.write(process.versions.electron)</script> and Electron Forge for testing</p><br><h2 align="center"><a href="https://bit.ly/spreadKindness" style="color: white;">Go</a></h2></div>
</html>
@jojomoore2007
jojomoore2007 / index.html
Created Oct 4, 2018
Electron Fiddle Gist
View index.html
<!DOCTYPE html>
<html>
<title>kind</title>
<!-- All of the Node.js APIs are available in this renderer process. -->
<div style="height: 100%; background-color: grey; border: 1px solid gray; border-radius: 10px; position: fixed; top: 1%; bottom: 1%; left: 1%; right: 1%;"><p style="font-family: monospace; color: white; position: fixed; top: 25%; bottom: 25% left: 25%; right: 25%;" align="center">Node.js <script>document.write(process.versions.node)</script> | Chromium <script>document.write(process.versions.chrome)</script> | Electron <script>document.write(process.versions.electron)</script></p></div>
</html>
@jojomoore2007
jojomoore2007 / index.html
Created Oct 4, 2018
Electron Fiddle Gist
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test App</title>
</head>
<body>
<!-- All of the Node.js APIs are available in this renderer process. -->
<div style="height: 20px; background-color: grey; border: 1px solid gray; border-radius: 10px;"><p style="font-family: monospace; color: white; position: absolute; top: 0px; left: 10%; right: 10%;" align="center">Running on: Node.js <script>document.write(process.versions.node)</script> | Chromium <script>document.write(process.versions.chrome)</script> | Electron <script>document.write(process.versions.electron)</script></p></div>
@jojomoore2007
jojomoore2007 / index.html
Created Oct 4, 2018
Electron Fiddle Gist
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test App</title>
</head>
<body>
<!-- All of the Node.js APIs are available in this renderer process. -->
<div style="height: 20px; background-color: grey; border: 1px solid gray; border-radius: 10px;"><p style="font-family: monospace; color: white; position: absolute; top: 0px; left: 10%; right: 10%;" align="center">Running on: Node.js <script>document.write(process.versions.node)</script> | Chromium <script>document.write(process.versions.chrome)</script> | Electron <script>document.write(process.versions.electron)</script></p></div>