Merge branch 'master' of https://github.com/RuudBurger/CouchPotatoServer
This commit is contained in:
@@ -48,7 +48,7 @@ class CPLog(object):
|
|||||||
else:
|
else:
|
||||||
msg = msg % ss(replace_tuple)
|
msg = msg % ss(replace_tuple)
|
||||||
except:
|
except:
|
||||||
self.error('Failed encoding stuff to log: %s' % traceback.format_exc())
|
self.logger.error(u'Failed encoding stuff to log: %s' % traceback.format_exc())
|
||||||
|
|
||||||
if not Env.get('dev'):
|
if not Env.get('dev'):
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class Logging(Plugin):
|
|||||||
|
|
||||||
return jsonified({
|
return jsonified({
|
||||||
'success': True,
|
'success': True,
|
||||||
'log': log,
|
'log': toUnicode(log),
|
||||||
'total': total,
|
'total': total,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
width: 14%;
|
width: 14%;
|
||||||
color: lightgrey;
|
color: lightgrey;
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page.log .container .time:last-child { display: none; }
|
.page.log .container .time:last-child { display: none; }
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ class Env(object):
|
|||||||
_appname = 'CouchPotato'
|
_appname = 'CouchPotato'
|
||||||
|
|
||||||
''' Environment variables '''
|
''' Environment variables '''
|
||||||
_encoding = ''
|
_encoding = 'UTF-8'
|
||||||
_debug = False
|
_debug = False
|
||||||
_dev = False
|
_dev = False
|
||||||
_settings = Settings()
|
_settings = Settings()
|
||||||
|
|||||||
@@ -581,7 +581,7 @@ body > .spinner, .mask{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.messages {
|
.messages {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|||||||
Reference in New Issue
Block a user