forked from rDrama/rDrama
master
parent
f9dc55cb94
commit
5cb496908f
|
@ -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 %}
|
Loading…
Reference in New Issue