1
0
Fork 0
fgdata/webgui/topics/Simulator/Config.html
Torsten Dreyer c5c832d598 Phi: Map changes multiplayer config
- Rename some map overlays
- add multiplayer config
2015-03-11 22:37:48 +01:00

38 lines
1.9 KiB
HTML

<div>
<fieldset>
<legend>AI</legend>
<div>
<input type="checkbox" id="sim-config-aitraffic-on" data-bind="button: { refreshOn: aiEnabled }, checked: aiEnabled">
<label for="sim-config-aitraffic-on" data-bind="css: { 'ui-state-active': aiEnabled }">AI Traffic</label>
</div>
</fieldset>
<fieldset>
<legend>Multiplayer</legend>
<div>
<label for="sim-config-multiplayer-callsign">Callsign</label> <span
class="ui-spinner ui-widget ui-widget-content ui-corner-all"> <input class="ui-spinner-input"
id="sim-config-multiplayer-callsign" data-bind="value: callsign, disable: online" maxlength="8">
</span>
<input type="checkbox" id="sim-config-multiplayer-hidereplay"
data-bind="button: { refreshOn: multiplayerHideReplay }, checked: multiplayerHideReplay"> <label
for="sim-config-multiplayer-hidereplay" data-bind="css: { 'ui-state-active': multiplayerHideReplay }">Hide
replay sessions over MP</label>
</div>
<div>
<button data-bind="button: { disabled: offline, label: 'Disconnect from ' + selectedServer() }, click: toggleConnect"></button>
</div>
<div>
<button data-bind="button: { disabled: online }, click: toggleConnect">Connect to</button>
<label for="sim-config-multiplayer-serverlist">foo</label>
<select id="sim-config-multiplayer-serverlist"
data-bind=" enable: offline
value: selectedServer,
options: serverList,
optionsText: 'longname',
optionsValue: 'longname'"></select>
</div>
</fieldset>
<!--div data-bind="text: ko.toJSON($data)"></div-->
</div>