-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (47 loc) · 1.54 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
<!-- Thie page is the seach main page -->
<!DOCTYPE html>
<html>
<head>
<title>Twitter Search Enginee 1.0</title>
<meta name="Author" content="Fei Yi">
<meta name="Description" content="A tweet enginee search front end part">
<link rel="stylesheet" href="styles.css">
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src ="./node_modules/angular/angular.js">
</script>
</head>
<body ng-app="goodperson" >
<script>
angular.module("goodperson",[])
.controller("heiheihei",function($scope,$http){
$scope.goto=function ();
var hre = 'post1.html?msg=' + $scope.search;
location.href = hre;
}
});
</script>
<section id="wrapper">
<h1>Twitter Search Enginee 1.0</h1>
<div id="main">
<ul id="heiheihei" ng-controller="heiheihei">
<form name="MyForm" method="post">
<input type="text" id="search" >
<input type="submit" class="solid" value="Search by Hadoop" ng-click="goto()" >
</form>
<form name="MyForm" action="post2.html" method="post">
<input type="text" id="search2">
<input type="submit" class="solid" value="Search by Lucene">
</form>
</ul>
</div>
<!--main-->
<!--
<p>Created purely in CSS3 by <a href="http://netastica.net/">Bharani M</a> for <a href="http://www.hongkiat.com">Hongkiat.com</a>. Thanks to <a href="http://sixbase.com">Alvin Thong</a> for creating the .psd version.</p>
-->
</section>
<!--wrapper-->
</body>
</html>