Add connection to public scoreboard
This commit is contained in:
21
popup.html
21
popup.html
@@ -44,6 +44,20 @@
|
||||
#reset-button {
|
||||
background-color: lightcoral;
|
||||
}
|
||||
[connect-form] {
|
||||
align-items: center;
|
||||
display: none;
|
||||
flex-direction: row;
|
||||
margin-top: 3px;
|
||||
}
|
||||
[connect-form] > input {
|
||||
height: 24px;
|
||||
}
|
||||
#connect-submit-button {
|
||||
height: 22px;
|
||||
margin-left: 5px;
|
||||
margin-top: 0;
|
||||
}
|
||||
[messages] {
|
||||
display: none;
|
||||
margin-top: 10px;
|
||||
@@ -71,7 +85,12 @@
|
||||
<button id="start-button">Start a new contest</button>
|
||||
<button id="end-button" style="display: none;">End the contest</button>
|
||||
<button id="reset-button" style="display: none;">Reset all saved data</button>
|
||||
<button id="messages-button">show messages</button>
|
||||
<button id="connect-button">Connect to a puzzle scoreboard</button>
|
||||
<div connect-form id="connect-form">
|
||||
<input type="text" id="connect-text">
|
||||
<button id="connect-submit-button">connect</button>
|
||||
</div>
|
||||
<button id="messages-button">Show messages</button>
|
||||
<div messages id="messages">
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user