-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
115 lines (98 loc) · 3.62 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<title>AdviceMe</title>
<meta name="author" content="Matthew Ng">
<link rel="stylesheet" type="text/css" href="advice.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://static.stackmob.com/js/stackmob-js-0.8.0-bundled-min.js"></script>
<script type="text/javascript">
StackMob.init({
appName: "adviseme",
clientSubdomain: "kewlcherrygmailcom",
publicKey: "5b823995-a5ef-4426-a73a-d3e5a3d2f576",
apiVersion: 0
});
</script>
<script type="text/javascript" src="http://platform.linkedin.com/in.js">
api_key: qnm8d43uhomb
scope: r_fullprofile r_network rw_nus rw_groups
onLoad: onLinkedInLoad
authorize: true
</script>
</head>
<body>
<header>
<!--[if lte IE 9]>
<div id="browser-upgrade">
Sorry! Internet Explorer is not supported. Failsauce. (Best experienced in Google Chrome)
</div>
<![endif]-->
<div id="login">
<script type="in/login"></script>
<p class="message"></p>
</div>
</header>
<div id="content">
<div id="search-input">
<div>
<a href="index.html">
<img src="advice.png" alt="Advice">
</a>
</div>
<input id="search-input-field" type="text" value="" maxlength="500" placeholder="Login to experience Advice" autocomplete="off">
<div id="total-results"></div>
</div>
<div id="divProfile"></div>
<div id="search-results">
<ol id="search-results-list">
</ol>
</div>
</div>
<textarea id="search-result-template" class="trimpath-template">
<li class="profile-result">
{if pictureUrl}
<img src="${pictureUrl}" class="profile-photo">
{else}
<img src="icon_no_photo_80x80.png" class="profile-photo">
{/if}
<div class="name">
<strong>
<span>${firstName} ${lastName}</span>
</strong>
<input type="hidden" class="linkedInUserID" value="${linkedInUserID}" />
</div>
{if headline}
<div class="headline">
<strong>${headline}</strong>
</div>
{/if}
<div class="location">
${location.name}
</div>
<div class="distance">
{if (distance == 0 || distance == 1 || distance == 2 || distance == 3)}
<img src="http://static02.linkedin.com/scds/common/u/img/icon/degree/icon_degree_${distance}_24x24_v2.png">
{/if}
</div>
</li>
</textarea>
<textarea id="no-search-results-template" class="trimpath-template">
<li class="no-results">
<div class="oh-snap"><strong>OH SNAP!</strong></div>
<strong>No people match for "${keyword}", delete some characters and try again.</strong>
</li>
</textarea>
<footer>
<div class="foot-info">
Built with the new <a href="http://developer.linkedin.com/community/jsapi">LinkedIn JavaScript API</a>.<br><br><script type="in/share"></script>
</div>
</footer>
<script src="http://yui.yahooapis.com/2.8.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="scripts/sizzle.js"></script>
<script src="scripts/trimpath-template-1.0.38.js"></script>
<script src="scripts/instant.js"></script>
</body>
</html>