Minor interface changes

This commit is contained in:
Remy
2011-05-25 15:41:45 -07:00
parent 1a233d7db1
commit 5eb96455bc
4 changed files with 5 additions and 4 deletions

View File

@@ -89,7 +89,8 @@ form = '''<div class="table"><div class="config">
<input type="checkbox" name="cleanup" value="1" %s/>Delete leftover files</td></td></tr>
<tr><td><br /><p>Album Art:</p>
<input type="checkbox" name="add_album_art" value="1" %s/>Add album art</td></tr></table>
<p class="center"><input type="submit" value=" Save Changes "/></p></form></div></div>''' % (http_host, http_username,
<p class="center"><input type="submit" value=" Save Changes "/><br />
(For now, all changes require a restart to take effect)</p></form></div></div>''' % (http_host, http_username,
http_port, http_password, var_to_chk(launch_browser), sab_host, sab_username, sab_apikey, sab_password,
sab_category, music_download_dir, usenet_retention, var_to_chk(nzbmatrix), nzbmatrix_username, nzbmatrix_apikey,
var_to_chk(include_lossless), var_to_chk(flac_to_mp3), var_to_chk(move_to_itunes), path_to_itunes, var_to_chk(rename_mp3s),

View File

@@ -81,7 +81,7 @@ h1{
}
.center{
text-align: center;
font-size: 28px;
font-size: 18px;
}
.smalltext{
font-size: 11px;

View File

@@ -7,6 +7,7 @@ import feedparser
import sqlite3
import re
config = ConfigObj(config_file)
General = config['General']
NZBMatrix = config['NZBMatrix']
@@ -30,7 +31,7 @@ else:
maxsize = 250000000
def searchNZB(albumid=None):
conn=sqlite3.connect(database)
c=conn.cursor()

View File

@@ -373,7 +373,6 @@ class Headphones:
General['add_album_art'] = add_album_art
configs.write()
reload(config)
raise cherrypy.HTTPRedirect("/config")