-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (81 loc) · 4.54 KB
/
index.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OBS Setting Generator</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="js/setting.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<div class="container my-5">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title">OBS 場景設定檔產生</h5>
<p class="card-text">參考<a href="https://hackmd.io/BN5NWvpQSIuH-vvJJcyHDg?view">實況架設</a>架設聊天室後端<br>注:Youtube 通常沒在用</p>
</div>
<hr>
<form class="card-body" id="obsForm">
<!-- comment -->
<div class="form-group">
<label for="cssFormControlTextarea">Comment CSS</label>
<textarea class="form-control" id="cssFormControlTextarea" rows="10"></textarea>
</div>
<div class="form-group">
<label for="commentURLInput">Comment URL</label>
<input class="form-control" type="text" id="commentURLInput" placeholder="" value="https://c.nisra.net/messages">
</div>
<a href="https://c.nisra.net/admin" target="_blank" rel="noopener noreferrer" class="btn btn-primary mb-3">Admin Page</a>
<div class="form-inline">
<div class="form-group">
<label class="my-1 mr-2" for="SlidoInput">Slido hash</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="SlidoInput" placeholder="" value="">
</div>
<div class="form-group">
<label class="my-1 mr-2" for="YoutubeInput">Youtube stream id</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="YoutubeInput" placeholder="" value="">
</div>
</div>
<hr>
<!-- main bg -->
<div class="form-inline">
<div class="form-group">
<label class="my-1 mr-2" for="titleInput">標題</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="titleInput" placeholder="" value="">
</div>
<div class="form-group">
<label class="my-1 mr-2" for="speakerInput">講者</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="speakerInput" placeholder="" value="">
</div>
</div>
<div class="form-inline">
<div class="form-group">
<label class="my-1 mr-2" for="OffInput">Off text</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="OffInput" placeholder="" value="">
</div>
<div class="form-group">
<label class="my-1 mr-2" for="ByeInput">Bye text</label>
<input class="form-control mb-2 mr-sm-2" type="text" id="ByeInput" placeholder="" value="">
</div>
</div>
<div class="form-inline">
<label class="my-1 mr-2">BG color: </label>
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-dark">
<input type="radio" name="bg" id="bgToggleBlack" value="black" autocomplete="off" checked> Black
</label>
<label class="btn btn-light">
<input type="radio" name="bg" id="bgToggleWhite" value="white" autocomplete="off"> White
</label>
</div>
</div>
<button type="submit" id="formSubmitBtn1" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</body>
</html>