forked from qiangck/weex-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
54 lines (50 loc) · 965 Bytes
/
about.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
html, body, #wrap {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: #e7e7e7;
font-family: "San Francisco", monospace, Menlo, Monaco, Consolas, "Courier New";
}
#wrap {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#logo {
width: 64px;
height: 64px;
display: block;
margin-bottom: 12px;
}
#name {
display: block;
font-weight: bold;
font-size: 14px;
margin-bottom: 8px;
}
#version {
display: block;
font-size: 12px;
}
</style>
</head>
<body>
<div id="wrap">
<img id="logo" src="assets/weex_icon.png" />
<label id="name">Weex IDE</label>
<label id="version"></label>
</div>
</body>
<script>
const pkg = require('./package.json');
document.querySelector('#version').innerText = `Version ${pkg.version}(beta)`;
</script>
</html>