{% extends "profile_base.html" %} {% set profile_nav_active = "timers" %} {% block profile_content %}
{% set breadcrumbs = [ {"name": current_user.name | display_name(current_user.username), "href": "/profile"}, {"name": "Timers"} ] %} {% include "partials/breadcrumbs.html" %}
New Timer
{% include "partials/flash.html" %}
Your Timers
{% if timers | length == 0 %}

No timers yet. A timer emits an event carrying your message, either once or on a repeat.

{% else %}
{% for timer in timers %} {% endfor %}
Message Schedule Status Next Run Runs Actions
{{ timer.message }} {{ timer.schedule }} {% if timer.status == "active" %} Active {% elif timer.status == "paused" %} Paused {% elif timer.status == "completed" %} Completed {% else %} Cancelled {% endif %} {% if timer.next_run_at %} {{ timer.next_run_at }} {% else %} {% endif %} {{ timer.run_count }}
Edit
{% endif %}
{% with page=page, query=query, per_page_id="timers-per-page" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% with modal_id="confirm-delete-timer", modal_title="Delete timer", modal_body='Delete ?', modal_confirm_text="Delete timer", modal_desc="This timer will be removed and will not fire again." %} {% include "partials/confirm_modal.html" %} {% endwith %} {% endblock %}