form.php | ●●●●● patch | view | raw | blame | history | |
templates/admin/modules/overlay.twig | ●●●●● patch | view | raw | blame | history | |
templates/overlays/stripe.twig | ●●●●● patch | view | raw | blame | history |
form.php
@@ -26,6 +26,11 @@ $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s, 'autorefresh' => 30]); file_put_contents(OVERLAY_DIR . 'team-ban-refresh.html', $html_content); $redis = new Redis(); $redis->pconnect('127.0.0.1'); $redis->publish('overlay', 'update'); $redis->close(); } else { if (file_exists(STRIPE_JSON)) { $raw_json = file_get_contents(STRIPE_JSON); templates/admin/modules/overlay.twig
@@ -6,16 +6,16 @@ <div class="form-group"> <div class="form-row"> <div class="col-md-2 mb-3"> <label for="validationServer02">Első vastagon szedett sor</label> <input type="text" name="stripe[cup][number]" class="form-control" id="validationServer02" placeholder="Pld.: #654" value="{{ stripe.cup.number }}"> </div> <div class="col-md-8 mb-3"> <label for="validationServer01">Kupa neve</label> <input type="text" name="stripe[cup][name]" class="form-control" id="validationServer01" placeholder="Pld.: 5on5 Bomb Cup" value="{{ stripe.cup.name }}"> </div> <div class="col-md-2 mb-3"> <label for="validationServer02">Kupa sorszám</label> <input type="text" name="stripe[cup][number]" class="form-control" id="validationServer02" placeholder="Pld.: #654" value="{{ stripe.cup.number }}"> </div> </div> </div> templates/overlays/stripe.twig
@@ -14,11 +14,11 @@ {% if stripe.cup.number %} <img src="/assets/hun.png" class="flag hun"> {% endif %} <span class="text"> <span class="text rotate"> {% if stripe.cup.number %} <em>{{ stripe.cup.number }}</em> <em class="number">{{ stripe.cup.number }}</em> {% endif %} {{ stripe.cup.name -}} <em class="name">{{ stripe.cup.name -}}</em> </span> </span> {% endblock %} @@ -72,7 +72,7 @@ {% block info_right %} <span class="info right"> {% if stripe.cup.number starts with '#' %} {% if stripe.cup.number%} <img class="wargasz-logo" src="/assets/WARGASZ_color.png"/> {% endif %} </span>