-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
217 lines (195 loc) · 10.5 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>FB POST FETCHER</title>
<script>if (typeof module === 'object') { window.module = module; module = undefined; }</script>
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.css">
<script src="js/jquery.js"></script>
<script src="js/lib.js"></script>
<script src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<link href="https://fonts.googleapis.com/css?family=Dancing+Script|Merriweather|Open+Sans|Raleway|Roboto|Source+Sans+Pro"
rel="stylesheet">
<script src="js/FB.js"></script>
<script>if (window.module) module = window.module;</script>
</head>
<body>
<div class="loader alert alert-info alert-dismissable fade-in" id="loader">
<div class="progress" style="width: 100%; height:4rem;margin:0px">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:40%"
id="progressBar">
<span id="loader-value" style="height: 100%; display: flex;align-items: center; justify-content: center;font-size: 1.8rem;">50%</span>
</div>
</div>
<div style="color: #0B5692;">
<span class="close" data-dismiss="alert" aria-label="close" style="font-size: 3rem;">×</span>
</div>
</div>
<div class="title-bar">
<div class="title-left">
Built with Electron
</div>
<div class="title-main">
Facebook Post Fetcher & Downloader
</div>
<div class="title-right">
<a href="" id="forkgithub" style="color: #311B92 !important;"> Fork on Github</a>
</div>
</div>
<div class="main-container">
<form id="regForm">
<div class="steps">Step
<span id="step-counter"></span>
</div>
<div class="dialog flex">
<button type="button" class="left-nav form-nav" id="prevBtn" onclick="nextPrev(-1)">
<i class="glyphicon glyphicon-menu-left"></i>
</button>
<button type="button" class="right-nav form-nav" id="nextBtn" onclick="nextPrev(1)">
<i class="glyphicon glyphicon-menu-right"></i>
</button>
<div class="tab">
<div class="option flex">
<div class="form-group">
<label for="">Enter Access Token</label>
<input type="text" name="" id="txt_ac_token" class="form-control" required placeholder="Access Token">
</div>
<div class="form-group">
<button class="ac-login" onclick="nextPrev(1)" type="button" id="ac-login">Continue with Access Token</button>
</div>
</div>
</div>
<div class="tab">
<div class="option flex">
<div class="form-group">
<label for="">Enter Page Name</label>
<input type="text" name="" id="txt_pg_name" class="form-control">
</div>
<div class="form-group">
<button class="ac-login" onclick="nextPrev(1)" type="button" id="btn-set-pg">Continue</button>
</div>
</div>
</div>
<div class="tab">
<div class="box alert alert-warning" id="pg_status">
Loading....
</div>
<div class="option flex">
<div class="form-group" style="width: 100%">
<button class="blue no-bevel btn-lg" id="view_posts" type="button">View Posts</button>
<br>
<button class="green btn-lg no-bevel" onclick="nextPrev(1)" id="download_posts" type="button">Download Posts</button>
</div>
</div>
</div>
<div class="tab">
<div class="box">
Select the attributes
</div>
<div class="option">
<div class="form-group selection" style="width: 100%">
<div class="form-group-lg">
<label for="">Page Attributes</label>
<select name="page-attributes" id="page-attributes" multiple class="form-control">
<option value="pa-name">Page Name</option>
<option value="pa-fan_count">Fan Count</option>
<option value="pa-cover">Cover Image</option>
<option value="pa-picture">Profile Picture</option>
<option value="pa-link">Link</option>
<option value="pa-verification_status">Verification Status</option>
</select>
</div>
<button id="transfer-pa" class="btn btn-default" type="button">
<i class="glyphicon glyphicon-chevron-down"></i>
</button>
<button id="transfer-pa-back" class="btn btn-default" type="button">
<i class="glyphicon glyphicon-chevron-up"></i>
</button>
<div class="form-group-lg">
<label for="">Selected Page Attributes</label>
<select name="" id="page-attributes-selected" multiple class="form-control" disabled readonly>
</select>
</div>
</div>
<div class="form-group selection" style="width: 100%">
<div class="form-group-lg">
<label for="">Post Attributes</label>
<select name="post-attributes" id="post-attributes" multiple class="form-control">
<option value="po-description"> Post Description</option>
<option value="po-message">Post Message</option>
<option value="po-comments">Post Comments + Reactions</option>
<option value="po-reactions">Post Reactions</option>
<option value="po-attachments">Attachments</option>
<option value="po-shares">Shares</option>
<option value="po-story">Post Story</option>
<option value="po-with_tags">With_tags</option>
</select>
</div>
<button id="transfer-po" class="btn btn-default" type="button">
<i class="glyphicon glyphicon-chevron-down"></i>
</button>
<button id="transfer-po-back" class="btn btn-default" type="button">
<i class="glyphicon glyphicon-chevron-up"></i>
</button>
<div class="form-group-lg">
<label for="">Selected Post Attributes</label>
<select name="" id="post-attributes-selected" multiple class="form-control" disabled readonly>
</select>
</div>
</div>
<div class="form-group">
<button class="ac-login" id="clearPresets" onclick="nextPrev(1)" type="button">Continue</button>
</div>
</div>
</div>
<div class="tab">
<div class="option flex">
<div class="form-group-sm form-inline">
<label for="">Number of Posts: </label>
<input type="text" name="" id="no_posts" placeholder="Number of posts" class="input-sm form-control">
<hr style="width: 100%">
</div>
<div class="form-group" style="width: 100%">
<button class="purple no-bevel btn-lg" id="download_json" type="button">Download JSON
<i class="glyphicon glyphicon-download-alt"></i>
</button>
</div>
<div class="form-group" style="width: 100%">
<button class="blue no-bevel btn-lg" id="download_page_posts" type="button">Download Post Text Files
<i class="glyphicon glyphicon-download-alt"></i>
</button>
</div>
<div class="form-group" style="width: 100%">
<button class="green no-bevel btn-lg" id="download_comments" type="button">Download Comments Text Files
<i class="glyphicon glyphicon-download-alt"></i>
</button>
</div>
</div>
</div>
<div style="overflow:auto;">
<div style="float:right;">
</div>
</div>
</div>
<div class="indicator">
<span class="step"></span>
<span class="step"></span>
<span class="step"></span>
<span class="step"></span>
<span class="step"></span>
</div>
</form>
</div>
<footer>
<div>Facebook Data Collector and Statistics Utility.
<a href="" id="readme">
<i class="glyphicon glyphicon-info-sign" style="color:white; font-size: 2.2rem; float: right;margin-right: 1rem;"></i>
</a>
</div>
</footer>
</body>
<script src="js/form.js"></script>
</html>