-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
102 lines (81 loc) · 3.98 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Iconfinder API demo</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.0.0/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="app.css">
</head>
<body>
<main>
<header class="clearfix">
<div class="pull-left">
<a href="https://www.iconfinder.com/"><img src="logo.svg" alt="Iconfinder" height="30"></a>
<h1>API demo</h1>
</div>
<div class="pull-right">
<ul>
<li><a href="http://developer.iconfinder.com/">API Documentation</a></li>
<li><a href="https://github.com/iconfinder/api-demo">Source code</a></li>
</ul>
</div>
</header>
<div id="canvas">
<div class="app-frame">
<div class="app-header">
<div class="stop-light">
<i class="fa fa-circle-o"></i>
<i class="fa fa-circle-o"></i>
<i class="fa fa-circle-o"></i>
</div>
<h5>ACME Diagrams</h5>
</div> <!-- .app-header -->
<div class="app-body">
<form id="search" class="clearfix">
<div class="pull-left">
<input type="text" id="query" name="query" placeholder="Search for icons..." autofocus>
<button type="submit"><i class="fa fa-search"></i></button>
</div>
<div class="pull-right">
<label><input type="checkbox" name="premium" value="1"> Premium only</label>
<label><input type="checkbox" name="vector" value="1"> Vector only</label>
</div>
<input type="hidden" name="count" value="30">
</form>
<div class="results hide">
</div> <!-- .results -->
<div class="diagram">
<div class="placeholder" id="figure-1"></div>
<div class="placeholder" id="figure-2"></div>
<div class="placeholder" id="figure-3"></div>
<div class="placeholder" id="figure-4"></div>
</div>
</div> <!-- .app-body -->
</div> <!-- .app-frame -->
</div> <!-- .canvas -->
</main>
<aside id="console">
<header>
<h5 id="downloads" class="pull-right">Unique downloads: <strong>0</strong></h5>
<h3>Console output</h3>
</header>
<div class="log">
</div> <!-- .log -->
</aside>
<button type="button" class="toggle-console"><i class="fa fa-bars"></i></button>
<script type="text/template" id="result-template">
<img src="{{ url }}" alt="" width="64" data-icon-id="{{ icon_id }}">
</script>
<script type="text/template" id="log-template">
<h4>Request:</h4>
<pre>{{ type }} {{ url }}</pre>
<h4>Response:</h4>
<pre>{{- response }}</pre>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="app.js"></script>
</body>
</html>