-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·276 lines (252 loc) · 14.1 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Signature Generator</title>
<meta name="description" content="Signature Maker is a free web based tool, that helps you create your handwritten digital signature, within few seconds. It's simple and easy to use. You don't need to download or install any plugins/software, it's based on HTML5, so a modern browser is all you need." />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<link href="css/animate.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/ionic.css" />
<link rel="stylesheet" href="css/styles.css" />
<link href='http://fonts.googleapis.com/css?family=Pacifico|Dancing+Script|Satisfy|Yellowtail|Calligraffitti|Sacramento|Dawning+of+a+New+Day|The+Girl+Next+Door|La+Belle+Aurore|Grand+Hotel' rel='stylesheet' type='text/css'>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.js"></script>
<script src="js/signature_pad.min.js" type="text/javascript"></script>
<script src="js/tinycolor-0.9.15.min.js" type="text/javascript"></script>
<script src="js/pick-a-color-1.2.3.min.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/saveLocal.js" type="text/javascript"></script>
<script src="js/scripts.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.5/angular.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/alexk111/ngImgCrop/master/compile/minified/ng-img-crop.js"></script>
</head>
<body ng-app="app">
<nav id="topNav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="index.html"> Signature Generator</a>
</div>
<div class="navbar-collapse collapse" id="bs-navbar">
<ul class="nav navbar-nav">
<li>
<a class="page-scroll" href="index.html">Home</a>
</li>
<li>
<a class="page-scroll" href="#one">Create</a>
</li>
<li>
<a class="page-scroll" href="generate.html">Generate</a>
</li>
<li>
<a class="page-scroll" href="email.html">Email Sig</a>
</li>
<!-- <li>
<a class="page-scroll" href="#last">About Us</a>
</li> -->
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" data-toggle="modal" title="A free Bootstrap video landing theme" href="#aboutModal">About Us</a>
</li>
</ul>
</div>
</div>
</nav>
<header id="first">
<div class="header-content">
<div class="inner">
<h1 class="cursive">Signature for Everyone!</h1>
<h4>A free Signature Generator that's simple and easy to use.</h4>
<hr>
<a href="#one" class="btn btn-primary btn-xl page-scroll">Create One</a>
</div>
</div>
<!-- <video autoplay="" loop="" class="fillWidth fadeIn wow collapse in" data-wow-delay="0.5s" poster="https://s3-us-west-2.amazonaws.com/coverr/poster/Traffic-blurred2.jpg" id="video-background">
<source src="https://s3-us-west-2.amazonaws.com/coverr/mp4/Traffic-blurred2.mp4" type="video/mp4">Your browser does not support the video tag. I suggest you upgrade your browser.
</video> -->
</header>
<!-- create email sig -->
<section class="bg-primary" id="one">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<!-- Begin page content -->
<div class="container" align="center" >
<div class="canvas-wrapper">
<div class="canvas-options" style="margin-bottom:10px;">
<form class="form-inline" role="form">
<div class="form-group">
<label style="color:white;">Pen Width</label>
<select name="pen-width" id="penWidth" class="form-control" style="background-color: #6C6B6F;color: #F5F5F5;">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<div class="form-group col-sm-offset-2">
<label style="color:white;">Pen Color</label>
<input type="text" value="000" name="pen-color" class="pick-a-color form-control">
</div>
</form>
</div>
<canvas id="signatureCanvas" width="430" height="200" style="border:1px dashed #424242;margin:0px;background:#FFF;"></canvas>
</div>
<a href="javascript:void(0)" class="btn btn-primary" id="saveButton">
Generate</a>
<a href="javascript:void(0)" class="btn btn-default" id="clearButton">Clear</a>
<div class="text-center" id="createImage">
<img src="images/spinner.gif" class="spinner" id="sigImg" style="display:none;">
</div>
<div class="show-saves" style="display:none;">
<button id="imgCur" class="btn btn-info"><span class="glyphicon glyphicon-refresh"></span> Save on Imgcur</button>
<button id="saveLocal" class="btn btn-success"><span class="glyphicon glyphicon-save-file"></span> Save on Computer</button>
<button id="saveForEmail" class="btn btn-primary"><span class="glyphicon glyphicon-user"></span> Use for Email Signature</button>
</div>
<div class="spinner2" style="display:none;">
<img src="images/spinner.gif" height="50px" width="auto">
</div>
<br>
<div class="text-center" id="imgURL" style="display:none;">
<label>url :</label>
<input type="text" class="form-control" style="width:300px;margin:0 auto;" id="valURL">
</div>
<br>
</div>
</div>
</div>
</div>
</section>
<footer id="footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-3 column">
<h4>Information</h4>
<ul class="list-unstyled">
<li>Design By : <a href="nixongalario.com">Nixon Galario</a></li>
</ul>
</div>
<div class="col-xs-6 col-sm-3 column">
<h4>About</h4>
<ul class="list-unstyled">
<!-- <li><a href="#">Terms & Conditions</a></li> -->
</ul>
</div>
<div class="col-xs-12 col-sm-3 column">
</div>
<div class="col-xs-12 col-sm-3 text-right">
<h4>Stay Posted</h4>
<form>
<div class="form-group">
<input type="text" class="form-control" title="No spam, we promise!" placeholder="Tell us your email">
</div>
<div class="form-group">
<button class="btn btn-primary" data-toggle="modal" data-target="#alertModal" type="button">Subscribe for updates</button>
</div>
</form>
<!-- <h4>Follow</h4>
<ul class="list-inline">
<li><a rel="nofollow" href="" title="Twitter"><i class="icon-lg ion-social-twitter-outline"></i></a> </li>
<li><a rel="nofollow" href="" title="Facebook"><i class="icon-lg ion-social-facebook-outline"></i></a> </li>
<li><a rel="nofollow" href="" title="Dribble"><i class="icon-lg ion-social-dribbble-outline"></i></a></li>
</ul> -->
</div>
</div>
<br/>
<!-- <span class="pull-right text-muted small"><a href="http://www.bootstrapzero.com">Landing Zero by BootstrapZero</a> ©2016 Company</span> -->
</div>
</footer>
<div id="galleryModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<!-- <img src="//placehold.it/1200x700/222?text=..." id="galleryImage" class="img-responsive" /> -->
<p>
<br/>
<button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true">Close <i class="ion-android-close"></i></button>
</p>
</div>
</div>
</div>
</div>
<div id="aboutModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h2 class="text-center">Signature Generator</h2>
<h5 class="text-center">
A free, Signature Generator for everyone...
</h5>
<br>
<p class="text-justify">
Signature Generator is a free web based tool, that helps you create your handwritten digital signature, within few seconds. It's simple and easy to use. You don't need to download or install any plugins/software, it's based on HTML5, so a modern browser is all you need.
</p>
<!-- <p class="text-center"><a href="#">Download</a></p> -->
<br/>
<button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true"> OK </button>
</div>
</div>
</div>
</div>
<div id="alertModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-body">
<h2 class="text-center">Nice Job!</h2>
<p class="text-center">You clicked the button, but it doesn't actually go anywhere because this is only a demo.</p>
<p class="text-center"><a href="http://www.bootstrapzero.com">Learn more at BootstrapZero</a></p>
<br/>
<button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true">OK <i class="ion-android-close"></i></button>
</div>
</div>
</div>
</div>
<!--scripts loaded here from cdn for performance -->
<script src="js/email-sig.min.js" type="text/javascript"></script>
<script type="text/javascript">
$('#hiddenuplaoded').hide();
$('#clearImage').hide();
angular.module('app', ['ngImgCrop'])
.controller('Ctrl', function($scope) {
$scope.myImage='';
$scope.myCroppedImage='';
var handleFileSelect=function(evt) {
$('#hiddenuplaoded').show();
var file=evt.currentTarget.files[0];
var reader = new FileReader();
reader.onload = function (evt) {
$scope.$apply(function($scope){
$scope.myImage=evt.target.result;
});
};
reader.readAsDataURL(file);
$('#uploadedImage').show();
$('#uploadedImage').css("margin-left", "25px");
$('#uploadedImage').css("margin-top", "10px");
$('#sigPhoto').hide();
$("#sigDetailsWrapper").css("margin-left", "120px");
$('#clearImage').show();
};
angular.element(document.querySelector('#fileInput')).on('change',handleFileSelect);
});
$('#clearImage').on('click', function(){
$('#hiddenuplaoded').hide();
$('#uploadedImage').hide();
$('#sigPhoto').show();
alert('preview on Signature above had been reset!');
$('#sigPhoto').attr('src','https://s3.amazonaws.com/rkjha/signature-maker/img/male-icon.png');
});
</script>
</body>
</html>