-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.html.erb
98 lines (80 loc) · 2.76 KB
/
application.html.erb
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
<!DOCTYPE html>
<html>
<head>
<title>Facebook Telephone</title>
<%= stylesheet_link_tag 'scaffold' %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'redbox' %>
<%= javascript_include_tag 'redbox' %>
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
var left = (screen.width/2)-(275/2);
var top = (screen.height/2)-(375/2);
newwindow=window.open(url,'name', 'height=375,width=275,toolbars=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,top='+top+', left='+left);
// newwindow=window.open(url,'name', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=no,copyhistory=no,scrollbars=no,height=375,width=275,left=0,top=0,screenX=0,screenY=0');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</script>
<%= yield(:head) %>
</head>
<body>
<div id="container">
<div id="sidebar">
<p><h2><%=image_tag 'spaz-icon-alpha.png', {:width=>"75"}%><br/>
<%=link_to "Telephone", "/" %>
</h2>
<center>
<%#link_to "Facebook App", "http://www.facebook.com/apps/application.php?id=104425026288823&v=page_getting_started", {:target=>"_parent"} %>
<%=link_to "Terms", "terms" %> | <%=link_to "Policy", "policy" %></center>
<%#link_to "App Home", "http://www.facebook.com/apps/application.php?id=104425026288823&v=page_getting_started", {:target=>"_parent"} %></p>
<p><br/>
Like Button
</p>
<p>
Share Link
</p>
</div>
<div id="content">
<div id="inline_invite" style="display: none">
<div style="width: 450px">
<%= link_to_close_redbox(raw('<img src="/images/close-btn.png" align="right" width="24" height="24" class="close-btn" border="0">'), html_options = {}) %>
<center>
<h1>Invitation</h1><br/>
<%= %>
<div id="generalform">
<%= form_tag url_for(:controller => "facebook", :action => "invite"), :id => "tool-form", :remote => true do %>
<%= text_area_tag "message", "Check out the new Telephone on Facebook! http://apps.facebook.com/telephone", {:cols => 40, :rows => 5} %><br />
<br />
<%= submit_tag "Send" %>
<% end %>
</div>
</center>
</div>
</div>
<div id="inline_phone" style="display: none">
<div style="width: 450px">
<%= link_to_close_redbox(raw('<img src="/images/close-btn.png" align="right" width="24" height="24" class="close-btn" border="0">'), html_options = {}) %>
<center>
<h1>Your Number</h1><br/>
<div id="generalform">
<%= form_tag url_for(:controller => "facebook", :action => "numberupdate"), :id => "number-form", :remote => true do %>
<%= text_field_tag "phonenumber" %><br />
<br />
<%= submit_tag "Update" %>
<% end %>
</div>
</center>
</div>
</div>
<%= yield %>
</div>
</div>
<!-- <div id="footer">
<p>© Voxeo</p>
</div> -->
</body>
</html>