-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathface.html
74 lines (72 loc) · 2.64 KB
/
face.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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- <link href="media/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"> -->
<title>Face.ml</title>
<link rel="stylesheet" href="/static/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="/static/css/face.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row-fluid">
<img class="fblogin" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif">
</div>
<div class"row-fluid">
<div id="winner" class="span3 offset9">
<h1>Winner</h1>
<div id="winner_pic"><img src="/static/img/unknown.png" /></div>
</div>
</div>
<div class"row-fluid">
<h2>Vote</h2>
</div>
<div class"row-fluid">
<div id="voteleft" class="span3">
<div id="left_pic"><img src="/static/img/unknown.png" /></div>
</div>
<div id="voteleft" class="span3">
<div id="right_pic"><img src="/static/img/unknown.png" /></div>
</div>
</div>
</div>
<div id="fb-root"></div>
<script type="text/javascript" src="/static/js/jquery-1.9.1.min.js"></script>
<script src="/static/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<!-- <script type="text/javascript" id="facebook-jssdk" src="//connect.facebook.net/fr_FR/all.js"></script> -->
<script type="text/javascript" src="/static/js/face.js"></script>
<script type="text/javascript">
console.log('init');
window.fbAsyncInit = function() {
console.log('fbAsyncInit');
FB.init({
appId : '524439984274573',
// channelUrl : '//face.yeleman.com/channel.html', // Channel file for x-domain comms
status : true, // Check Facebook Login status
xfbml : false // Look for social plugins on the page
});
setUpMainPageEvents();
};
// Load the SDK asynchronously
function load_async(d, s, id, url){
console.log('load_async');
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
// js.src = "//connect.facebook.net/fr_FR/all.js";
js.src = url
fjs.parentNode.insertBefore(js, fjs);
}
// load_async(document, 'script', 'jquery', "http://code.jquery.com/jquery-1.9.1.min.js");
$(document).ready(function (){
console.log('jQ ready');
load_async(document, 'script', 'facebook-jssdk', "http://connect.facebook.net/fr_FR/all.js");
load_startup_data();
});
</script>
</body>
</html>