{% include "header.html" %}
{% if pastas.is_empty() %}
No uploads yet. 😔 Create one here.
| Key | Created | Expiration | Contents | {% for pasta in pastas %} {% if pasta.pasta_type == "text" && !pasta.private %} | ||
|---|---|---|---|---|---|---|
| {{pasta.id_as_animals()}} | {% if args.public_path_as_str() != "" %} {% if args.short_path_as_str() == "" %} Copy {% else %} Copy {% endif %} {%- endif %} | {{pasta.created_as_string()}} | {{pasta.expiration_as_string()}} | {% if pasta.content != "" %} Text {%- endif %} {% if pasta.attachments.is_some() %} {{ 1 + pasta.attachments.as_ref().unwrap().len() }} Files {% else if pasta.file.is_some() %} {% if pasta.file.as_ref().unwrap().is_image() %} Image {%- else if pasta.file.as_ref().unwrap().is_video() %} Video {%- else %} File {%- endif %} {%- endif %} | {% if pasta.editable %} Edit {%- endif %} | {% if pasta.editable || pasta.readonly || pasta.encrypt_server %} Remove {%- endif %} |
| Key | Created | Expiration | {% for pasta in pastas %} {% if pasta.pasta_type == "url" && !pasta.private %} | |||
|---|---|---|---|---|---|---|
| {{pasta.id_as_animals()}} | {% if args.short_path_as_str() == "" %} Copy {% else %} Copy {% endif %} | {{pasta.created_as_string()}} | {{pasta.expiration_as_string()}} | Redirect | {% if pasta.editable %} Edit {%- endif %} | {% if pasta.editable || pasta.readonly || pasta.encrypt_server %} Remove {%- endif %} |