-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
184 lines (172 loc) · 7.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Navy NAVADMIN Library Message Viewer</title>
<!-- Native app functionality and links -->
<link rel="manifest" href="manifest.json">
<meta name="apple-itunes-app" content="app-id=1345135985">
<meta property="og:description" content="NAVADMIN Viewer" />
<meta property="og:image" content="assets/Icon1024.png" />
<meta name="google-site-verification" content="6EKYmQgGQXMflnG4iUF-NLqeuMPwiE5pE4LrZL3H9UE" />
<meta name="msvalidate.01" content="12279713F8F9C1C1491999B2B710319A" />
<meta name="description" content="Read and search within Navy and Marine Corps messages.">
<meta name="keywords" content="navy, us navy, navadmin, alnav, maradmin, almar, dod, navadmin viewer">
<meta name="author" content="Anson Liu">
<link href="css/style.css" rel="stylesheet" />
<link href="css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">
<img src="assets/navadmin_transparent_512.png" width="30" height="30" alt="NAVADMIN Viewer">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="/">Messages</a>
</li>
<li class="nav-item">
<a class="nav-link" id="nav-app-link" href="https://apps.apple.com/us/app/navadmin-viewer/id1345135985">App</a>
</li>
<li class="nav-item">
<a class="nav-link" href="mailto:support@ansonliu.com">Contact</a>
</li>
</ul>
</div>
<div class="input-group">
<div class="input-group-prepend">
<button class="btn btn-outline-primary dropdown-toggle" id="msg-type-dropdown" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">N/A</button>
<div class="dropdown-menu" id="msg-type-dropdown-menu">
<!-- <a class="dropdown-item" href="#">NAVADMIN</a> -->
</div>
</div>
<div class="input-group-prepend">
<button class="btn btn-outline-secondary dropdown-toggle" id="msg-year-dropdown" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">N/A</button>
<div class="dropdown-menu" id="msg-year-dropdown-menu">
<!-- <a class="dropdown-item" href="#">Latest year</a> -->
</div>
</div>
<div class="input-group-prepend">
<button class="btn btn-outline-secondary dropdown-toggle" id="msg-year-dropdown" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Title</button>
<div class="dropdown-menu" id="msg-year-dropdown-menu">
<a class="dropdown-item" href="#">Title</a>
<a class="dropdown-item disabled" href="#">Full Message (currently on iOS and Android apps)</a>
<!-- <a class="dropdown-item" href="#">title only</a> -->
</div>
</div>
<input type="text" class="form-control" id="msg-search-input" aria-label="Search text input">
</div>
</nav>
<div class="container-fluid" id="main-container">
<div class="progress" id="loading-progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 100%">Retrieving data</div>
</div>
<div id="messages-list">
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Title</th>
<th scope="col"></th>
</tr>
</thead>
<tbody id="msg-list-table-body">
<tr>
<th scope="row">XXX/YY</th>
<td>N/A</td>
<td>
<div class="stats-box">
<p>★</p>
<p><img src="assets/eye.svg"></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<footer class="pt-4 my-sm-5 pt-sm-5 border-top">
<div class="row">
<div class="col-12 col-sm">
<img class="mb-2" src="assets/navadmin_transparent_512.png" alt="" width="30" height="30">
<small class="d-block mb-3 text-muted">All original code is © 2020 Anson Liu</small>
</div>
<div class="col-6 col-sm">
<h5>About</h5>
<ul class="list-unstyled text-small">
<li>
<a class="text-muted" href="http://AnsonLiu.com">Anson Liu</a>
</li>
<li>
<a class="text-muted" href="https://github.com/navadmin-viewer/">Code repository</a>
</li>
<li>
<a class="text-muted" href="https://navadmin-viewer.github.io/privacy.html">Privacy Policy</a>
</li>
</ul>
</div>
<div class="col-12 col-sm">
<h5>Disclaimer</h5>
<ul class="list-unstyled text-small">
<span class="text-muted">This program comes with no warranty nor is it an official Department of Defense product. All data is provided as is and the user is responsible for verifying any data with official sources.</span>
</ul>
</div>
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="msg-body-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-info modal-share-link">Share</button>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/types.js"></script>
<script src="js/utilities.js"></script>
<script src="js/serialization.js"></script>
<script src="js/fetch.js"></script>
<script src="js/custom.js"></script>
<!-- Recommended Firebase polyfill for IE11 -->
<script src="js/core-js-polyfill.min.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.14.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.14.0/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBV-G539Qxzz-KtCjT4Bx6v7avTJECrCN8",
authDomain: "navadmin-ios.firebaseapp.com",
databaseURL: "https://navadmin-ios.firebaseio.com",
projectId: "navadmin-ios",
storageBucket: "navadmin-ios.appspot.com",
messagingSenderId: "404757436431",
appId: "1:404757436431:web:f3c40684e54f796de66b7a",
measurementId: "G-EDWQZT9FX9"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
</body>
</html>