aboutsummaryrefslogtreecommitdiff
path: root/views/channel.html
blob: a1c13b5742dd6bf23db76a54f0e2c7c3f7ab8db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<h2>Create a channel</h2>

<h3>Channel created with given password</h3>

<form>
	<label for="channel">Channel ID</label>
	<input type="text" value="{{channel}}" readonly id="channel">
	<br>
	<label for="url">URL</label>
	<input type="text" value="{{url}}" readonly id="url">
</form>

<style type="text/css">
	label {
		display: inline-block;
		width: 100px;
	}
</style>

<script type="text/javascript">
	channel.addEventListener("click", function(event) {
		this.select();
	});
	
	url.addEventListener("click", function(event) {
		this.select();
	});
</script>