Files
zwitschi fb6816de00 Add form styles and update button classes for consistency
- Introduced a new CSS file for form styles (forms.css) to enhance form layout and design.
- Removed deprecated button styles from imports.css and updated button classes across templates to use the new utility classes.
- Updated various templates to reflect the new button styles, ensuring a consistent look and feel throughout the application.
- Refactored form-related styles in main.css and removed redundant styles from projects.css and scenarios.css.
- Ensured responsive design adjustments for form actions in smaller viewports.
2025-11-13 21:18:32 +01:00

34 lines
1023 B
HTML

{% extends "base.html" %}
{% from "partials/alerts.html" import toast %}
{% block title %}Imports · CalMiner{% endblock %}
{% block head_extra %}
<link rel="stylesheet" href="/static/css/imports.css" />
{% endblock %}
{% block content %}
<section class="page-header">
<div>
<h1>Data Imports</h1>
<p class="text-muted">Upload CSV or Excel files to preview and commit bulk updates.</p>
</div>
</section>
<section class="card" data-import-module>
<header class="card-header">
<h2>Upload Projects or Scenarios</h2>
</header>
<div class="card-body">
{% include "partials/import_upload.html" %}
{% include "partials/import_preview_table.html" %}
<div class="import-actions hidden" data-import-actions>
<button class="btn btn--primary" data-import-commit disabled>Commit Import</button>
<button class="btn btn--secondary" data-import-cancel>Cancel</button>
</div>
</div>
</section>
{{ toast("import-toast", hidden=True) }}
{% endblock %}