-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (83 loc) · 3.48 KB
/
index.html
File metadata and controls
98 lines (83 loc) · 3.48 KB
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 lang="en"> <!-- manifest="manifest.appcache" -->
<head>
<meta charset="utf-8">
<title>Seeds</title>
<meta name="description" content="A Simple, Free and Open Twitter Client">
<meta name="author" content="Bill Fisher">
<!-- Note the width=device-width in the viewport meta tag has been removed to avoid letterboxing on the iPhone5.
I'm unclear on the implications of this. -->
<meta name="viewport" content="initial-scale=1.0 maximum-scale=1, user-scalable=0"/>
<!-- Hides the URL bar and back button on iPhone, so make sure you have an interface that does not rely on that. -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="app/img/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="app/img/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="app/img/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="app/img/apple-touch-icon-144x144.png" />
<!-- We could also add iOS start up images here too. See: http://taylor.fausak.me/2012/03/27/ios-web-app-icons-and-startup-images/ -->
<link rel="stylesheet" href="app/css/style.css">
<!-- scripts that unfortunately have to be loaded in the head -->
<script>
var addToHomeConfig = {
animationIn: 'fade',
lifespan: 10000,
expire: 60 * 24 * 3, // every three days
message: 'Yo! Seeds is an app! Save it to your homescreen!',
touchIcon: true
};
</script>
<script src="app/js/vendor/cubiq-home-screen/add2home.js"></script>
<script src="app/js/vendor/modernizr/modernizr.custom.18415.js"></script>
</head>
<body>
<header>
<div class="core">
<h1 data-view="">Seeds</h1>
<ul id="seeds-nav">
<li data-view="tweetlist" class="tweetlist-button">
<div class="first stripe"><span></span></div>
<div class="middle stripe"><span></span></div>
<div class="stripe"><span></span></div>
<div class="refresh"></div>
</li>
<li data-view="createtweet" class="createtweet-button">
<div></div>
</li>
</ul>
</div>
</header>
<section id="seeds-app" class=core>
<div id="seeds-carousel">
<div class="auth panel disabled" data-carousel-index="0"></div>
<ul class="tweetlist panel" data-carousel-index="1"></ul>
<div class="createtweet panel disabled" data-carousel-index="2"></div>
</div>
</section>
<!-- backbone templates -->
<script type="text/template" id="seeds-template-auth">
<div class="wrap">
<p>Please sign in with your Twitter username:</p>
<input type="text" id="seeds-nickname-key" />
<div class="button" id="seeds-sign-in-button">Sign in!</div>
</div>
</script>
<script type="text/template" id="seeds-template-tweet">
<div class="col-1">
<img class="user profile-image" height="48px" width="48px" src="<%= user.profile_image_url %>" alt="" />
</div>
<div class="col-2">
<span class="user name"><%= user.name %></span>
<span class="user nickname">@<%= user.screen_name %></span>
<span class="tweet-text"><%= text %></span>
</div>
</script>
<script type="text/template" id="seeds-template-createtweet">
<div class="wrap">
<textarea />
<div class="chars-left"><span class="countdown">140</span><span> characters left</span></div>
<div id="seeds-tweet-button" class="button">Tweet</div>
</div>
</script>
<script data-main="app/js/main.js" src="app/js/vendor/requirejs/require.js"></script>
</body>
</html>