@(deciderName: String, deciderHumanName: String, raceCount: Int, rules: String, raceSelect: RaceSelect, boSettings: LastMapsSelectConfig, existAdditionalRaces: Boolean, existTextFieldRaces: Boolean)(implicit r: Request[_])
<!DOCTYPE html>

<span id="deciderName" style="display: none">@deciderName</span>
<span id="raceCount" style="display: none">@raceCount</span>
<span id="existAdditionalRaces" style="display: none">@existAdditionalRaces</span>
<span id="existTextFieldRaces" style="display: none">@existTextFieldRaces</span>
<span id="last1Presence" style="display: none">@boSettings.last1</span>
<span id="last3Presence" style="display: none">@boSettings.last3</span>
<span id="last5Presence" style="display: none">@boSettings.last5</span>
<span id="last7Presence" style="display: none">@boSettings.last7</span>

<html>
    <head>
        <title>Soulstorm tournament decider</title>
        <link rel='stylesheet' href='@routes.Assets.at("lib/bootstrap/css/bootstrap.min.css")'>
        <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css?080422")">
        <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
        <script type='text/javascript' src='@routes.Assets.at("lib/jquery/jquery.min.js")'></script>
        <script type='text/javascript' src='@routes.Assets.at("lib/flot/jquery.flot.js")'></script>
        <script type='text/javascript' src='@routes.Assets.at("lib/underscore/underscore.js")'></script>
        <script type='text/javascript' src='@routes.Assets.at("lib/backbonejs/backbone.js")'></script>
        <script type="text/javascript" src="@routes.Assets.at("lib/jquery-cookie/jquery.cookie.js")"></script>
        <script type='text/javascript' src='@routes.Assets.at("javascripts/index.js?14122025")'></script>
    </head>
    <body data-ws-url="@routes.HomeController.ws.webSocketURL()">
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="navbar-inner" style="margin: 10px;">
                 <span id="playerName"></span>
                <button onclick="changeNick();" style="margin-left: 10px;" >Change nick</button>
            </div>
        </div>
        <br/>
        <br/>
        <br/>

        <div class ="container">
            <div id = "lobbies">
                <center>
                    <button id = "createDecider" class="btn btn-primary">Create decider</button>
                    <button id = "getAllUsers" class="btn btn-primary">Refresh</button>
                </center><br/>
                <div id = "lobbiesList"></div>
            </div>

            <div id = "decider" style="display:none">
                    <button id = "exit" class="btn btn-primary">Exit</button>
                    <button id = "mute" class="btn btn-primary">🔊</button>
                <br/>
                <div id = "mapList" class="container"></div>
                <div id = "playersStatsList"></div>
                <div id="chat">
                    <br/>
                    <div id="chatbox">
                    </div>

                    <div id = "inputMsg">
                        <input autocomplete="off" type="text" id="usermsg" />
                        <button type="submit"  id="submitmsg" >Send</button>
                    </div>
                </div>
                <div style="clear: both"></div>
                <div><i><b>Правила турнира "@deciderHumanName"</b><br/>
                    <p>@rules</p>
                    <br>
                </i>
                </div>

            </div>

        </div>



    </body>
</html>
