add temp ssbplug-phoenix loader index.html

This commit is contained in:
Paul Frazee 2015-06-24 21:23:58 -05:00
parent fe030cb0e0
commit 8a0c9db0fd
2 changed files with 27 additions and 2 deletions

26
app/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Scuttlebutt</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/png" href="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/img/icon.png"/>
<link rel="stylesheet" type="text/css" href="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/css/home.css">
<link rel="stylesheet" type="text/css" href="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/css/sweet-alert.css">
</head>
<body>
<div id="app-status"></div>
<div id="please-wait">
<div class="spinner">
<div class="cube1"></div>
<div class="cube2"></div>
</div>
</div>
<div id="page-nav"></div>
<div id="page-container"></div>
<script src="http://localhost:8008/manifest.js"></script>
<script src="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/js/sweet-alert.js"></script>
<script src="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/js/canvas-to-blob.js"></script>
<script src="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/js/sigma.min.js"></script>
<script src="../node_modules/scuttlebot/node_modules/ssbplug-phoenix/js/home.js"></script>
</body>
</html>

View File

@ -19,9 +19,8 @@ app.on('ready', function ready () {
require('protocol').registerProtocol('ext', require('./lib/ext-protocol')(config))
// open the web app
// shell.openExternal('http://localhost:8008')
mainWindow = new BrowserWindow({width: 1000, height: 720})
mainWindow.loadUrl('http://localhost:8008')
mainWindow.loadUrl('file://' + __dirname + '/index.html')
mainWindow.on('closed', function() { mainWindow = null })
// setup menu