mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 00:56:38 +00:00
UI added to select stream settings. Beginning work on #9
This commit is contained in:
parent
5d25874131
commit
61cc902c63
24
index.html
24
index.html
@ -24,8 +24,26 @@
|
|||||||
</header>
|
</header>
|
||||||
<main id="main-content" class="mdl-layout__content">
|
<main id="main-content" class="mdl-layout__content">
|
||||||
<div class="log-holder">
|
<div class="log-holder">
|
||||||
<code id="logField">log</code></div>
|
<code id="logField">log</code>
|
||||||
<div id="streamSettings" style="display:none"></div>
|
</div>
|
||||||
|
|
||||||
|
<div id="streamSettings">
|
||||||
|
<div class="mdl-select">
|
||||||
|
<select id="selectResolution">
|
||||||
|
<option selected="720">Stream Resolution</option>
|
||||||
|
<option value="720">1280x720</option>
|
||||||
|
<option value="768">1366x768</option>
|
||||||
|
<option value="1280">1920x1080</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="mdl-select">
|
||||||
|
<select id="selectFramerate">
|
||||||
|
<option value="30">Framerate</option>
|
||||||
|
<option value="30">30fps</option>
|
||||||
|
<option value="60">60fps</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="hostSettings">
|
<div id="hostSettings">
|
||||||
<p>Enter the IP/hostname of the GFE streaming computer, or select one from the history:</p>
|
<p>Enter the IP/hostname of the GFE streaming computer, or select one from the history:</p>
|
||||||
@ -49,7 +67,7 @@
|
|||||||
<button id="stopButton" class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent">Stop Testing Stuff</button>
|
<button id="stopButton" class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent">Stop Testing Stuff</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="gameSelection" style="display:none" class="mdl-select">
|
<div id="gameSelection" class="mdl-select">
|
||||||
<p>Select a game to run</p>
|
<p>Select a game to run</p>
|
||||||
<select id="selectGame">
|
<select id="selectGame">
|
||||||
<option value="game_id_1">Game Name 1</option>
|
<option value="game_id_1">Game Name 1</option>
|
||||||
|
@ -106,3 +106,11 @@ function handleMessage(msg) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function onWindowLoad(){
|
||||||
|
document.getElementById('streamSettings').style.display = 'none';
|
||||||
|
document.getElementById('gameSelection').style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
|
window.onload = onWindowLoad;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user