forked from DummiApp/dummi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (107 loc) · 4.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Dummi</title>
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/png" href="img/favicon.png">
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81716314-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="wrapper">
<!-- Side Bar -->
<aside class="side-bar">
<!-- Logo -->
<h1 class="logo"><img src="img/logo.svg" alt="Dummi - Data for your project"></h1>
<!-- OUTPUT TYPE -->
<label for="outputType" class="eyebrow">Output Type</label>
<div class="drop-down">
<select id="outputTypeSelection" onChange="updateOutput()">
<option value="JSON">JSON</option>
<option value="CSV">CSV</option>
</select>
</div>
<!-- Feed Name -->
<label for="feedName" class="eyebrow" id="feedNameLabel">Primary Keyword Name</label>
<input type="text" id="feedName" placeholder="Name Your Primary Keyword">
<!-- # of items -->
<section class="block">
<label for="itemNumber" class="eyebrow" id="itemNumberLabel"># of items</label>
<input type="text" id="itemNumber" class="number" value="2">
</section>
<section class="block">
<label for="type" class="eyebrow" id="valueTypeLabel">Value Type</label>
<div class="drop-down">
<select id="valueTypeSelection">
<option value="firstName">firstName</option>
<option value="lastName">lastName</option>
<option value="gender">gender</option>
<option value="age">age</option>
<option value="username">username</option>
<option value="email">email</option>
<option value="emailVerified">emailVerified</option>
<option value="phone">phone</option>
<option value="twitterHandle">twitterHandle</option>
</select>
</div>
<a href="javascript:addValue()" class="btn btn-add" style="margin: 0px;">Add Value</a>
</section>
<!-- Block -->
<section class="block">
<span class="node-name">fullName</span>
<input type="checkbox" id="fullName" name="toggles" class="toggle-switch" checked>
<label class="toggle" for="fullName"><span></span></label>
<!-- Options -->
<div class="options">
<div class="options--frame">
<!-- Gender -->
<span class="eyebrow">Gender</span>
<ul class="radio-list">
<li><input type="radio" name="gender" id="both" onclick="updateItemDetail(this.id)" checked><label for="both">Both</label></li>
<li><input type="radio" name="gender" onclick="updateItemDetail(this.id)" id="male"><label for="male">Male</label></li>
<li><input type="radio" name="gender" onclick="updateItemDetail(this.id)" id="female"><label for="female">Female</label></li>
</ul>
</div>
</div>
</section>
<!-- Value Wrapper -->
<div id="valueWrapper">
<!-- Block Example -->
<!-- <section class="block">
<a href="#" class="close">✕</a><span class="node-name">firstName</span>
</section> -->
<!-- EVERYTHING IN HERE WILL BE GENERATED -->
</div>
</aside>
<!-- Main Stage -->
<main>
<div class="utility-bar">
<div class="feed-type" id="feedTypeTitle">JSON</div>
<nav>
<a href="javascript:newFeed()" id="newFeed">New Feed</a>
<a target="blank_" href="https://github.com/DummiApp/dummi" id="helpLink">Help</a>
</nav>
</div>
<pre class="slab">
<code id="codeField"></code>
</pre>
<div class="path" id="implementField">
<!-- <input type="text" id="path--field" value="Download as a JSON file" readonly> -->
<!-- <a href="#" id="copyButton" onclick="copyLink()">Copy</a> -->
</div>
</main>
<div class="footer"><hr><p><a target="blank_" href="https://twitter.com/dummiapp">@DummiApp</a>, created by <a target="blank_" href="https://twitter.com/aBenjamin765">@aBenjamin765</a> and <a target="blank_" href="https://twitter.com/seven11nash">@seven11nash</a></p></div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/chance.min.js"></script>
<script src="js/dummi.min.js"></script>
</body>
</html>