{% extends "layouts/base.html" %} {% block main_content %} {% set breadcrumbs = [ {"name": i18n.t('nav.home'), "url": "/", "icon": "fas fa-home"}, {"name": i18n.t('nav.prompts'), "icon": "fas fa-file-text"} ] %} {% set header_title = i18n.t('nav.prompts') %} {% set header_subtitle = i18n.t('prompt.manage_desc') %} {% set header_icon = "fas fa-file-text" %} {% set header_actions = [ { "type": "button", "text": i18n.t('prompt.create_new'), "url": "/prompts/new", "icon": "fas fa-plus", "style": "primary" }, { "type": "dropdown", "text": i18n.t('common.actions'), "icon": "fas fa-ellipsis-v", "style": "secondary", "items": [ {"text": i18n.t('common.import'), "url": "/prompts/import", "icon": "fas fa-upload"}, {"text": i18n.t('common.export'), "url": "/prompts/export", "icon": "fas fa-download"}, {"text": i18n.t('common.actions'), "url": "/prompts/bulk", "icon": "fas fa-tasks"} ] } ] %} {% include "components/page_header.html" %}
{% if prompts %}
    {% for prompt in prompts %}
  • {{ prompt.name }}

    {{ prompt.category }} {% if prompt.tags %} {% for tag in prompt.tags[:3] %} {{ tag }} {% endfor %} {% if prompt.tags|length > 3 %} +{{ prompt.tags|length - 3 }} more {% endif %} {% endif %}

    {{ prompt.description or prompt.content[:150] + '...' if prompt.content|length > 150 else prompt.content }}

    Recently created
    Recently modified
    {{ prompt.content|length if prompt.content else 0 }} characters
  • {% endfor %}
{% else %}

No prompts found

Get started by creating your first prompt

Create Your First Prompt
{% endif %}
{% endblock %}