mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 20:29:27 +00:00
124 lines
4.2 KiB
HTML
Executable File
124 lines
4.2 KiB
HTML
Executable File
<%
|
|
import headphones
|
|
from headphones import version
|
|
%>
|
|
<!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/StyleSheet.css">
|
|
<link rel="stylesheet" href="css/ColorStyles.css">
|
|
|
|
<script src="js/jquery-1.7.1.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>
|
|
|
|
<!-- Script by Brinken -->
|
|
<script type="text/javascript" src="js/FancyScript.js"></script>
|
|
<!-- Custom Form elements-->
|
|
<script type="text/javascript" src="js/custom-form-elements.js" ></script>
|
|
<!-- jScrollPane -->
|
|
<!-- styles needed by jScrollPane -->
|
|
<link type="text/css" href="css/jquery.jscrollpane.css" rel="stylesheet" media="all" />
|
|
<!-- jScrollPane script -->
|
|
<script type="text/javascript" src="js/jquery.jscrollpane.js" ></script>
|
|
<!-- Mousewheel support -->
|
|
<script type="text/javascript" src="js/jquery.mousewheel.js" ></script>
|
|
<!-- Add to Scrollbars #main -->
|
|
<script>
|
|
$(function(){
|
|
$('.main').jScrollPane();
|
|
});
|
|
</script>
|
|
|
|
${next.headIncludes()}
|
|
|
|
<script src="js/libs/modernizr-1.7.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
% if not headphones.CURRENT_VERSION:
|
|
<div id="updatebar">
|
|
<div class="btnClose" title="Close" >X</div>
|
|
You're running an unknown version of Headphones.
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<a class="update-link" href="update">Update</a>
|
|
</div>
|
|
% elif headphones.CURRENT_VERSION != headphones.LATEST_VERSION and headphones.INSTALL_TYPE != 'win':
|
|
<div id="updatebar">
|
|
<div class="btnClose" title="Close" >X</div>
|
|
A newer version is available. <br />
|
|
You're ${headphones.COMMITS_BEHIND} commits behind.
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<a class="update-link" href="http://github.com/rembo10/headphones/compare/${headphones.CURRENT_VERSION}...${headphones.LATEST_VERSION}">Version</a>
|
|
<a class="update-link" href="update">Update</a>
|
|
</div>
|
|
% endif
|
|
<header>
|
|
|
|
<div id="logo">
|
|
<a href="home"><img src="images/headphoneslogo.png" alt="headphones"></a>
|
|
</div>
|
|
${next.headerIncludes()}
|
|
<div id="searchbar">
|
|
<form action="search" method="get">
|
|
<input type="text" value="" onfocus="if(this.value==this.defaultValue) this.value='';" name="name" accesskey="s" />
|
|
<select name="type">
|
|
<option value="artist">Artist</option>
|
|
<option value="album">Album</option>
|
|
</select>
|
|
<input class="submit" type="submit" value="GO"/>
|
|
</form>
|
|
</div>
|
|
<div class="clear" />
|
|
</header>
|
|
<ul id="nav">
|
|
<li><a class="elseSelect" href="home" accesskey="1">Home</a></li>
|
|
<li><a href="upcoming" accesskey="2">Upcoming</a></li>
|
|
<li><a href="extras" accesskey="3">Suggestions</a></li>
|
|
<li><a href="manage" accesskey="4">Manage</a></li>
|
|
<li><a href="history" accesskey="5">History</a></li>
|
|
<li><a href="logs" accesskey="6">Logs</a></li>
|
|
<li><a href="config" accesskey="7">Settings</a></li>
|
|
</ul>
|
|
<div id="main" class="main">
|
|
${next.body()}
|
|
</div>
|
|
|
|
<footer>
|
|
</footer>
|
|
</div>
|
|
|
|
</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>
|