mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
97 lines
2.7 KiB
HTML
97 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
|
|
|
<link rel="stylesheet" href="../../node_modules/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Lato';
|
|
src: url('../../Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
|
|
url('../../Lato-Regular.woff') format('woff'), /* Modern Browsers */
|
|
url('../../Lato-Regular.ttf') format('truetype');
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
#loadingCover{
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
box-sizing: border-box;
|
|
padding: 65px 0;
|
|
font-family: sans-serif;
|
|
}
|
|
#loadingCover img{
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
#loadingCover .message{
|
|
font-size: 45px;
|
|
text-align: center;
|
|
line-height: 1.6;
|
|
font-weight: 200;
|
|
color: #404849;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="loadingCover">
|
|
<img src="resources/favicon-230x230.png">
|
|
<div class='message'>Loading...</div>
|
|
</div>
|
|
|
|
<div id="content"></div>
|
|
|
|
<script>
|
|
if (!Object.assign) {
|
|
Object.defineProperty(Object, 'assign', {
|
|
enumerable: false,
|
|
configurable: true,
|
|
writable: true,
|
|
value: function(target) {
|
|
'use strict';
|
|
if (target === undefined || target === null) {
|
|
throw new TypeError('Cannot convert first argument to object');
|
|
}
|
|
|
|
var to = Object(target);
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var nextSource = arguments[i];
|
|
if (nextSource === undefined || nextSource === null) {
|
|
continue;
|
|
}
|
|
nextSource = Object(nextSource);
|
|
|
|
var keysArray = Object.keys(Object(nextSource));
|
|
for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
|
|
var nextKey = keysArray[nextIndex];
|
|
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
|
|
if (desc !== undefined && desc.enumerable) {
|
|
to[nextKey] = nextSource[nextKey];
|
|
}
|
|
}
|
|
}
|
|
return to;
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
<script src="../ace/src-min/ace.js"></script>
|
|
<script>
|
|
|
|
var version = require('remote').getGlobal('version')
|
|
document.title = 'Boost ' + ((version == null || version.length === 0) ? 'DEV version' : 'v' + version)
|
|
require('electron-stylus')(__dirname + '/../styles/main/index.styl')
|
|
require('node-jsx').install({ harmony: true, extension: '.jsx' })
|
|
require('./index.jsx')
|
|
</script>
|
|
</body>
|
|
</html>
|