PageRenderTime 35ms CodeModel.GetById 23ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

Smarty Template | 80 lines | 74 code | 6 blank | 0 comment | 5 complexity | a0cd8afd65db77dc910912002b471a53 MD5 | raw file
 1<!DOCTYPE html>
 2<html itemscope itemtype="">
 4    <script src="/styles/jquery-1.7.2.min.js" type="text/javascript"></script>
 5    <script src="/styles/bootstrap.js" type="text/javascript"></script>
 7    <link rel="stylesheet" href="/styles/bootstrap.css" type="text/css">
 8    <link rel="stylesheet" href="/styles/home.css" type="text/css">
10    <meta itemprop="name" content="DaveDaveFind">
11    <meta itemprop="image" content="">
12    <meta name="viewport" content="width=device-width, initial-scale=1.0">
14    <title>DaveDaveFind</title>
15    <script type="text/javascript">
17    var _gaq = _gaq || [];
18    _gaq.push(['_setAccount', 'UA-30777226-1']);
19    _gaq.push(['_trackPageview']);
21    (function() {
22        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
23        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
24        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
25    })();
27    </script>
30    <div class="container">
31	    <div class="row">
32		    <div class="span6 offset4" id="searchdiv">
33		        <h1>DaveDave<strong class="orange">Find</strong></h1>
34		        <form action="/search" method="GET" id="searchbox" class="well form-search">
35  				    <input id="searchinput" type="text" name="search_query">
36  				    <button type="submit" class="btn btn-warning"><i class="icon-search icon-white"></i> </button>
37			    </form>
38		    </div>
39	    </div>
40    <div class="navbar navbar-fixed-bottom">
41        <div class="navbar-inner">
42                <ul class="nav pull-left" data-no-collapse="true">
43                    <li class="dropdown" data-no-collapse="true">
44                        <a href="#" class="dropdown-toggle"data-toggle="dropdown">
45                        About
46                        <b class="caret"></b>
47                        </a>
48                        <div class="dropdown-menu infobox" data-no-collapse="true">
49                            <p><strong>DaveDave<span class="orange">Find</span></strong> was built by <a href="">@ecmendenhall</a> with lots of help from <a href="">Udacity</a> and <a href="">David Evans</a>. You can learn to make your own search engine in <a href="">CS101</a>, learn about web applications like this one in <a href="">CS253</a>, read more about this project on its <a href="">development blog</a>, or see the code on <a href="">GitHub</a>.</p>
50      <p>The search crawler and web application were written in <a href="">Python</a>, using the <a href="">Bottle</a> web framework on <a href="">Google App Engine</a>. The crawler code uses <a href="">BeautifulSoup</a> to read HTML, <a href="">Nikita the Spider</a> to read robots.txt files, and the <a href="">DuckDuckGo API</a> to search Python documentation. Pages are styled with <a href="">Twitter Bootstrap</a> and enhanced by <a href="">Glyphicons</a>.</p>
51                        </div>
52                    </li>
53                    <li class="dropdown" data-no-collapse="true">
54                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
55                        Help
56                        <b class="caret"></b>
57                        </a>
58                        <div class="dropdown-menu infobox" data-no-collapse="true">
59                            <p><strong>DaveDave<span class="orange">Find</span></strong> searches the full-text of the <a href="">Udacity website</a>, <a href="">CS101 forums</a>, course documents, and lecture transcripts. It supports multi-word lookup (but sometimes delivers better results for single words).</p>
60      <p>If your search query is found in a video transcript, it will try to link inside the video to the moment the query occurs. If your search query is a common Python-related term, it will try to look up information in the Python documentation. Try searching for the name of a built-in function or standard library module, like <code>str</code> or <code>urllib</code>.</P>
61      <p>The search box also accepts commands inspired by <a href="">bang syntax</a>. Try typing <code>--forum</code> before your search query to search the CS101 discussion forum, <code>--python</code> to search Python documentation, or <code>--daverank</code> to show the DaveRank‌™ for each result underneath its URL.</p> 
62                        </div>
63                    </li>
64                </ul>
65                <div class="pull-right">
66                    <a href="" class="twitter-share-button" data-text="DaveDaveFind: the search engine Udacity promised!" data-related="ecmendenhall">Tweet</a>
67                    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
68                    <g:plusone size="medium"></g:plusone>
69                    <script type="text/javascript">
70                    (function() {
71                        var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
72                        po.src = '';
73                        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
74                    })();
75                    </script>
76                </div>
77            </div>
78    </div>