Files
stepanalyser/templates/index.html
Christian Anetzberger a197de9456 initial
2026-01-22 20:23:51 +01:00

71 lines
1.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>STEP Analyser (intern)</title>
<style>
body {
font-family: -apple-system, system-ui, sans-serif;
margin: 40px;
max-width: 900px;
}
.card {
border: 1px solid #ddd;
border-radius: 12px;
padding: 16px;
}
label {
display: block;
margin-top: 12px;
font-weight: 600;
}
input,
select {
width: 100%;
padding: 10px;
margin-top: 6px;
}
button {
margin-top: 16px;
padding: 10px 14px;
border-radius: 10px;
border: 1px solid #333;
background: #111;
color: #fff;
cursor: pointer;
}
small {
color: #666;
}
</style>
</head>
<body>
<h1>STEP Analyser (intern)</h1>
<div class="card">
<form action="/analyse" method="post" enctype="multipart/form-data">
<label>STEP Datei</label>
<input type="file" name="stepfile" accept=".step,.stp" required />
<label>Material</label>
<select name="material">
{% for key, label in materials %}
<option value="{{key}}">{{label}}</option>
{% endfor %}
</select>
<label
>Blechstärke (mm)
<small>(optional leer lassen für Auto-Erkennung)</small></label
>
<input type="text" name="thickness_mm" placeholder="z.B. 1.0" />
<button type="submit">Analysieren</button>
</form>
</div>
<p style="margin-top: 14px">
<small>Internes Tool. Läuft nur auf 127.0.0.1:5055.</small>
</p>
</body>
</html>