Kali, Wamai és egyéb módosítások
| | |
| | | 'glaz', 'goyo', 'gridlock', 'hibana', 'iq', 'jackal', 'jager', 'kaid', 'kapkan', |
| | | 'lesion', 'lion', 'maestro', 'maverick', 'mira', 'montagne', 'mozzie', 'mute', 'nokk', |
| | | 'nomad', 'pulse', 'rook', 'sledge', 'smoke', 'tachanka', 'thatcher', 'thermite', 'twitch', |
| | | 'valkyrie', 'vigil', 'warden', 'ying', 'zofia']; |
| | | 'valkyrie', 'vigil', 'warden', 'ying', 'zofia', 'wamai', 'kali']; |
| | | protected $state = [ |
| | | 'stripe' => [ |
| | | 'class' => 'team', |
| | |
| | | define('IS_DEV', true); |
| | | |
| | | define('SITE_ROOT', dirname(__DIR__)); |
| | | define('OVERLAY_DIR', dirname(SITE_ROOT) . '/overlays/'); |
| | | define('TARGET_DIR', dirname(SITE_ROOT) . '/overlays/'); |
| | | |
| | | define('STRIPE_JSON', OVERLAY_DIR . 'last.json'); |
| | | define('TEAMS_JSON', OVERLAY_DIR . 'teams.json'); |
| | | define('HISTORY_JSON', OVERLAY_DIR . 'history.json'); |
| | | |
| | | $twig = \EOG\Utils\TwigFactory::getEnvironment(SITE_ROOT . '/templates/'); |
| | |
| | | include_once "common/base.php"; |
| | | |
| | | $html_content = $twig->render('overlays/start-soon.twig'); |
| | | file_put_contents('../esl-overlay/overlays/start-soon.html', $html_content); |
| | | |
| | | file_put_contents('../esl-overlay/overlays/start-soon.html', $html_content); |
| | | $html_content = $twig->render('overlays/interrogacion.twig'); |
| | | file_put_contents('../esl-overlay/overlays/interview.html', $html_content); |
| | |
| | | $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]); |
| | | file_put_contents(OVERLAY_DIR . 'team-ban.html', $html_content); |
| | | |
| | | $s->setClass('team-ban'); |
| | | $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s, 'autorefresh' => 30]); |
| | | file_put_contents(OVERLAY_DIR . 'team-ban-refresh.html', $html_content); |
| | | |
| | | } else { |
| | | if (file_exists(STRIPE_JSON)) { |
| | | $raw_json = file_get_contents(STRIPE_JSON); |
| | |
| | | {% extends "overlays/html-base.twig" %} |
| | | {% block head %} |
| | | {{ parent() }} |
| | | <link rel="stylesheet" href="/assets/operators-color.css"> |
| | | {% endblock %} |
| | | {% block body %} |
| | | <div id="main" class="soon"> |
| | | <div class="placeholder"> </div> |
| | | <div class="text">Hamarosan kezdünk!</div> |
| | | </div> |
| | | <div id="main-text" class="soon">Hamarosan kezdünk!</div> |
| | | {% endblock %} |
| | |
| | | {% block head %} |
| | | {{ parent() }} |
| | | <link rel="stylesheet" href="/assets/operators-color.css"> |
| | | {% if autorefresh %} |
| | | <meta http-equiv="refresh" content="{{ autorefresh }}"> |
| | | {% endif %} |
| | | {% endblock %} |
| | | {% block body %} |
| | | {% block stripe %} |