-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
109 lines (107 loc) · 3.94 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title>Basic Canvas Paint | jQuery Plugin</title>
<link type="text/css" rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link type="text/css" rel="stylesheet" href="resources/css/bcPaint.css" />
<link type="text/css" rel="stylesheet" href="resources/css/demo-page.css" />
<link type="text/css" rel="stylesheet" href="resources/css/bcPaint.mobile.css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="resources/js/bcPaint.js"></script>
</head>
<body>
<div class="jumbotron text-center bg-dark text-white">
<h1>Basic Canvas Paint</h1>
<p class="lead">A jQuery based plugin example for drawing, e-signing and exporting</p>
</div>
<section class="features">
<div class="container">
<div class="row pt-5 pb-5 text-center text-secondary">
<div class="col-sm-12 col-md-12">
Want to create a painting app or just curious on how-to drap in a webpage using JavaScript, then
this example is for you to start with.
This example is quite simple and basic, however you can be creative as you like. Enjoy (:
</div>
</div>
<div class="row pt-3 pb-5 text-center bg-light rounded features">
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fas fa-palette"></i>
<h4 class="pt-3">Color Palette</h4>
<p class="text-secondary">Select from various color or add your color</p>
</div>
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fas fa-pencil-ruler"></i>
<h4 class="pt-3">Free Hand Drawing</h4>
<p class="text-secondary">Draw anything within drawing pane</p>
</div>
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fas fa-signature"></i>
<h4 class="pt-3">E-Sign</h4>
<p class="text-secondary">It also can be used as e-signature for your online apps</p>
</div>
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fas fa-download"></i>
<h4 class="pt-3">Export</h4>
<p class="text-secondary">Export your drawnings into PNG image</p>
</div>
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fas fa-mobile-alt"></i>
<h4 class="pt-3">Mobile Support</h4>
<p class="text-secondary">It is mobile friendly, so you can use it on your tablet or smartphone</p>
</div>
<div class="col-12 col-sm-6 col-md-4 mt-5">
<i class="fab fa-safari"></i>
<h4 class="pt-3">Cross-Browser Support</h4>
<p class="text-secondary">Supported by all modern browser</p>
</div>
</div>
</div>
</section>
<section class="example">
<div class="container mt-5 mb-5">
<div class="row">
<div class="col-xs-12 col-sm-12 cols-md-12 text-center">
<h3>Try it Out</h3>
</div>
</div>
<div id="bcPaint"></div>
<script type="text/javascript">
$('#bcPaint').bcPaint();
</script>
</div>
</section>
<section class="snippet bg-light">
<div class="container mt-5 pt-3 pb-3">
<div class="row">
<div class="col-xs-12 col-sm-12 cols-md-12 text-center">
<h3>Code Snippet</h3>
</div>
<code>
<pre class="text-secondary pt-4">
<div id="bcPaint"></div>
<script type="text/javascript">
$('#bcPaint').bcPaint();
</script>
</pre>
</code>
</div>
</div>
</section>
<section class="footer bg-dark">
<div class="container pt-3 pb-3">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 text-center">
<a href="https://github.com/bobkovalex/Basic-Canvas-Paint" class="text-white"><i class="fab fa-github"></i></a>
</div>
</div>
</div>
</section>
<section class="copyrights text-secondary">
<div class="col-xs-12 col-sm-12 col-md-12 text-center pt-2 pb-2">
© Alexandre Bobkov 2018-2021. All Rights Reserved.
</div>
</section>
</html>