no extra headline for central server
This commit is contained in:
@ -420,11 +420,12 @@ a {
|
||||
if timerange:
|
||||
out.append(f'<h3><a href="/select_experiment?time=all">earlier dates</a></h3><br>')
|
||||
out.append('</table>')
|
||||
if server.db.has_local:
|
||||
out.append('<h3><a href="http://linse-c.psi.ch:8888/">central server</a></h3>')
|
||||
out.append('<h3>direct link to instruments:</h3>')
|
||||
out.extend([f'<a href="http://{ins}.psi.ch:{port}/">{ins.upper()}</a> \n'
|
||||
for ins, port in instruments.items()])
|
||||
if server.db.has_local:
|
||||
out.append('<h3><a href="http://linse-c.psi.ch:8888/">linse-c (central)</a></h3>')
|
||||
|
||||
out.extend(['</body></html>', ''])
|
||||
except Exception as e:
|
||||
logging.error('%s', traceback.format_exc())
|
||||
|
Reference in New Issue
Block a user