mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-04 20:19:27 +01:00
Added http_root option to the config
This commit is contained in:
18
templates.py
18
templates.py
@@ -1,3 +1,5 @@
|
||||
from headphones import web_root
|
||||
|
||||
_header = '''
|
||||
<html>
|
||||
<head>
|
||||
@@ -10,7 +12,7 @@ _header = '''
|
||||
<div class="container">'''
|
||||
|
||||
_logobar = '''
|
||||
<div class="logo"><a href="/"><img src="data/images/headphoneslogo.png" border="0">headphones<a></div>
|
||||
<div class="logo"><a href=""><img src="data/images/headphoneslogo.png" border="0">headphones<a></div>
|
||||
<div class="search"><form action="findArtist" method="GET">
|
||||
<input type="text" value="Add an artist" onfocus="if
|
||||
(this.value==this.defaultValue) this.value='';" name="name" />
|
||||
@@ -18,14 +20,14 @@ _logobar = '''
|
||||
'''
|
||||
|
||||
_nav = '''<div class="nav">
|
||||
<a href="/">HOME</a>
|
||||
<a href="/upcoming">UPCOMING</a>
|
||||
<a href="/manage">MANAGE</a>
|
||||
<a href="/history">HISTORY</a>
|
||||
<a href="/config">SETTINGS</a>
|
||||
<a href="">HOME</a>
|
||||
<a href="upcoming">UPCOMING</a>
|
||||
<a href="manage">MANAGE</a>
|
||||
<a href="history">HISTORY</a>
|
||||
<a href="config">SETTINGS</a>
|
||||
<div style="float:right">
|
||||
<a href="/restart" title="Restart"><img src="data/images/restart.png" height="15px" width="15px"></a>
|
||||
<a href="/shutdown" title="Shutdown"><img src="data/images/shutdown.png" height="15px" width="15px"></a>
|
||||
<a href="restart" title="Restart"><img src="data/images/restart.png" height="15px" width="15px"></a>
|
||||
<a href="shutdown" title="Shutdown"><img src="data/images/shutdown.png" height="15px" width="15px"></a>
|
||||
</div>
|
||||
</div>'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user