33 lines
No EOL
1.3 KiB
HTML
33 lines
No EOL
1.3 KiB
HTML
{% extends "baselayout.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block title %}
|
|
{% translate "Drinks - Deposit" %}
|
|
{% endblock %}
|
|
|
|
{% block headAdditional %}
|
|
<link rel="stylesheet" href="/static/css/simple-keyboard.css">
|
|
<link rel="stylesheet" href="/static/css/simple-keyboard_custom.css">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 class="formheading">{% translate "Deposit" %}</h1>
|
|
<form id="customform" class="flex flex-column flex-center appform gap-1rem" action="/api/deposit">
|
|
{% csrf_token %}
|
|
<div class="flex forminput">
|
|
<input type="number" name="depositamount" class="keyboard-input depositamount" max="9999.99" min="1.00" step="0.01" placeholder="{% translate 'Amount' %} ({{ currency_suffix }})" autofocus required>
|
|
</div>
|
|
<!-- Virtual Keyboard -->
|
|
<div id="keyboard" class="simple-keyboard" data-layout="numeric"></div>
|
|
<script src="/static/js/simple-keyboard.js"></script>
|
|
<script src="/static/js/simple-keyboard_configure.js"></script>
|
|
<div class="flex-center buttons">
|
|
<a href="/" class="button">{% translate "cancel" %}</a>
|
|
<input type="submit" id="submitbtn" class="button" value='{% translate "confirm" %}'>
|
|
</div>
|
|
</form>
|
|
<div id="statusinfo"></div>
|
|
<script src="/static/js/custom_form.js"></script>
|
|
<script src="/static/js/autoreload.js"></script>
|
|
{% endblock %} |