-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
187 lines (149 loc) · 6.79 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description"
content="Dialy converts your phone number into easy to remember 2 words. Then, convert back into numbers!">
<meta name="author" content="Co-authored by Craig (cra1gg), Soham (shmkane)">
<link rel="icon" href="assets/favicon.ico?">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.1/css/bootstrap.min.css"
integrity="sha384-VCmXjywReHh4PwowAiWNagnWcLhlEJLA5buUprzK8rxFgeH0kww/aWY76TfkUoSX" crossorigin="anonymous">
<!-- FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/styles.css">
<title>Dialy | Click, Convert, Call</title>
</head>
<body>
<!-- This is the small navbar -->
<div class="mynav">
<ul class="">
<li class="">
<a id="active" class="" href="index.html">Home</a>
</li>
<li class="">
<a id="results" class="" href="#numbers_result">Results</a>
</li>
<li class="">
<a class="" href="about.html">About</a>
</li>
</ul>
</div>
<!-- This will be the top of the page right before the form -->
<div class="intro text-white">
<!-- spacer -->
<div style="height: 7em;"></div>
<div class="position-relative text-center">
<div class="mx-auto my-5">
<h1 class="ml1">
<span class="text-wrapper">
<span class="line line1"></span>
<span class="letters">DIALY</span>
<span class="line line2"></span>
</span>
</h1>
</div>
</div>
<p id="how_to">Enter <span style="color: #b461b4;">Phone Number</span> or a <span
style="color: #00ccff">Dialy</span></p>
</div>
<!-- This section will be the form -->
<div class="forms">
<form autocomplete="off" class="">
<div class="autocomplete">
<input class="form-control" type="text" name="formInput" id="input"
placeholder="4169191234 or apple:potato">
</div>
</form>
<div style="height: 1em;"></div>
<!-- <button class="btn btn-primary" id="submit">Convert</button> -->
</div>
<!-- spacer -->
<div style="height: 5em;"></div>
<div id="error" class="center alert alert-danger" role="alert"></div>
<div class="input_repeat" id="entered">
<h2 id="show_input"></h2>
</div>
<!-- This will be if the result is words, like Apple:Banana -->
<div class="numbers_result text-white" id="numbers_result">
<div class="ph_info">
<div class="ph_item">
<span> <strong>Phone Number:</strong></span>
<p id="phone_number" class="text-white-50"></p>
</div>
<div class="ph_item">
<span> <strong>Valid?</strong></span>
<p id="phone_isValid" class="text-white-50"></p>
</div>
<div class="ph_item">
<span> <strong>Number Type</strong></span>
<p id="line_type" class="text-white-50"></p>
</div>
<div class="ph_item">
<span> <strong>Phone Carrier</strong></span>
<p id="phone_carrier" class="text-white-50"></p>
</div>
<div class="ph_item">
<p id="total_conversions_word" class="text-white-50">This Dialy has been converted 0 times</p>
</div>
<div class="number_options">
<div><button class="btn btn-info">Add to Contacts</button></div>
<div><button class="btn btn-success">Call</button></div>
<div><button class="btn btn-primary" onclick="copyClipboard('phone_number')">Copy</button></div>
</div>
</div>
<div class="map">
<p id="location"></p>
<p id="carrier"></p>
<iframe id="map" src="https://maps.google.com/maps?q=toronto&t=&z=10&ie=UTF8&iwloc=&output=embed"></iframe>
<!-- https://maps.google.com/maps?q=toronto&t=&z=10&ie=UTF8&iwloc=&output=embed-->
</div>
</div>
<!-- This will be if the result is a phone number, like 4169191234 -->
<div class="words_result text-white-50" id="words_result">
<h4>Your Dialy is:</h4>
<h1 id="dialy" class="weight-900 text-white">Loading...</h1>
<button class="btn btn-info" onclick="copyClipboard('dialy')">Copy</button>
<br>
<p id="total_conversions"></p>
</div>
<!-- Footer -->
<footer class="footer text-white-50">
<div class="container text-center">
</div>
<div class="ml6">
<span class="text-wrapper">
<span class="letters">
<p class="credit">Made by <a href="https://cra1g.ca/currentprojects.html">Cra1g</a> & <a
href="https://shmkane.com/">shmkane</a>
</p>
</span>
</span>
</div>
<p>©Dialy 2020</p>
</footer>
<!-- spacer -->
<div style="height: 30em;"></div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.1/js/bootstrap.min.js"
integrity="sha384-XEerZL0cuoUbHE4nZReLT7nx9gQrQreJekYhJD9WNWhH8nEW+0c5qq7aIo2Wl30J"
crossorigin="anonymous"></script>
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.15.4/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="https://www.gstatic.com/firebasejs/7.15.4/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.4/firebase-database.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script src="js/animation.js"></script>
<script src="js/main.js"></script>
</body>
</html>