diff options
author | raylu <raylu@mixpanel.com> | 2011-08-09 22:33:17 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-08-09 22:33:17 -0700 |
commit | 8a05f63c5c9d52c0c6165d9785498a13e9306ced (patch) | |
tree | f80dc1293d63c01bfc8264019e1e0323d1c15818 /templates/p.html | |
parent | b5f572860a2a8d94103d2b27a7f170243f885e97 (diff) | |
download | audioaxis-8a05f63c5c9d52c0c6165d9785498a13e9306ced.tar.xz |
add homepage template
Diffstat (limited to 'templates/p.html')
-rw-r--r-- | templates/p.html | 74 |
1 files changed, 31 insertions, 43 deletions
diff --git a/templates/p.html b/templates/p.html index 79971c1..d434052 100644 --- a/templates/p.html +++ b/templates/p.html @@ -1,45 +1,33 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Audio Axis</title> - <!-- - <link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet'> - --> - <link href="/static/cantarell.css" rel="stylesheet"> - <link href="/static/base.css" rel="stylesheet"> -</head> +{{template "header.html"}} -<body> - <header> - <img src="/static/audioaxis-white.png" alt="Audio Axis" class="aa"> - <form onsubmit="return search(this.song.value)"> - <label for="user">Username:</label> - <input type="text" id="user" value="anonymous" size="16"> - <br> - <label for="song">Add a song:</label> - <input type="text" id="song" autocomplete="off"> - <input type="submit" value="Search"> - </form> - <div id="results" onblur="$(this).slideUp()"><ul> - </ul></div> - </header> - <article> - </article> - {{$first := "82KEVKGRAhI"}} - <script> - var pid = '{{.Id}}'; - </script> - <script src="/static/jquery.min.js"></script> - <!-- - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> - --> - <script src="/static/script.js"></script> - <object data="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" id="player" width="1" height="1" type="application/x-shockwave-flash"> - <param name="movie" value="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1"> - <param name="allowScriptAccess" value="always"> - <embed src="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" allowScriptAccess="always"> - </object> -</body> +<header> + <img src="/static/audioaxis-white.png" alt="Audio Axis" class="aa"> + <form onsubmit="return search(this.song.value)"> + <label for="user">Username:</label> + <input type="text" id="user" value="anonymous" size="16"> + <br> + <label for="song">Add a song:</label> + <input type="text" id="song" autocomplete="off"> + <input type="submit" value="Search"> + </form> + <div id="results" onblur="$(this).slideUp()"><ul> + </ul></div> +</header> +<article> +</article> +{{$first := "82KEVKGRAhI"}} +<script> + var pid = '{{.Id}}'; +</script> +<script src="/static/jquery.min.js"></script> +<!-- +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> +--> +<script src="/static/script.js"></script> +<object data="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" id="player" width="1" height="1" type="application/x-shockwave-flash"> + <param name="movie" value="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1"> + <param name="allowScriptAccess" value="always"> + <embed src="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" allowScriptAccess="always"> +</object> -</html> +{{template "footer.html"}} |