forked from PaddlePaddle/Paddle.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (91 loc) · 3.77 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>paddle web demo</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.demo-nav {
background-color: #2932e1;
color: #fff;
}
.paddle-demo-card {
margin-right: 0;
margin-left: 0;
background-color: #fff;
border: 1px solid #ddd;
}
.infobox {
background-color: #fff;
border-radius: 6px;
margin-bottom: 30px;
padding: 20px;
position: relative;
min-height: 350px;
box-sizing: border-box;
color: #707070;
}
#loading {
position: fixed;
top: 0;
left: 0;
z-index: 10;
width: 100vw;
height: 100vh;
line-height: 100vh;
background-color: rgba(0, 0, 0, .4);
color: #fff;
text-align: center;
font-size: 16px;
}
</style>
</head>
<body>
<header class="navbar navbar-static-top bs-docs-nav demo-nav">
<div class="container">
<div class="navbar-header">
<div class="navbar-brand">paddleJS Demo Page</div>
</div>
</div>
</header>
<div class="container">
<div class="col-xs-12">
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12 continfobox">
<div class="paddle-demo-card infobox text-center">
<div class="flip-container">
<div class="paddle-demo-block-wrapper">
<div class="h2">操作面板:</div><input type="file" id="uploadImg">
<p class="help-block">点击按钮,选择图片触发计算.</p>
<div class="paddle-demo-block-wrapper">
<img id="image" style="height: 100px" />
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12 continfobox">
<div class="paddle-demo-card infobox text-center">
<div class="flip-container">
<div class="paddle-demo-block-wrapper">
<div class="h2">预测结果:</div><div id="txt">...</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12 continfobox">
<div class="paddle-demo-card infobox text-center">
<div class="flip-container">
<div class="paddle-demo-block-wrapper">
<div class="h2">性能分析:</div><div id="all-performance-time">...</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="loading">loading...</div>
</body>
</html>