otb-cloud secure encrypted backups
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

63 lines
2.0 KiB

{% extends "portal_base.html" %}
{% block title %}LTS Storage - OTB Cloud{% endblock %}
{% block portal_content %}
<div class="portal-page-header">
<div>
<h1 class="portal-page-title">LTS Storage</h1>
<p class="portal-client-name">{{ user_email }}</p>
<p class="portal-page-subtitle">
Long-term stored archives.
</p>
</div>
<div class="portal-toolbar" style="display:flex;flex-direction:column;align-items:flex-end;gap:10px;">
<div style="display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;">
<a class="portal-btn" href="{{ url_for('main.zip_workspace') }}">Back to Archive Workspace</a>
<a class="portal-btn" href="{{ url_for('main.dashboard') }}">Back to Dashboard</a>
</div>
</div>
</div>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<section style="margin-bottom:22px;">
{% for category, message in messages %}
<div class="service-card" style="padding:14px 18px; margin-bottom:10px;">
<strong>{{ category|capitalize }}:</strong> {{ message }}
</div>
{% endfor %}
</section>
{% endif %}
{% endwith %}
<section class="services-grid">
<article class="service-card status-beta">
<div class="service-card-header">
<div>
<h2>LTS Archives</h2>
<p>Archive files retained in long-term storage.</p>
</div>
<div>
<span class="service-badge service-badge-beta">{{ lts_files|length }} stored</span>
</div>
</div>
<div class="service-card-actions">
{% if lts_files %}
<ul style="padding-left:18px; margin:0;">
{% for item in lts_files %}
<li style="margin-bottom:14px;">
<strong>{{ item.name }}</strong><br>
<span style="opacity:0.75;">{{ "{:,}".format(item.size_bytes) }} bytes</span>
</li>
{% endfor %}
</ul>
{% else %}
<p style="margin:0;">No files in LTS storage yet.</p>
{% endif %}
</div>
</article>
</section>
{% endblock %}