mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Add print button to widget event list page #69
This commit is contained in:
parent
7a4fe326fb
commit
c8e54437a9
@ -189,6 +189,11 @@ $( function() {
|
||||
$("#location").val("");
|
||||
});
|
||||
|
||||
$(".btn-print").click(function () {
|
||||
window.print();
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#geolocation_btn").click(function () {
|
||||
if ("geolocation" in navigator){
|
||||
navigator.geolocation.getCurrentPosition(function(position){
|
||||
|
||||
@ -107,6 +107,8 @@
|
||||
|
||||
{{ render_pagination(pagination) }}
|
||||
|
||||
<button class="btn btn-outline-secondary d-print-none btn-print"><i class="fa fa-print"></i> {{ _('Print') }}</button>
|
||||
|
||||
{% endblock %}
|
||||
{% block footer %}
|
||||
{% endblock %}
|
||||
Loading…
x
Reference in New Issue
Block a user