xxxxxxxxxx
{% autoescape true %}
<html lang="ru">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="static/target.png" />
<title>Игра «Киллер»</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?115"></script>
<script type="text/javascript">
VK.init({apiId: 12345678});
</script>
</head>
<body>
<div class="container">
<br>
<!--<div class="alert alert-warning" role="alert">Сайт работает в тестовом режиме. Пожалуйста, не распространяйте ссылку на него до официального запуска.</div>-->
<br><br>
<center>
{% autoescape false %}
{{ public_text }}
{% endautoescape %}
<br>
<div id="vk_auth"></div>
<script type="text/javascript">
VK.Widgets.Auth("vk_auth", {width: "300px", authUrl: '?action=login'});
</script><br><br>
{% if message %}
{% autoescape false %}
<b><span style="color:red">{{ message }}</span></b> <br>
<div style="height: 50px"></div>
{% endautoescape %}
{% endif %}
{% if game_status == 'game-started' %}
<div class="row">
<div class="col-xs-4">
Всего участников:<br>
<h1>{{num_of_enabled_users}}</h1>
</div>
<div class="col-xs-4">
Игра длится дней:<br>
<h1>{{game_lasts_days}}</h1>
</div>
<div class="col-xs-4">
Из них осталось в живых:<br>
<h1>{{num_of_alive_users}}</h1>
</div>
</div>
{% endif %}
{% if game_status == 'registration-opened' %}
Всего зарегистрировалось человек:<br>
<h1>{{ num_of_users }}</h1>
{% endif %}
<div style="height:50px"></div>
<!--- <div id="forcanvas"></div> -->
<br><br>
<!--- <div id="event-mess"> <span id="timetoevent"></span></div> -->
</center>
</div>
<div style="height:40px"></div>
<div style="position:fixed;bottom:0;height:40px;text-valign:top;padding-top:10px;width:100%;text-align:center;background:white; border-top: 1px solid gray">
<!-- Число участников: {{num_of_users}}<br> -->
Администраторы: <a href="https://vk.com/id26769197">Дмитрий Марков</a>, <a href="https://vk.com/id170556210">Бамбр Намжавин</a>, <a href="https://vk.com/id1330405">Элен Теванян</a>. Программирование: <a href="https://vk.com/pallada92">Ярослав Сергиенко</a>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>
{% endautoescape %}
https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js
https://oss.maxcdn.com/respond/1.4.2/respond.min.js
https://vk.com/js/api/openapi.js?115
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js