remove grey background on select_experiments
This commit is contained in:
@ -348,7 +348,6 @@ content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale
|
||||
<style>
|
||||
th {
|
||||
text-align: left;
|
||||
background-color: #cccccc;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
@ -364,7 +363,7 @@ a {
|
||||
if text == prevtitle[0]:
|
||||
return False
|
||||
prevtitle[0] = text
|
||||
out.append(f'<tr><td colspan=3><b>{text}</b></td></tr>')
|
||||
out.append(f'<tr><td colspan=3><h3>{text}</h3></td></tr>')
|
||||
return True
|
||||
|
||||
# TODO: sort this by (instrument / device) and list dates
|
||||
@ -400,7 +399,7 @@ a {
|
||||
else:
|
||||
daterange = f'since {begdate}'
|
||||
if change_title('currently running'):
|
||||
out.append('<tr><td>instrument</td><td>history only</td><td></td></tr>')
|
||||
out.append('<tr><th>instrument</th><th>history only</th><td></td></tr>')
|
||||
else:
|
||||
history_only = True
|
||||
remote = None
|
||||
@ -414,9 +413,9 @@ a {
|
||||
link = f'<a href="/?{"&".join(args)}">'
|
||||
label = " ".join(devices)
|
||||
if remote:
|
||||
out.append(f'<tr><th><a href="{remote}">{ins.upper()}</a></th><th>{link}{label}</a></th>')
|
||||
out.append(f'<tr><td><a href="{remote}">{ins.upper()}</a></td><td>{link}{label}</a></td>')
|
||||
else:
|
||||
out.append(f'<tr><th colspan=2>{link}{key[1]} {label}</a></th>')
|
||||
out.append(f'<tr><td colspan=2>{link}{key[1]} {label}</a></td>')
|
||||
out.append(f'<td>{daterange}</td></tr>')
|
||||
if timerange:
|
||||
out.append(f'<h3><a href="/select_experiment?time=all">earlier dates</a></h3><br>')
|
||||
|
Reference in New Issue
Block a user