-
Notifications
You must be signed in to change notification settings - Fork 1
/
signature_panel.html
32 lines (29 loc) · 1.13 KB
/
signature_panel.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
<!DOCTYPE html>
<html lang="zh-Hant-TW">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, user-scalable=0">
<title>Signature Panel</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.css" />
<link rel="stylesheet" href="css/signature_panel.css" />
</head>
<body>
<div id="msg">請橫放手機</div>
<section id="description" class="horizontalCenter">
<div>
<span>Description</span>
<p>Please sign here...</p>
</div>
</section>
<section id="canvasArea" class="horizontalCenter">
<canvas id="mainCanvas" width="550" height="250"></canvas>
</section>
<section id="btnArea" class="horizontalCenter">
<button id="cleanCanvasBtn">清除</button>
<button id="getCanvasImgBtn" download="signature.png">確認</button>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script>
<script src="js/signature_panel.js"></script>
</body>
</html>