2
2
< html >
3
3
4
4
< head >
5
- < title >
6
- NESHouse.com
7
- </ title >
8
- < meta charset ="UTF-8 ">
9
- < link href ="https://fonts.loli.net/css?family=Press+Start+2P " rel ="stylesheet ">
10
- < link href ="css/bulma.min.css " rel ="stylesheet " type ="text/css " />
11
- < link href ="css/nes.min.css " rel ="stylesheet " type ="text/css " />
12
- < link href ="css/style.css " rel ="stylesheet " type ="text/css " />
13
- < script src ="js/alpine.min.js "> </ script >
5
+ < title >
6
+ NESHouse.com
7
+ </ title >
8
+ < meta charset ="UTF-8 ">
9
+ < link href ="https://fonts.loli.net/css?family=Press+Start+2P " rel ="stylesheet ">
10
+ < link href ="css/bulma.min.css " rel ="stylesheet " type ="text/css " />
11
+ < link href ="css/nes.min.css " rel ="stylesheet " type ="text/css " />
12
+ < link href ="css/style.css " rel ="stylesheet " type ="text/css " />
13
+ < script src ="js/alpine.min.js "> </ script >
14
14
15
- < script src ="js/config.js?v=20210207001 "> </ script >
16
- < script src ="js/av-live-query-min.js "> </ script >
17
- < script src ="js/admin.js?v=20210207001 "> </ script >
15
+ < script src ="js/config.js?v=20210207001 "> </ script >
16
+ < script src ="js/av-live-query-min.js "> </ script >
17
+ < script src ="js/admin.js?v=20210207001 "> </ script >
18
18
</ head >
19
19
20
20
</ html >
21
21
22
22
< body x-data ="admin() " x-init ="init() ">
23
- < div class ="columns is-centered ">
24
- < div class ="column is-half ">
25
- <!-- header -->
26
- < div class ="header ">
27
- < h1 class ="title ">
28
- NESHouse.com
29
- </ h1 >
30
- < h2 >
31
- Please share this page with caution. Anyone who opens this page has super administrator rights.
32
- </ h2 >
33
- </ div >
34
- <!-- header end -->
35
- <!-- register -->
36
- < div class ="container ">
37
- < h3 class ="title ">
38
- Create a Room
39
- </ h3 >
40
- < div class ="register-form ">
41
- < div class ="nes-field ">
42
- < label for ="name_field ">
43
- Room Name
44
- </ label >
45
- < input class ="nes-input " id ="name_field " type ="text " x-model ="roomName " />
46
- </ div >
47
- < div x-show ="!usernameExist " class ="nes-field ">
48
- < label for ="name_field ">
49
- Your nickname
50
- </ label >
51
- < input class ="nes-input " id ="nickName " type ="text " x-model ="nickName " />
52
- </ div >
53
- < button class ="nes-btn is-primary mt-2 " type ="button " x-bind:class ="{'is-disabled':roomId} "
54
- x-on:click ="createRoom() ">
55
- Create
56
- </ button >
57
- < button x-show ="usernameExist " class ="nes-btn mt-2 " type ="button " @click ="createNewUser() ">
58
- Change User
59
- </ button >
60
- </ div >
61
- </ div >
62
- <!-- register end -->
23
+ < div class ="columns is-centered ">
24
+ < div class ="column is-half " style ="width: 60%; ">
25
+ <!-- header -->
26
+ < div class ="header ">
27
+ < h1 class ="title ">
28
+ NESHouse.com
29
+ </ h1 >
30
+ < h2 >
31
+ Please share this page with caution. Anyone who opens this page has super administrator rights.
32
+ </ h2 >
33
+ </ div >
34
+ <!-- header end -->
35
+ <!-- register -->
36
+ < div class ="container ">
37
+ < h3 class ="title ">
38
+ Create a Room
39
+ </ h3 >
40
+ < div class ="register-form ">
41
+ < div class ="nes-field ">
42
+ < label for ="name_field ">
43
+ Room Name
44
+ </ label >
45
+ < input class ="nes-input " id ="name_field " type ="text " x-model ="roomName " />
46
+ </ div >
47
+ < div x-show ="!usernameExist " class ="nes-field ">
48
+ < label for ="name_field ">
49
+ Your nickname
50
+ </ label >
51
+ < input class ="nes-input " id ="nickName " type ="text " x-model ="nickName " />
52
+ </ div >
53
+ < div style ="display: flex; text-align: center; ">
54
+ < button class ="nes-btn is-primary mt-2 " type ="button " x-bind:class ="{'is-disabled':roomId} "
55
+ x-on:click ="createRoom() ">
56
+ Create
57
+ </ button >
58
+ < button x-show ="usernameExist " class ="nes-btn mt-2 " type ="button " @click ="createNewUser() ">
59
+ Change User
60
+ </ button >
61
+ </ div >
62
+ </ div >
63
+ </ div >
64
+ <!-- register end -->
63
65
64
- <!-- share -->
65
- < div class ="container " id ="control " x-show ="isShowShareArea ">
66
- < h3 class ="title ">
67
- Share
68
- </ h3 >
69
- < div class ="avatar ">
70
- < textarea id ="textarea_field " x-model ="shareText " style ="min-height: 7em; "
71
- class ="nes-textarea "> </ textarea >
66
+ <!-- share -->
67
+ < div class ="container " id ="control " x-show ="isShowShareArea ">
68
+ < h3 class ="title ">
69
+ Share
70
+ </ h3 >
71
+ < div class ="avatar ">
72
+ < textarea id ="textarea_field " x-model ="shareText " style ="min-height: 7em; " class ="nes-textarea "> </ textarea >
72
73
73
- < div class ="columns is-desktop ">
74
- < div class ="column is-two-fifths ">
75
- < button class ="nes-btn is-primary " type ="button " x-on:click ="copyLink ">
76
- Copy & Share
77
- </ button >
78
- </ div >
79
- </ div >
80
- < button class ="nes-btn is-success " type ="button " x-on:click ="loginAsAdmin ">
81
- Log in to the room as Administrator
82
- </ button >
83
- </ div >
84
- </ div >
85
- <!-- share end -->
86
- < div style ="margin-top: 10px; ">
87
- < p > Designed & developed by < a href ="https://github.com/bestony "> Bestony</ a > , co-developed by < a
88
- href ="https://github.com/johnpoint "> johnpoint</ a >
89
- </ p >
90
- < p > Sponsored by: < a href ="https://leancloud.app/ "> LeanCloud</ a > , < a
91
- href ="https://www.agora.io/cn/?utm_source=opensource&utm_medium=refferal&utm_campaign=clubhouseB "> Agora</ a >
92
- & < a href ="https://www.ipip.net/ "> IPIP.net</ a > </ p >
93
- < p > Media partner: < a href ="http://dao.fm/ "> 津津乐道播客</ a > </ p >
74
+ < div class ="columns is-desktop " style ="padding-top: 25px ">
75
+ < div class ="column is-two-fifths ">
76
+ < div style ="display: flex; text-align: center; ">
77
+ < button class ="nes-btn is-primary " type ="button " x-on:click ="copyLink ">
78
+ Copy & Share
79
+ </ button >
80
+ < button class ="nes-btn is-success " type ="button " x-on:click ="loginAsAdmin ">
81
+ Log in to the room as Administrator
82
+ </ button >
83
+ </ div >
94
84
</ div >
85
+ </ div >
95
86
</ div >
87
+ </ div >
88
+ <!-- share end -->
89
+ < div style ="margin-top: 10px; ">
90
+ < p > Designed & developed by < a href ="https://github.com/bestony "> Bestony</ a > , co-developed by < a
91
+ href ="https://github.com/johnpoint "> johnpoint</ a >
92
+ </ p >
93
+ < p > Sponsored by: < a href ="https://leancloud.app/ "> LeanCloud</ a > , < a
94
+ href ="https://www.agora.io/cn/?utm_source=opensource&utm_medium=refferal&utm_campaign=clubhouseB "> Agora</ a >
95
+ & < a href ="https://www.ipip.net/ "> IPIP.net</ a > </ p >
96
+ < p > Media partner: < a href ="http://dao.fm/ "> 津津乐道播客</ a > </ p >
97
+ </ div >
96
98
</ div >
99
+ </ div >
97
100
98
101
</ body >
0 commit comments