diff --git a/templates/binary_view.html_backup b/templates/binary_view.html_backup deleted file mode 100644 index ee7c713..0000000 --- a/templates/binary_view.html_backup +++ /dev/null @@ -1,110 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Binary file viewer{% endblock %} - -{% block content %} -
-
-
-

Viewing File: {{ filename }}

-

Tipo MIME: {{ mime_type }}

- -
-
-

File Info

-
    -
  • File Name: {{ filename }}
  • -
  • Size: {{ size }} bytes
  • -
  • Uploaded by: {{ owner.username }}
  • -
  • Upload Date: {{ paste.created_at.strftime('%Y-%m-%d %H:%M:%S') }}
  • -
-
-
-

Acciones

-
- - Descargar Archivo - - {% if 'admin' in session %} - - {% endif %} -
-
-
- -
-
-
Download from smartphone
-

Scan this code from your mobile device:

-
- -
-
-
-
-
- - {% if 'admin' in session %} - -{% endif %} -{% endblock %} - -{% block scripts %} - -{% endblock %} - diff --git a/templates/media_view.html_backup b/templates/media_view.html_backup deleted file mode 100644 index 9d1eb24..0000000 --- a/templates/media_view.html_backup +++ /dev/null @@ -1,73 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Media Viewer{% endblock %} - -{% block content %} -
-

Viewing Media: {{ filename }}

-

MIME Type: {{ mime_type }}

- -
- {% if mime_type.startswith("image/") %} - Image - {% elif mime_type.startswith("video/") %} - - {% elif mime_type.startswith("audio/") %} - - {% elif mime_type == "application/pdf" %} - - {% endif %} -
- -
- - 📥 Download -
- -
- -
-
- -{% endblock %} - diff --git a/templates/media_view.html_baclup b/templates/media_view.html_baclup deleted file mode 100644 index 73fff3a..0000000 --- a/templates/media_view.html_baclup +++ /dev/null @@ -1,139 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Media Viewer{% endblock %} - -{% block content %} -
-

Viewing Media: {{ filename }}

-

MIME Type: {{ mime_type }}

- -
- {% if mime_type.startswith("image/") %} - Image - {% elif mime_type.startswith("video/") %} - - {% elif mime_type.startswith("audio/") %} - - {% elif mime_type == "application/pdf" %} - - {% endif %} -
- -
- - 📥 Download - 🌐 View Raw - {% if current_user.is_authenticated %} - - - {% endif %} -
- -
- -
-
- - -
- -
- - -{% endblock %} -{% block footer %} - {{ super() }} -{% endblock %} diff --git a/templates/text_paste.html_backup b/templates/text_paste.html_backup deleted file mode 100644 index ab31c18..0000000 --- a/templates/text_paste.html_backup +++ /dev/null @@ -1,198 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Paste {{ paste.id }}{% endblock %} - -{% block content %} -
- {% if paste.owner_id == current_user.id %} - -{% endif %} - -
-

Paste {{ paste.id }}

-
- {% if paste.owner_id == current_user.id %} - - {% endif %} - - {% if current_user.is_authenticated %} - - {% endif %} - - {% if can_edit %} - - - - {% endif %} - - -
-
- - - - - - -
-
💻 AI-Enhanced Code:
-
-

-    
-
- - - -

- {% if paste.filename and '.' in paste.filename %} - Extension: {{ paste.filename.split('.')[-1] }} | - {% endif %} - MIME Type: {{ paste.content_type }} | - Language: {{ paste.language }} | - Size: - {% if paste.size < 1024 %} - {{ paste.size }} bytes - {% elif paste.size < 1024 * 1024 %} - {{ '%.2f' | format(paste.size / 1024) }} KB - {% else %} - {{ '%.2f' | format(paste.size / (1024 * 1024)) }} MB - {% endif %} -

- -
-
-
- {% if not is_markdown %} - - {% endif %} - - - -
-
- - -
-
- - {% if is_markdown %} -
{{ md_html_code|safe }}
- {% else %} -
{{ html_code|safe }}
- {% endif %} - -

View the raw version here.

-
-{% endblock %} - -{% block scripts %} - {{ super() }} - - - - - - - -{% endblock %} - diff --git a/templates/text_paste.html_bak b/templates/text_paste.html_bak deleted file mode 100644 index b2fce7a..0000000 --- a/templates/text_paste.html_bak +++ /dev/null @@ -1,484 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Paste {{ paste.id }}{% endblock %} - -{% block content %} - -
- -
-

Paste {{ paste.id }}

- -
- {% if paste.owner_id == current_user.id %} - - - {% endif %} - - {% if current_user.is_authenticated %} - - - {% endif %} - - - {% if can_edit %} - - Edit Paste - - {% endif %} -
-
- - - -{% if paste.owner_id == current_user.id %} - -{% endif %} - - -
- -
-
- {% if not is_markdown %} - - {% endif %} - - 📥 Download - -
- -
- - -
-
- - - {% if is_markdown %} -
- {{ md_html_code|safe }} -
- {% else %} -
- {{ html_code|safe }} -
- {% endif %} - -

- View the raw version here. -

-
- - - {% if current_user.is_authenticated %} - - -
-
-
Shared With:
-
    -
      - {% for user, can_edit in shared_with %} -
    • - {{ user }} - - {% if can_edit %} - Can Edit - {% else %} - Read Only - {% endif %} - - - - -
    • - {% endfor %} -
    - - - - - -
-
- {% endif %} -
-{% endblock %} - -{% block scripts %} - -{% endblock %} -