-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
78 lines (66 loc) · 2.88 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Visual Hashing</title>
<meta name="Description" content="" />
<meta name="Keywords" content="" />
<link href="fonts.css" rel="stylesheet">
<link href="bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen,print" href="style.css">
</head>
<body class="">
<div class="container">
<div class="main-cont">
<div class="row">
<div class="col-md-5 pr-0">
<div class="sec-usr">
<div class="cont-bdy">
<label class="control-label text-center">Generate Algorithm Designed By Gun Gun Febrianza</label>
<h3 class="sec-title">Visual Hashing</h3>
<div class="form-group">
<label class="control-label text-center">Your name</label>
<input class="form-control text-center" type="text" id="textpattern" onfocus="stop_loop()"
onclick="select(this)" onKeyPress="return eventkeypress();" oninput="stp()" />
</div>
<button class="btn btn-generate btn-md btn-block" type="button" onclick="stp(this)">Generate
vector</button>
<div class="text-center pt-3">
<button id="btn_generate" class="btn btn-outline-dark btn-sm" type="button"
onclick="manual_generate(this)">Auto random name
</div>
<div class="sec-ft">
<div class="fb-share-button mr-3" data-href="https://github.com/gungunfebrianza/Visual-Hashing"
data-layout="button_count" data-size="large"><a target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&src=sdkpreparse"
class="fb-xfbml-parse-ignore">Share</a>
</div>
<a href="#" id="btn-download" class="btn btn-sm btn-success" onclick="download_cnv(this)">Save
canvas as
image</a>
</div>
</div>
</div>
</div>
<div class="col-md-7 pl-0">
<div class="ds">
<div class="bg-black">
<div id="output_cont" class="output-cont fadein">
<div id="cont-cnv">
<canvas id="cnv" class="rotating" onclick="visualhash()"></canvas>
<!-- <img src="" id="cnv_miror" class="cnv_miror" /> -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="chance.min.js"></script>
<script type="text/javascript" src="index.js"></script>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous"
src="https://connect.facebook.net/id_ID/sdk.js#xfbml=1&version=v7.0&appId=137643833628505&autoLogAppEvents=1"></script>
</body>
</html>