forked from jerrod/xtt
/
application.iphone.erb
47 lines (44 loc) · 1.64 KB
/
application.iphone.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width = 320" />
<meta name="viewport" content="initial-scale=1, user-scalable=no" />
<%= stylesheet_link_tag 'iphone', 'iphone_hack' %>
<%= javascript_include_tag 'prototype' %>
<title>XTT</title>
<script type="text/javascript" charset="utf-8">
document.observe('dom:loaded', function() {
<%= yield :dom_loaded %>
});
</script>
</head>
<body>
<div id="wrapper">
<div id="header">
<a href="/">home</a>
</div>
<div id="currently" class="clearfix">
Currently: <% if current_user.last_status_project %>
<%= link_to_project current_user.last_status_project, " #{current_user.last_status_project.name}" %>
<% end %>
<p><%= link_to h(current_user.last_status_message), current_user.last_status %></p>
<% unless current_user.last_status.out? %>
<span class="others">
<span class="num livetime" title="<%= current_user.last_status.created_at.utc.strftime("%d %b, %Y %I:%M %p") %>"><%= current_user.last_status.hours.to_f %></span>
<span class="meta">logged</span>
</span>
<% end %>
</div>
<div id="status"><%= yield :status %></div>
<div id="content" class="clearfix">
<%= yield %>
</div>
<div id="footer">
Copyright © 2008 ENTP.com.
</div>
</div>
<%= render :partial => 'layouts/google_analytics' %>
</body>
</html>