youtube_live_calendar/views/admin/new-channel.ejs

26 lines
857 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add New Channel</title>
</head>
<body>
<h1>Add New Channel</h1>
<form action="/admin/channels/new" method="POST">
<label for="name">Channel Name (Optional):</label>
<input type="text" id="name" name="name">
<br>
<label for="channel_handle">Channel Handle (e.g., @example):</label>
<input type="text" id="channel_handle" name="channel_handle">
<br>
<label for="youtube_id">YouTube ID (e.g., UC_xxx...):</label>
<input type="text" id="youtube_id" name="youtube_id">
<br>
<p>Note: Either 'Channel Handle' or 'YouTube ID' must be provided.</p>
<button type="submit">Add Channel</button>
</form>
<a href="/admin/channels">Back to Channel List</a>
</body>
</html>