{% macro input(value="") %}

Shorten

{% endmacro %} {% macro search() %}

Search

 
 
  {% endmacro %} {% macro statsModal(id, suffix) %} {% endmacro %} {% macro deleteModal(id, suffix) %} {% endmacro %} {% macro message(title, text, class="") %}  

{{ title }}

{{ text }}
  {% endmacro %} {% macro protected_fields(domain, url, suffix, delete_at) %} {% set arr = [{"v": url, "n": "URL"}, {"v": suffix, "n": "Suffix"}, {"v": delete_at, "n": "Valid until:"}] %} {% if domain != None %} {% set x = arr.append({"v": domain + suffix, "n": "Shortened URL"}) %} {% endif %}
{% for i in arr %}
{% endfor %}
{% endmacro %} {% macro protected_fields_js() %} {% endmacro %} {% macro index_hero(title) %}

{{ title }}

Shrink urls here.

{% endmacro %} {% macro buttons(suffix, deleteModalId, qr, statsViewId) %}
{% if qr is defined %} Show QR Code {% endif %} Statistics Delete
{% endmacro %} {% macro qrCode(id, qr) %} {% if qr != None %} {% endif %} {% endmacro %} {% macro qrCodeJs(id) %} {% endmacro %} {% macro buttonsJs() %} {% endmacro %}