mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-20 19:59:26 +00:00
118 lines
5.0 KiB
HTML
118 lines
5.0 KiB
HTML
<%
|
|
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="Headphones 'Lossless' templates version 1.0 - made by Elmar Kouwenhoven">
|
|
<meta name="author" content="Elmar Kouwenhoven">
|
|
|
|
<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="interfaces/default/css/style.css">
|
|
<link rel="stylesheet" href="interfaces/default/css/jquery-ui.css">
|
|
${next.headIncludes()}
|
|
|
|
<script src="js/libs/modernizr-1.7.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<div id="ajaxMsg"></div>
|
|
% if not headphones.CURRENT_VERSION:
|
|
<div id="updatebar">
|
|
You're running an unknown version of Headphones. <a href="update">Update</a> or
|
|
<a href="#" onclick="$('#updatebar').slideUp('slow');">Close</a>
|
|
</div>
|
|
% elif headphones.CURRENT_VERSION != headphones.LATEST_VERSION and headphones.INSTALL_TYPE != 'win':
|
|
<div id="updatebar">
|
|
A <a 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 href="update">Update</a> or <a href="#" onclick="$('#updatebar').slideUp('slow');">Close</a>
|
|
</div>
|
|
% endif
|
|
|
|
<header>
|
|
<div class="wrapper">
|
|
<div id="logo">
|
|
<a href="home"><img src="images/headphoneslogo.png" alt="headphones"></a>
|
|
</div>
|
|
<ul id="nav">
|
|
<li><a href="upcoming">wanted</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" class="log">logs</a></li>
|
|
<li><a href="config" class="config"><img src="interfaces/default/images/icon_gear.png" alt="settings"/></a></li>
|
|
</ul>
|
|
<div id="searchbar">
|
|
<form action="search" method="get">
|
|
<input type="text" value="" placeholder="Search" onfocus="if(this.value==this.defaultValue) this.value='';" name="name" />
|
|
<span class="mini-icon"></span>
|
|
<select name="type">
|
|
<option value="artist">Artist</option>
|
|
<option value="album">Album</option>
|
|
</select>
|
|
<input type="submit" value="Add"/>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</header>
|
|
|
|
<div id="main" class="main">
|
|
<div id="subhead">
|
|
${next.headerIncludes()}
|
|
</div>
|
|
${next.body()}
|
|
</div>
|
|
|
|
<footer>
|
|
<div id="actions">
|
|
<small>
|
|
<a href="shutdown"><span class="ui-button-icon-primary ui-icon ui-icon-power"></span>Shutdown</a> |
|
|
<a href="restart"><span class="ui-button-icon-primary ui-icon ui-icon-power"></span>Restart</a> |
|
|
<a href="#" onclick="doAjaxCall('checkGithub',$(this))" data-success="Checking for update succesful" data-error="Error checking update"><span class="ui-icon ui-icon-refresh"></span>Check for new version</a>
|
|
</small>
|
|
</div>
|
|
<div id="donate">
|
|
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=elmarkou%40gmail%2ecom&lc=NL&item_name=I%20Like%20to%20donate%20because%20of%20this%20awesome%20Headphones%20Template&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest" target="_blank"><img src="interfaces/default/images/icon_like.png" /><small> I like this interface!</small></a>
|
|
</div>
|
|
<div id="version">
|
|
Version: <em>${headphones.CURRENT_VERSION}</em>
|
|
%if version.HEADPHONES_VERSION != 'master':
|
|
(${version.HEADPHONES_VERSION})
|
|
%endif
|
|
</div>
|
|
</footer>
|
|
<a href="#main" id="toTop"><span>Back to top</span></a>
|
|
</div>
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.7.2.min.js"%3E%3C/script%3E'))</script>
|
|
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.19/jquery-ui.min.js"></script>
|
|
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-ui.min.js"%3E%3C/script%3E'))</script>
|
|
${next.javascriptIncludes()}
|
|
|
|
<script src="js/plugins.js"></script>
|
|
<script src="interfaces/default/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]-->
|
|
<!-- This template is made by Elmar Kouwenhoven -->
|
|
</body>
|
|
</html>
|
|
|
|
<%def name="javascriptIncludes()"></%def>
|
|
<%def name="headIncludes()"></%def>
|
|
<%def name="headerIncludes()"></%def>
|