From 3a0b5da64fef99b883e8015a14f6bd9b7b8e6287 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 2 Mar 2023 15:04:48 +0000 Subject: [PATCH] add copy code thingy hehe --- html/poketube-iframe.ejs | 45 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/html/poketube-iframe.ejs b/html/poketube-iframe.ejs index db36273a..56d76f4c 100644 --- a/html/poketube-iframe.ejs +++ b/html/poketube-iframe.ejs @@ -1,3 +1,4 @@ + @@ -57,6 +58,30 @@ height: 100%; } + + + + <% if (type == "copy_code") { %> + + +

+ + copy the html code to embed this webpage bellow:

+ + + <% } %> + + <% if (type !== "copy_code") { %> @@ -64,9 +89,6 @@ height: 100%; - - -
@@ -146,7 +168,24 @@ height: 100%; <% } %> + <% } %> + <% } %> +