Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
746212e9
Commit
746212e9
authored
8 years ago
by
Chad Hanna
Browse files
Options
Downloads
Patches
Plain Diff
vis: update vis
parent
7ba5a32a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gstlal-ugly/share/vis/gstlal
+24
-17
24 additions, 17 deletions
gstlal-ugly/share/vis/gstlal
gstlal-ugly/share/vis/gstlal.css
+1
-1
1 addition, 1 deletion
gstlal-ugly/share/vis/gstlal.css
gstlal-ugly/share/vis/gstlal.js
+167
-43
167 additions, 43 deletions
gstlal-ugly/share/vis/gstlal.js
with
192 additions
and
61 deletions
gstlal-ugly/share/vis/gstlal
+
24
−
17
View file @
746212e9
...
...
@@ -13,8 +13,8 @@ else:
gps = "-1"
if gps == "-1":
refresh =
5
longrefresh =
6
0
refresh =
0
longrefresh = 0
else:
refresh = 0
longrefresh = 0
...
...
@@ -48,7 +48,7 @@ print '''
<script
type=
"text/javascript"
src=
"../jquery-3.1.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"../gstlal.js"
></script>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
,
'
table
'
]});
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
,
'
table
'
,
'
gauge
'
]});
'''
print " google.charts.setOnLoadCallback(function(){ drawLatencyStatusByNodes(%s,%s,%d,
'
%
s
'
,
'
%
s
'
) });" % (gps, duration, longrefresh, analysis_path, job_ids)
...
...
@@ -72,12 +72,13 @@ print " google.charts.setOnLoadCallback(function(){ drawUpTimeGauge(%s,%s,%d,'%s
print " google.charts.setOnLoadCallback(function(){ drawDroppedData(%s,%s,%d,
'
%
s
'
,
'
%
s
'
) });" % (gps, duration, longrefresh, analysis_path, job_ids)
print " google.charts.setOnLoadCallback(function(){ drawRAMStatus(%s,%s,%d,
'
%
s
'
,
'
%
s
'
) });" % (gps, duration, longrefresh, analysis_path, job_ids)
print " google.charts.setOnLoadCallback(function(){ drawTimeSinceLast(%s,%s,%d,
'
%
s
'
,
'
%
s
'
) });" % (gps, duration, refresh, analysis_path, job_ids)
print " google.charts.setOnLoadCallback(function(){ drawTimeSinceTrigger(%s,%s,%d,
'
%
s
'
,
'
%
s
'
) });" % (gps, duration, longrefresh, analysis_path, job_ids)
print
'''
</script>
</head>
<body>
<body
style=
"background-color: #2c3e50;"
>
<form>
<!-- <div class=topbox> -->
<ul
class=
"tab"
>
...
...
@@ -86,13 +87,14 @@ print '''
<!-- <li><a href="#dashboard" class="tablinks" onclick="openGstlalTab(event, 'Dashboard')">Dashboard</a></li>-->
<!-- <li><a href="#events" class="tablinks" onclick="openGstlalTab(event, 'Events')">Events</a></li> -->
<li><a
href=
"#summary"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Summary')"
>
Results
</a></li>
<li><a
href=
"#status"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Status', time_since_last_wrapper, up_time_wrapper, dropped_wrapper, ram_status_wrapper)"
>
Live Status
</a></li>
<li><a
href=
"#status"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Status', time_since_last_wrapper,
time_since_trigger_wrapper,
up_time_wrapper, dropped_wrapper, ram_status_wrapper)"
>
Live Status
</a></li>
<li><a
href=
"#sens"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Sensitivity', horizon_wrapper, psd_wrapper)"
>
Live Sensitivity
</a></li>
<li><a
href=
"#noise"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Noise', noise_wrapper)"
>
Live Noise
</a></li>
<li><a
href=
"#latency"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Latency', latency_status_by_nodes_wrapper, latency_history_wrapper)"
>
Live Latency
</a></li>
<li><a
href=
"#snr"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'SNR', snr_status_by_nodes_wrapper, snr_history_wrapper, likelihood_status_by_nodes_wrapper, likelihood_history_wrapper, far_status_by_nodes_wrapper, far_history_wrapper)"
>
Live SNR
</a></li>
<li><a
href=
"#detchar"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Detchar')"
>
Detchar
</a></li>
<li><a
href=
"#logs"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Logs')"
>
Logs
</a></li>
<li><a
href=
"#doc"
class=
"tablinks"
onclick=
"openGstlalTab(event, 'Doc')"
>
Run Documentation
</a></li>
<li>
'''
print '
<input
type=
"text"
name=
"GPS"
value=
"%s"
size=
8
style=
"margin: 7px 5px 5px 5px;"
><input
type=
"submit"
value=
"GPS"
style=
"margin: 7px 5px 5px 5px;"
>
' % (gps,)
...
...
@@ -138,6 +140,10 @@ else:
print '''
</div>
<div
id=
"Doc"
class=
"tabcontent"
>
<iframe
src=
"https://www.lsc-group.phys.uwm.edu/ligovirgo/cbcnote/gstlal/O2searchPlan"
></iframe>
</div>
<!--
<div id="Events" class="tabcontent">
<iframe src="https://gracedb.ligo.org/latest/?query=gstlal" width=100% height=675></iframe>
...
...
@@ -145,34 +151,35 @@ print '''
-->
<div
id=
"Noise"
class=
"tabcontent"
>
<div
id=
"noise_wrapper"
></div>
<div
id=
"noise_wrapper"
></div>
<br>
<div
id=
"noise_table_wrapper"
></div>
</div>
<div
id=
"Sensitivity"
class=
"tabcontent"
>
<div
id=
"horizon_wrapper"
></div>
<div
id=
"psd_wrapper"
></div>
<div
id=
"horizon_wrapper"
></div>
<br>
<div
id=
"psd_wrapper"
></div>
<br>
<div
id=
"horizon_table_wrapper"
></div>
</div>
<div
id=
"Latency"
class=
"tabcontent"
>
<div
id=
"latency_status_by_nodes_wrapper"
></div>
<div
id=
"latency_status_by_nodes_wrapper"
></div>
<br>
<div
id=
"latency_history_wrapper"
></div>
</div>
<div
id=
"SNR"
class=
"tabcontent"
>
<div
id=
"snr_status_by_nodes_wrapper"
></div>
<div
id=
"snr_history_wrapper"
></div>
<div
id=
"likelihood_status_by_nodes_wrapper"
></div>
<div
id=
"likelihood_history_wrapper"
></div>
<div
id=
"far_status_by_nodes_wrapper"
></div>
<div
id=
"snr_status_by_nodes_wrapper"
></div>
<br>
<div
id=
"snr_history_wrapper"
></div>
<br>
<div
id=
"likelihood_status_by_nodes_wrapper"
></div>
<br>
<div
id=
"likelihood_history_wrapper"
></div>
<br>
<div
id=
"far_status_by_nodes_wrapper"
></div>
<br>
<div
id=
"far_history_wrapper"
></div>
</div>
<div
id=
"Status"
class=
"tabcontent"
>
<div
id=
"time_since_last_wrapper"
></div>
<div
id=
"up_time_wrapper"
></div>
<div
id=
"dropped_wrapper"
></div>
<div
id=
"time_since_last_wrapper"
></div><br>
<div
id=
"time_since_trigger_wrapper"
></div><br>
<div
id=
"up_time_wrapper"
></div><br>
<div
id=
"dropped_wrapper"
></div><br>
<div
id=
"ram_status_wrapper"
></div>
</div>
<div
id=
"Summary"
class=
"tabcontent"
>
...
...
This diff is collapsed.
Click to expand it.
gstlal-ugly/share/vis/gstlal.css
+
1
−
1
View file @
746212e9
...
...
@@ -51,7 +51,7 @@ ul.tab li a:focus, .active {background-color: #ccc;}
}
div
.tabcontent
{
width
:
100
%
;
width
:
95
%
;
height
:
20%
;
}
...
...
This diff is collapsed.
Click to expand it.
gstlal-ugly/share/vis/gstlal.js
+
167
−
43
View file @
746212e9
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment