From f605125f74f361066bfccf444412b10d0bf84820 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 8 Feb 2023 12:27:38 -0600 Subject: [PATCH] populate next transition and transition style --- plugins/atem/styles.css | 15 ++++-- plugins/atem/template.ejs | 107 +++++++++++++++++++++++++++++++++----- 2 files changed, 107 insertions(+), 15 deletions(-) diff --git a/plugins/atem/styles.css b/plugins/atem/styles.css index ed7ca69..a1a2a64 100644 --- a/plugins/atem/styles.css +++ b/plugins/atem/styles.css @@ -19,6 +19,12 @@ h3 { border: 1px solid; border-color: #1a1a1a; border-radius: 5px; + width: fit-content; +} + +.empty { + border-color: transparent; + background-color: transparent; } .atem-red { @@ -67,18 +73,21 @@ h3 { } .dsk-rate, -.ftb-rate { +.ftb-rate, +.transition-rate { display: flex; justify-content: center; flex-direction: column; } -.ftb-rate { +.ftb-rate, +.transition-rate { width: 50px; } .dsk-rate-label, -.ftb-rate-label { +.ftb-rate-label, +.transition-rate-label { color: rgb(235, 110, 0); background-color: black; border-radius: 3px; diff --git a/plugins/atem/template.ejs b/plugins/atem/template.ejs index 3775b7a..3d49316 100644 --- a/plugins/atem/template.ejs +++ b/plugins/atem/template.ejs @@ -3,7 +3,6 @@ <% if (data.video.mixEffects) { %> - <% Object.entries(data.video.mixEffects).forEach(([meIndex, state])=>{ %>

ME<%= Number(meIndex) + 1 %>

@@ -17,7 +16,6 @@ <% }) %>
-

Preview

@@ -28,21 +26,106 @@ <% }) %>
- - - +
+
+
+
MIX
+
+
+
DIP
+
+
+
WIPE
+
+
+
STING
+
+
+
DVE
+
+
+ +
+
+
+ +
+
+
+
PREV
TRANS
+
+
+
+
+
CUT
+
+
+
AUTO
+
+
+
Rate
+
1:00
+
+
+
+

Fade to Black

-
+
Rate
1:00
@@ -68,14 +151,14 @@
TIE
-
+
Rate
1:00
-
ON
AIR
+
+
ON
AIR
-
AUTO