mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-08 07:13:39 +00:00
style tweaks
This commit is contained in:
@@ -25,6 +25,8 @@ table td {
|
||||
width: 20px;
|
||||
height: 90px;
|
||||
margin: 0px auto;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
|
||||
border-radius: 7px;
|
||||
border: #111 1px solid;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<h2><%= data.version || "" %></h2>
|
||||
</header>
|
||||
|
||||
<% for(let i=1; i<=4; i++){ %> <% let ch = data.channels[i]; %>
|
||||
<% for(let i=1; i<=data.channelCount; i++){ %> <% let ch = data.channels[i]; %>
|
||||
<table class="channel">
|
||||
<tr>
|
||||
<td colspan="3"><small><%= i %></small></td>
|
||||
@@ -19,21 +19,21 @@
|
||||
class="bar"
|
||||
style="height: <%= 90- ((ch.rx_rf_lvl + 90) * 2) %>"></div>
|
||||
</div>
|
||||
<small><%= ch.rx_rf_lvl %><br />dBm</small>
|
||||
<small><%= ch.rx_rf_lvl %><br /><small>dBm</small></small>
|
||||
</td>
|
||||
<td>
|
||||
<small>audio</small>
|
||||
<div class="bar-wrapper green">
|
||||
<div class="bar" style="height: <%= 90- (ch.audio_lvl * 2) %>"></div>
|
||||
</div>
|
||||
<small><%= ch.audio_lvl %><br />dBFS</small>
|
||||
<small><%= ch.audio_lvl %><br /><small>dBFS</small></small>
|
||||
</td>
|
||||
<td>
|
||||
<small>gain</small>
|
||||
<div class="bar-wrapper pink">
|
||||
<div class="bar" style="height: <%= 60- (ch.audio_gain * 1.4) %>"></div>
|
||||
</div>
|
||||
<small><%= ch.audio_gain %><br />dB</small>
|
||||
<small><%= ch.audio_gain %><br /><small>dB</small></small>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user