-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (82 loc) · 3.12 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Buzz Word</title>
<meta name="description" content="Cloud Computing Assignment #3">
<meta name="author" content="Jinglun Dong">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Buzz Word</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="analysis">Analysis</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<div class="hero-unit">
<h1>What is the Buzz?</h1>
Dependency:
<ul>
<li>Twitter Search API</li>
<li>Google App Engine Python SDK</li>
<li>Bootstrap Framework</li>
<li>Django Framework</li>
</ul>
Author:
<ul>
<li>Jinglun Dong</li>
</ul>
</div>
<div class="container-fluid">
<div class="row">
<div class="span12">
<!--Sidebar content-->
<form action="/" method="post">
<div><textarea name="key_word" rows="1" cols="20">Enter Key Word Here</textarea></div>
<div><input type="submit" value="Search" class="btn btn-primary"></div>
</form>
</div>
</div>
</div>
<hr>
<div class="container-fluid">
<div class="row-fluid">
{% if decode_key_word %}
<h4>Search Result For: {{decode_key_word}} </h4>
<hr>
{% endif %}
<div class="span12">
<!--Body content-->
{% for tweet in tweets %}
<img src="{{tweet.profile_image_url}}">
<b>{{ tweet.from_user_name }}</b> wrote:
<blockquote>{{ tweet.text|escape }}</blockquote>
{% endfor %}
</div>
</div>
</div>
</div>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>