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>
|
<style>
|
||||||
th {
|
th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: #cccccc;
|
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -364,7 +363,7 @@ a {
|
|||||||
if text == prevtitle[0]:
|
if text == prevtitle[0]:
|
||||||
return False
|
return False
|
||||||
prevtitle[0] = text
|
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
|
return True
|
||||||
|
|
||||||
# TODO: sort this by (instrument / device) and list dates
|
# TODO: sort this by (instrument / device) and list dates
|
||||||
@ -400,7 +399,7 @@ a {
|
|||||||
else:
|
else:
|
||||||
daterange = f'since {begdate}'
|
daterange = f'since {begdate}'
|
||||||
if change_title('currently running'):
|
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:
|
else:
|
||||||
history_only = True
|
history_only = True
|
||||||
remote = None
|
remote = None
|
||||||
@ -414,9 +413,9 @@ a {
|
|||||||
link = f'<a href="/?{"&".join(args)}">'
|
link = f'<a href="/?{"&".join(args)}">'
|
||||||
label = " ".join(devices)
|
label = " ".join(devices)
|
||||||
if remote:
|
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:
|
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>')
|
out.append(f'<td>{daterange}</td></tr>')
|
||||||
if timerange:
|
if timerange:
|
||||||
out.append(f'<h3><a href="/select_experiment?time=all">earlier dates</a></h3><br>')
|
out.append(f'<h3><a href="/select_experiment?time=all">earlier dates</a></h3><br>')
|
||||||
|
Reference in New Issue
Block a user