-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreset.html
86 lines (72 loc) · 3.13 KB
/
reset.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FitLife</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/form-style.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-default navbar-xs" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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" href="#"><b>Fit</b>Life</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html"><i class="glyphicon glyphicon-user"></i> Profile</a></li>
<li><a href="challanges.html"><i class="glyphicon glyphicon-list-alt"></i> Challanges</a></li>
<li class="active"><a href="schedule.html"><i class="glyphicon glyphicon-cog"></i> Settings</a></li>
</ul>
</div><!-- /.navbar-collapse -->
<hr style="margin:0 0 0 0;">
<ul class="nav navbar-nav">
<li><a href="schedule.html"><i class="glyphicon glyphicon-list"></i></a></li>
<li><a href="social.html"><i class="glyphicon glyphicon-globe"></i></a></li>
<li><a href="info.html"><i class="glyphicon glyphicon-pencil"></i></a></li>
<li class="active"><a href="reset.html"><i class="glyphicon glyphicon-floppy-remove"></i></a></li>
</ul>
</nav>
<div class="container auth">
<div id="big-form" class="well auth-box">
<form>
<fieldset>
<h1>Reset</h1>
<p>Pressing continue will erase all data on this app including challange and level progress! Are you sure you want to continue?</p>
<button id="reset" class="btn btn-default col-xs-12">Continue</button>
</fieldset>
</form>
</div>
<div class="clearfix"></div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="lib/jquery-1.8.2.min.js"></script>
<script src="js/storage/memory-store.js"></script>
<script src="js/main.js"></script>
<script>
$( document ).ready(function() {
$("#reset").mousedown(function (){
localStorage.initialized = false;
window.location.href = "init.html";
});
$("#reset").click(function (){
localStorage.initialized = false;
window.location.href = "init.html";
});
});
</script>
</body>
</html>