{% extends "layout.html" %} {% block content %}
{% if oidc_isAdmin() %}
{% endif %} {% if oidc_loggedin() %} {% else %} {% endif %}

Server Files:

{% if oidc_isAdmin() %}
    {% for note in notes %}
  • Delete

    {% if "youtu.be" in note["string"].strip().lower() or "www.youtube.com/watch?v=" in note["string"].strip().lower() %} {% if "youtu.be" in note["string"].strip() %} {{note["string"]}} {% elif "www.youtube.com/watch?v=" in note["string"].strip().lower() %} {{note["string"]}} {% endif %} {% elif note["string"].strip().startswith( ("http:", "https:", "ftp:", "file:") ) %} {% if note["string"].strip().endswith( (".jpg", ".jpeg", ".png", ".gif") ) %} {% else %} {{note["string"]}} {% endif %} {% elif note["string"].strip() %}
    {{note["string"]}}
    {% endif %}
  • {% endfor %} {% for file in files %}
  • {{file[0]}} Edit Delete

    {% if file[0].lower().endswith( (".png", ".jpg", ".jpeg") ) %} {{file[0]}} {% elif file[0].lower().endswith( (".mp4", ".webm") ) %} {% else %} {{file[0]}} {% endif %}
  • {% endfor %}
{% else %}

Log in with an Admin account to view files...

{% endif %}
{% endblock content %} {% block scripts %} {% if oidc_isAdmin() %} {% endif %} {% endblock scripts %}