forked from blockstrap/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.html
126 lines (116 loc) · 3.45 KB
/
tests.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name='apple-mobile-web-app-capable' content='yes'>
<link rel='apple-touch-icon' href='blockstrap/img/apple-touch-icon.png'>
<link rel='apple-touch-startup-image' href='blockstrap/img/apple-startup.png'>
<link href="blockstrap/img/apple-touch-icon-180x180.png" rel="icon" sizes="192x192" />
<meta name="msapplication-TileImage" content="blockstrap/img/apple-touch-icon-180x180.png"/>
<meta name="msapplication-TileColor" content="#ECECFB"/>
<link rel='shortcut icon' href='favicon.ico'>
<title>Blockstrap API Tests</title>
<style>
html, body {
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.bs.installing:before,
.bs.loading:before {
content: "";
text-align: center;
display: block;
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
color: #FFF;
z-index: 9999999;
}
.bs.installing:after,
.bs.loading:after {
content: attr(data-loading-content);
background: url(blockstrap/img/block-gif.gif) no-repeat;
display: block;
color: #FFF;
position: absolute;
position: fixed;
width: 300px;
height: 200px;
top: 50%;
left: 50%;
padding-top: 230px;
text-align: center;
margin: -100px 0 0 -150px;
z-index: 99999999;
}
.bs-widget {
display: inline-block;
position: relative;
width: 100%;
height: 100%;
float: left;
}
.bs-widget p.intro {
display: block;
position: relative;
top: 50%;
margin-top: -15px;
text-align: center;
}
</style>
<link href="themes/default/css/less.css" rel="stylesheet">
<link href="blockstrap/css/font-awesome.css" rel="stylesheet">
</head>
<body>
<!-- BLOCKSTRAP API -->
<div
id="blockstrap"
class="bs-widget bs loading"
data-test="true"
data-refresh="true"
data-install="false"
data-page_base="tests"
data-plugins="false"
data-bootstrap="[modals]"
data-skip_config="true"
data-loading-content="TESTING ALL SUPPORTED APIs - PLEASE WAIT WHILST WE GET THE RESULTS"
></div>
<!-- INCLUDE REQUIRED DEPENDENCIES MANUALLY -->
<script src="blockstrap/js/dependencies/jquery.min.js"></script>
<script src="blockstrap/js/dependencies/bootstrap.min.js"></script>
<script src="blockstrap/js/dependencies/crypto.js"></script>
<script src="blockstrap/js/dependencies/sha3.js"></script>
<script src="blockstrap/js/dependencies/bitcoinjs-lib.js"></script>
<script src="blockstrap/js/dependencies/mustache.js"></script>
<!-- INCLUDE REQUIRED THEME DEPENDENCIES MANUALLY -->
<script src="themes/default/js/dependencies/steps.js"></script>
<!-- INCLUDE BS FRAMEWORK -->
<script src="secrets.js"></script>
<script src="test-options.js"></script>
<script src="blockstrap/js/blockstrap.js"></script>
<!-- PLEASE NOTE YOU CAN NOW SET INSTALL TO FALSE IN OPTIONS -->
<!-- INCLUDE REQUIRED MODULES MANUALLY -->
<script src="blockstrap/js/modules/api.js"></script>
<script src="blockstrap/js/modules/buttons.js"></script>
<script src="blockstrap/js/modules/filters.js"></script>
<script src="blockstrap/js/modules/templates.js"></script>
<script>
$(document).ready(function()
{
$('#blockstrap-tests').blockstrap();
});
</script>
</body>
</html>