RAG_AI / templates /list_dbs.html
WebashalarForML's picture
Upload 10 files
1f2ba2d verified
{% extends 'base.html' %}
{% block content %}
<div class="container mt-5">
<div class="card bg-dark text-white shadow">
<div class="card-header text-center">
<h3>Available Vector Databases</h3>
</div>
<div class="card-body">
<h4 class="text-center mb-4">Select a Vector Database</h4>
<ul class="list-group">
{% for db in vector_dbs %}
<li class="list-group-item bg-dark text-white d-flex justify-content-between align-items-center">
<span>{{ db }}</span>
<form method="post" action="{{ url_for('select_db', db_name=db) }}" class="mb-0">
<button type="submit" class="btn btn-primary btn-sm">Select</button>
</form>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endblock %}