pub / tw2html

Checks online status of streams on twitch.tv and lets you watch them
git clone https://https://src.jayvii.de/pub/tw2html.git
Home | Log | Files | Exports | Refs | README | RSS

commit 5febfab6e253ff23085f7bf6e4ac4346108a47bc
parent bb2cfe0d47d08823ba272951bb0b76cdf93a5930
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue, 22 Oct 2024 00:13:08 +0200

fix: move streams list to top of the page

Diffstat:
Mindex.php | 30++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/index.php b/index.php @@ -101,6 +101,22 @@ > </form> + <!-- Stream List Form --> + <details id="streams"> + <summary>List of Streams</summary> + <p> + Please enter the Twitch.TV usernames of streams you want to check here, each + separated with a <code>,</code>: + </p> + <form action="/" method="POST"> + <textarea + name="streams" + placeholder="streamerA, streamerB, ..." + ><?php echo implode("," . PHP_EOL, $streams); ?></textarea> + <input type="submit" value="Submit &amp; Reload"> + </form> + </details> + <!-- Streams List --> <?php @@ -157,20 +173,6 @@ ?> - <!-- Stream List Form --> - <h2 id="streams">List of Streams</h2> - <p> - Please enter the Twitch.TV usernames of streams you want to check here, each - separated with a <code>,</code>: - </p> - <form action="/" method="POST"> - <textarea - name="streams" - placeholder="streamerA, streamerB, ..." - ><?php echo implode("," . PHP_EOL, $streams); ?></textarea> - <input type="submit" value="Submit &amp; Reload"> - </form> - </body> </html>