mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Format Join device ids
This commit is contained in:
parent
9e764248d3
commit
65eab801e8
2 changed files with 12 additions and 1 deletions
|
@ -2955,3 +2955,13 @@ a.no-highlight:hover {
|
|||
min-width: 150px;
|
||||
max-width: 250px;
|
||||
}
|
||||
.inline-pre {
|
||||
font-family: monospace;
|
||||
margin: 0 2px;
|
||||
padding: 2px 5px;
|
||||
font-size: 13px;
|
||||
color: #fff;
|
||||
background-color: #555;
|
||||
border: 0px solid #444;
|
||||
border-radius: 3px;
|
||||
}
|
|
@ -2634,7 +2634,8 @@ class JOIN(object):
|
|||
return {'': ''}
|
||||
|
||||
def return_config_options(self):
|
||||
devices = '<br>'.join(['%s: %s' % (v, k) for k, v in self.get_devices().iteritems() if k])
|
||||
devices = '<br>'.join(['%s: <span class="inline-pre">%s</span>'
|
||||
% (v, k) for k, v in self.get_devices().iteritems() if k])
|
||||
if not devices:
|
||||
devices = 'Enter your Join API key to load your device list.'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue