diff options
| author | Volpeon <git@volpeon.ink> | 2021-03-10 21:12:01 +0100 | 
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-03-10 21:12:01 +0100 | 
| commit | 86714dbe92c188045d46e30448f6d2056958de68 (patch) | |
| tree | 24ac346ef91cf63a01a922450be3b0f585d4cd76 | |
| parent | Init (diff) | |
| download | livestream-irc-86714dbe92c188045d46e30448f6d2056958de68.tar.gz livestream-irc-86714dbe92c188045d46e30448f6d2056958de68.tar.bz2 livestream-irc-86714dbe92c188045d46e30448f6d2056958de68.zip | |
| -rw-r--r-- | index.html | 4 | ||||
| -rw-r--r-- | script.js | 4 | ||||
| -rw-r--r-- | style.css | 6 | 
3 files changed, 7 insertions, 7 deletions
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | <body> | 14 | <body> | 
| 15 | <section class="c-section c-section--create"> | 15 | <section class="c-section c-section--create"> | 
| 16 | <form class="c-form" action="index.html" method="GET"> | 16 | <form class="c-form" action="" method="GET"> | 
| 17 | <label class="c-form-field"> | 17 | <label class="c-form-field"> | 
| 18 | <div class="c-form-field__label">Title</div> | 18 | <div class="c-form-field__label">Title</div> | 
| 19 | <input class="c-form-field__input" name="title" /> | 19 | <input class="c-form-field__input" name="title" /> | 
| @@ -47,7 +47,7 @@ | |||
| 47 | <section class="c-section c-section--main u-hidden"> | 47 | <section class="c-section c-section--main u-hidden"> | 
| 48 | <div class="c-msg"> | 48 | <div class="c-msg"> | 
| 49 | <p class="c-msg__content"> | 49 | <p class="c-msg__content"> | 
| 50 | <a class="c-irc-link" href="ircs://irc.vulpes.one:6697/livestream">Join #livestream on irc.vulpes.one</a> | 50 | <a class="c-irc-link">Join #livestream on irc.vulpes.one</a> | 
| 51 | </p> | 51 | </p> | 
| 52 | <button class="c-msg__close"> | 52 | <button class="c-msg__close"> | 
| 53 | <div class="c-close-icon"></div> | 53 | <div class="c-close-icon"></div> | 
| @@ -25,12 +25,12 @@ | |||
| 25 | return; | 25 | return; | 
| 26 | } | 26 | } | 
| 27 | 27 | ||
| 28 | const normalizedircUrl = ircUrl.startsWith("irc://") | 28 | const normalizedIrcUrl = ircUrl.startsWith("irc://") | 
| 29 | ? ircUrl.substring(6) | 29 | ? ircUrl.substring(6) | 
| 30 | : ircUrl.startsWith("ircs://") | 30 | : ircUrl.startsWith("ircs://") | 
| 31 | ? ircUrl.substring(7) | 31 | ? ircUrl.substring(7) | 
| 32 | : ircUrl; | 32 | : ircUrl; | 
| 33 | const ircUrlComponents = normalizedircUrl.split("/"); | 33 | const ircUrlComponents = normalizedIrcUrl.split("/"); | 
| 34 | 34 | ||
| 35 | if (ircUrlComponents.length !== 2) { | 35 | if (ircUrlComponents.length !== 2) { | 
| 36 | return; | 36 | return; | 
| @@ -51,8 +51,8 @@ p { | |||
| 51 | 51 | ||
| 52 | iframe { | 52 | iframe { | 
| 53 | display: block; | 53 | display: block; | 
| 54 | width: 100%; | 54 | width: 100%; | 
| 55 | height: 100%; | 55 | height: 100%; | 
| 56 | } | 56 | } | 
| 57 | 57 | ||
| 58 | input { | 58 | input { | 
| @@ -126,7 +126,7 @@ button:focus { | |||
| 126 | .c-form-field__label { | 126 | .c-form-field__label { | 
| 127 | font-size: 15px; | 127 | font-size: 15px; | 
| 128 | font-weight: bold; | 128 | font-weight: bold; | 
| 129 | color: var(--fg-lo); | 129 | color: var(--fg-lo); | 
| 130 | } | 130 | } | 
| 131 | 131 | ||
| 132 | .c-form-field__help { | 132 | .c-form-field__help { | 
