forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-15 09:33:05 +02:00
parent f9dc55cb94
commit 5cb496908f
1 changed files with 7 additions and 0 deletions

View File

@ -73,4 +73,11 @@
<button class="btn btn-primary mt-3" onclick="post_toast('/admin/purge_cache');">PURGE CACHE</button>
{% endif %}
<input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />
<script type="text/javascript">
function showAndroidToast(toast) {
Android.showToast(toast);
}
</script>
{% endblock %}