<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta property="og:image" content="https://tympanix.github.io/pattern-lock-js/mockup.jpg" />
<title>Pattern Lock Demo</title>
<style media="screen">
* {
box-sizing: border-box;
}
html,
body {
padding: 0;
margin: 0;
height: 100vh;
max-height: 100vh;
overflow: hidden;
}
body {
font-family: 'Varela Round', sans-serif;
}
.container {
margin: auto;
height: 100%;
}
h1 {
text-align: center;
margin: 0;
height: 15vh;
line-height: 15vh;
text-align: center;
font-size: 6vh;
}
#lock {
width: 100%;
height: calc(100% - 15vh);
padding-bottom: 12vh;
min-height: 120px;
}
.stars {
margin: auto;
display: block;
}
</style>
<!-- build:css styles.css -->
<link rel="stylesheet" href="patternlock.css">
<!-- endbuild -->
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet">
</head>
<body>
<a href="https://github.com/Tympanix/pattern-lock-js">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png">
</a>
<div class="container">
<h1>pattern-lock-js</h1>
<iframe class="stars" src="https://ghbtns.com/github-btn.html?user=tympanix&repo=pattern-lock-js&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
<svg class="patternlock" id="lock" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<g class="lock-actives"></g>
<g class="lock-lines"></g>
<g class="lock-dots">
<circle cx="20" cy="20" r="2"/>
<circle cx="50" cy="20" r="2"/>
<circle cx="80" cy="20" r="2"/>
<circle cx="20" cy="50" r="2"/>
<circle cx="50" cy="50" r="2"/>
<circle cx="80" cy="50" r="2"/>
<circle cx="20" cy="80" r="2"/>
<circle cx="50" cy="80" r="2"/>
<circle cx="80" cy="80" r="2"/>
</g>
<svg>
</div>
<!-- build:js vendor.js -->
<script src="bower_components/jquery/dist/jquery.js" charset="utf-8"></script>
<!-- endbuild -->
<!-- build:js patternlock.js -->
<script src="patternlock.js" charset="utf-8"></script>
<!-- endbuild -->
<script type="text/javascript">
var e = document.getElementById('lock')
var p = new PatternLock(e, {
onPattern: function() {
this.success()
}
});
</script>
</body>
</html>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]