- Implemented HTML pages for datasets, models, training, testing, and results. - Created API endpoints for managing repositories, results, tests, and training sessions. - Added functionality for streaming training progress via Server-Sent Events (SSE). - Introduced a Dockerfile for the ML runner with necessary dependencies. - Developed an SDK for user code execution within the runner container. - Enhanced CSS styles for improved UI layout and navigation. - Established a layout template for consistent HTML structure across pages. - Added JavaScript for dynamic interactions on the models page. - Implemented WebSocket handling for real-time communication with kiosk devices and controllers. - Implemented model registration and management API at /api/models - Added Gitea proxy API for repository interactions at /api/repos - Created results API for listing and comparing training results at /api/results - Developed training management API for enqueueing and retrieving training jobs at /api/trainings - Introduced SSE endpoint for live training progress updates - Added HTML pages for models, datasets, and training management - Created a Dockerfile for the ML runner with necessary dependencies - Developed SDK for user code execution within the runner container - Enhanced CSS styles for improved UI/UX - Implemented WebSocket communication for real-time device and controller interactions in the kiosk system
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="it">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ML — {% block title %}{{ page|capitalize }}{% endblock %}</title>
|
|
<link href="/static/styles/style.css" rel="stylesheet">
|
|
<link href="/static/styles/ml.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>Modelli ML</h1>
|
|
<nav class="ml-nav">
|
|
<a href="/datasets" class="{% if page=='datasets' %}active{% endif %}">Datasets</a>
|
|
<a href="/models" class="{% if page=='models' %}active{% endif %}">Modelli</a>
|
|
<a href="/train" class="{% if page=='train' %}active{% endif %}">Train</a>
|
|
<a href="/test" class="{% if page=='test' %}active{% endif %}">Test</a>
|
|
<a href="/results" class="{% if page=='results' %}active{% endif %}">Results</a>
|
|
</nav>
|
|
<div class="profile">
|
|
<p id="username">{{ user.username }}</p>
|
|
<button id="logout-btn">Logout</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<script src="/static/js/common.js"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|