rDrama/files/templates/casino/blackjack_screen.html

46 lines
2.0 KiB
HTML
Raw Normal View History

{% extends "casino/game_screen.html" %}
{% block script %}
<script defer src="{{'js/casino/blackjack_screen.js' | asset}}"></script>
{% endblock %}
{% block screen %}
<div id="blackjack-table-deck"></div>
2023-09-15 11:01:04 +00:00
<div id="blackjack-table" data-state="{{game_state}}" style="position: relative">
</div>
{% endblock %}
{% block actions %}
<link rel="stylesheet" href="{{('css/casino/blackjack_screen.css') | asset}}">
2023-01-20 07:14:59 +00:00
<div class="btn-group">
2022-12-30 12:14:18 +00:00
<button type="button" id="twentyone-DEAL" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="deal()">Deal</button>
2023-09-15 11:01:04 +00:00
<button type="button" id="twentyone-HIT" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="hit()" style="display: none">Hit</button>
2022-12-30 12:14:18 +00:00
<button type="button" id="twentyone-STAY" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="stay()"
2023-09-15 11:01:04 +00:00
style="display: none">Stay</button>
<button type="button" id="twentyone-SPLIT" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="split()"
style="display: none">Split</button>
2022-12-30 12:14:18 +00:00
<button type="button" id="twentyone-DOUBLE_DOWN" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="doubleDown()"
2023-09-15 11:01:04 +00:00
style="display: none">Double Down</button>
2022-12-30 12:14:18 +00:00
<button type="button" id="twentyone-BUY_INSURANCE" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="buyInsurance()"
2023-09-15 11:01:04 +00:00
style="display: none">Buy
2022-10-28 23:39:31 +00:00
Insurance</button>
</div>
<div id="twentyone-SPLIT_ACTIONS" class="btn-group" style="display: none;">
<h5>Split</h5>
<button type="button" id="twentyone-HIT_SPLIT" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="hitSplit()" style="display: none;">Hit</button>
<button type="button" id="twentyone-STAY_SPLIT" class="btn btn-primary twentyone-btn" data-nonce="{{g.nonce}}" data-onclick="staySplit()"
style="display: none;">Stay</button>
</div>
{% endblock %}
{% block leaders %}
Blackjack
{% endblock %}
{% block feed %}
Blackjack
2022-10-28 23:35:14 +00:00
{% endblock %}