Files
client/templates/pages/usage.html.jinja
2026-03-07 19:46:19 +01:00

56 lines
2.2 KiB
Django/Jinja

{% extends "base.html.jinja" %}
{% block content %}
<section class="max-w-4xl mx-auto px-4 pt-12">
<div class="flex items-center justify-between mb-8">
<div>
<a href="/orgs/{{ org_name }}/projects" class="text-sm text-gray-500 hover:text-gray-700">&larr; {{ org_name }}</a>
<h1 class="text-2xl font-bold mt-1">Usage &amp; Plan</h1>
</div>
</div>
<div class="p-6 border border-gray-200 rounded-lg mb-6">
<p class="text-sm text-gray-500">
Forage is in early access. Usage metering and billing are not yet active.
All accounts currently have free access to the platform.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<div class="p-6 border border-gray-200 rounded-lg">
<h2 class="font-bold text-lg mb-2">Current Plan</h2>
<p class="text-2xl font-bold">Early Access</p>
<p class="text-sm text-gray-500 mt-1">Free during early access</p>
</div>
<div class="p-6 border border-gray-200 rounded-lg">
<h2 class="font-bold text-lg mb-2">Organisation</h2>
<p class="text-2xl font-bold">{{ org_name }}</p>
<p class="text-sm text-gray-500 mt-1">Role: {{ role }}</p>
</div>
</div>
<div class="p-6 border border-gray-200 rounded-lg">
<h2 class="font-bold text-lg mb-4">Resource Usage</h2>
<div class="space-y-3 text-sm">
<div class="flex justify-between">
<span class="text-gray-600">Projects</span>
<span>{{ project_count }} used</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">Compute</span>
<span class="text-gray-400">Not yet metered</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">Storage</span>
<span class="text-gray-400">Not yet metered</span>
</div>
</div>
</div>
<div class="mt-8 text-center">
<a href="/pricing" class="text-sm text-gray-500 hover:text-gray-700">View full pricing &rarr;</a>
</div>
</section>
{% endblock %}