mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-18 10:49:26 +00:00
97 lines
3.6 KiB
HTML
Executable File
97 lines
3.6 KiB
HTML
Executable File
<%
|
|
import headphones
|
|
%>
|
|
<!doctype html>
|
|
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
|
|
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
|
|
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
|
|
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
|
|
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
<title>Headphones - ${title}</title>
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="shortcut icon" href="images/favicon.ico">
|
|
<link rel="apple-touch-icon" href="images/headphoneslogo.png">
|
|
<link rel="stylesheet" href="css/style.css?v=2">
|
|
${next.headIncludes()}
|
|
|
|
<script src="js/libs/modernizr-1.7.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<header>
|
|
% if not headphones.CURRENT_VERSION:
|
|
<div id="updatebar">
|
|
You're running an unknown version of Headphones. <a class="blue" href="update">Click here to update</a>
|
|
</div>
|
|
% elif headphones.CURRENT_VERSION != headphones.LATEST_VERSION and headphones.INSTALL_TYPE != 'win':
|
|
<div id="updatebar">
|
|
A <a class="blue" href="http://github.com/rembo10/headphones/compare/${headphones.CURRENT_VERSION}...${headphones.LATEST_VERSION}"> newer version</a> is available. You're ${headphones.COMMITS_BEHIND} commits behind. <a class="blue" href="update">Click here to update</a>
|
|
</div>
|
|
% endif
|
|
<div id="logo">
|
|
<a href="home"><img src="images/headphoneslogo.png" alt="headphones"></a>
|
|
</div>
|
|
<ul id="nav">
|
|
<li><a href="home">home</a></li>
|
|
<li><a href="upcoming">upcoming</a></li>
|
|
<li><a href="extras">extras</a></li>
|
|
<li><a href="manage">manage</a></li>
|
|
<li><a href="history">history</a></li>
|
|
<li><a href="logs">logs</a></li>
|
|
<li><a href="config">settings</a></li>
|
|
</ul>
|
|
<div id="searchbar">
|
|
<form action="findArtist" method="get">
|
|
<input type="text" value="" onfocus="if(this.value==this.defaultValue) this.value='';" name="name" />
|
|
<input type="submit" value="Add Artist"/>
|
|
</form>
|
|
</div>
|
|
<div id="subhead">
|
|
${next.headerIncludes()}
|
|
</div>
|
|
</header>
|
|
|
|
<div id="main" class="main">
|
|
${next.body()}
|
|
</div>
|
|
|
|
<footer>
|
|
<div id="version">
|
|
Version: ${headphones.CURRENT_VERSION}
|
|
</div>
|
|
<div id="donate">
|
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
|
<input type="hidden" name="cmd" value="_s-xclick">
|
|
<input type="hidden" name="hosted_button_id" value="93FFC6WDV97QS">
|
|
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
|
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
|
</form>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
|
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.6.2.min.js"%3E%3C/script%3E'))</script>
|
|
${next.javascriptIncludes()}
|
|
|
|
<script src="js/plugins.js"></script>
|
|
<script src="js/script.js"></script>
|
|
|
|
<!--[if lt IE 7 ]>
|
|
<script src="js/libs/dd_belatedpng.js"></script>
|
|
<script> DD_belatedPNG.fix('img, .png_bg');</script>
|
|
<![endif]-->
|
|
</body>
|
|
</html>
|
|
|
|
<%def name="javascriptIncludes()"></%def>
|
|
<%def name="headIncludes()"></%def>
|
|
<%def name="headerIncludes()"></%def> |