CURAS / app /templates /_admin_bar.html
stevafernandes's picture
Deploy CURAS Research Database (FastAPI Docker Space)
d3295cf verified
Raw History Blame Contribute Delete
645 Bytes
<div class="admin-bar">
<a href="/admin" {% if page == 'home' %}aria-current="page"{% endif %}>Pending submissions</a>
<a href="/admin/listings" {% if page == 'listings' %}aria-current="page"{% endif %}>Listings</a>
<a href="/admin/submissions?status=approved" {% if page == 'history' %}aria-current="page"{% endif %}>Review history</a>
<a href="/admin/listings/new">Add a listing</a>
<a href="/admin/export.csv">Export CSV</a>
<form class="inline" method="post" action="/admin/logout">
<input type="hidden" name="csrf_token" value="{{ csrf }}">
<button class="btn btn-small" type="submit">Sign out</button>
</form>
</div>