Format Join device ids
This commit is contained in:
@@ -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.'
|
||||
|
||||
|
Reference in New Issue
Block a user