forked from hoffmabc/OpenBazaar-Client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
58 lines (54 loc) · 2.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html id="ov1">
<head>
<title>OpenBazaar</title>
<link href="css/ionicons.min.css" rel="stylesheet">
<link href="css/jquery.mCustomScrollbar.min.css" rel="stylesheet" />
<link href="css/chosen.css" rel="stylesheet">
<link href="css/colpick.css" rel="stylesheet">
<link href="css/obBase.css" rel="stylesheet" id="obBase">
</head>
<body id="obBody">
<div id="overlay" class="hide fadeOut"></div>
<div id="pageNav" class="bar navBar navBar-main custCol-secondary"></div>
<div class="container custCol-background custCol-text" id="obContainer">
<div id="content"></div>
<div id="sideBar"></div>
</div>
<div id="obShadow"></div>
<div id="modalHolder"></div>
<div class="modal modal-navBlock modal-opaqueDark js-loadingModal">
<i class="ion-loop spinner textSize90px textOpacity50 fullCentered"></i>
</div>
<div class="modal modal-opaque hide js-loadingMessageModal">
<div class="modal-child modal-childMain">
<div class="btn-corner btn-cornerTR js-closeIndexModal">
<h2 class="ion-close-circled"></h2>
</div>
<h1 class="txt-center rowTop20"><i class="ion-loop spinner"></i> Loading...</h1>
<p class="txt-center js-indexLoadingMsg1"></p>
<p class="txt-center js-indexLoadingMsg2"></p>
<p class="txt-center js-indexLoadingMsg3"></p>
<h2 class="txt-center js-indexLoadingMsg4"></h2>
<div class="align-bottom row60 width100 positionWrapper">
<a class="btn btn-txt hCentered js-closeIndexApp">Close Application</a>
</div>
</div>
</div>
<!--TODO: modularize non-modular scripts -->
<script src="js/utils/list.min.js"></script>
<script>
var app = require('./js/app'),
remote = require('remote');
$('.js-closeIndexModal').on('click', function(){$(this).closest('.modal').addClass('fadeOut')});
$('.js-closeIndexApp').on('click', function(){
var win = remote.getCurrentWindow();
var process = remote.process;
if (process.platform != 'darwin') {
win.close();
} else {
win.hide();
}
});
</script>
</body>
</html>