forked from electron/electron-quick-start
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (62 loc) · 3.01 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
<!DOCTYPE html>
<html>
<head>
<title>FullContact Bulk Person Client</title>
<link href="styles/main.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="styles/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="styles/bootstrap-theme.min.css"
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
</head>
<body class="body-style">
<div class="container-div">
<h2 class="title">FULLCONTACT API CLIENT</h2>
<div class="instructions">1. Retrieve your API key from FullContact's Developer Portal and paste it in the box below.
<br>2. (Optional) Press the "Save Key" button to save the API key locally.</div>
<input class="key" id="fullcontact-api-key" type="text">
<div>
<button class="btn btn-default btn-savekey" id="save-api-key">Save Key</button>
<button class="btn-savekey btn btn-default" aria-label="Left Align"
id="load-api-key">Load Key
</button>
</div>
<div class="instructions">3. Click "Select CSV" and pick a CSV with names arranged either all in a single row or all in their own row.</div>
<div>
<textarea class="feedback-box" readonly id="sample-csv-data"></textarea>
</div>
<div>
<label class="select-csv" for="select-csv">Select CSV</label>
<input type="file" id="select-csv">
</div>
<div class="instructions">4. Click "Perform Request" to perform a batch request to FullContact on all users included in the CSV.</div>
<div>
<textarea class="feedback-box" readonly id="fullcontact-response-data"></textarea>
</div>
<div>
<button class="perform btn btn-default" id="perform-fullcontact-request">Perform Request</button>
</div>
<div class="instructions">5. Once you see data in the above textbox, click "Parse And Download CSVs" to
download the CSVs to your Downloads folder.</div>
<div>
<b class="warning">WARNING: All existing CSV files will be overwritten without warning if they exist within the Downloads folder. Clicking the "Parse and Download CSVs" button will download the files with no additional feedback.</b>
<div class="instructions">CSVs that will be downloaded:
<ul>
<li>fc-photos.csv</li>
<li>fc-contact_info.csv</li>
<li>fc-organizations.csv</li>
<li>fc-demographics.csv</li>
<li>fc-social_profiles.csv</li>
<li>fc-metadata.csv</li>
<li>fc-digital_footprint_topics.csv</li>
<li>fc-digital_footprint_scores.csv</li>
</ul>
</div>
<button class="perform btn btn-default lastbutton" id="parse-and-download-csvs">Parse And Download CSVs</button>
</div>
</div>
</body>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</html>