flask_inference_api_g / nutri_call.html
DmitrMakeev's picture
Update nutri_call.html
9859341 verified
raw
history blame
2.79 kB
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Калькулятор удобрений</title>
<style>
body {
margin: 0 auto;
width: 950px;
padding: 1em;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
h1 {
background-color: #2e8b57;
color: white;
text-align: center;
padding: 1em;
border-radius: 10px;
margin-bottom: 20px;
}
fieldset {
border: 2px solid #2e8b57;
background-color: #eaffea;
padding: 1em;
margin-bottom: 20px;
border-radius: 8px;
}
legend {
font-weight: bold;
color: #2e8b57;
padding: 0 10px;
}
input[type=number] {
width: 80px;
padding: 3px;
border: 1px solid #ccc;
border-radius: 4px;
}
.profile-grid-container {
display: grid;
grid-template-columns: repeat(7, auto);
grid-gap: 5px;
padding: 10px;
align-items: center;
}
.nitrogen-grid-container {
display: grid;
grid-template-columns: auto auto;
grid-gap: 5px;
padding: 10px 10px 0 10px;
align-items: center;
}
.fertilisers-grid-container {
display: grid;
grid-template-columns: repeat(10, auto);
grid-gap: 5px;
padding: 10px;
align-items: center;
}
.profile-label {
text-align: center;
font-weight: bold;
}
</style>
</head>
<fieldset>
<legend>Макропрофиль в мг/л (ppm)</legend>
<div class="profile-grid-container">
<span class="profile-label">P</span>
<span class="profile-label">K</span>
<span class="profile-label">Ca</span>
<span class="profile-label">Mg</span>
<span class="profile-label">S</span>
<span class="profile-label">Cl</span>
<span class="profile-label">EC</span>
<input id="pP" type="number" value="0.0" step="1.0"/>
<input id="pK" type="number" value="0.0" step="1.0"/>
<input id="pCa" type="number" value="0.0" step="1.0"/>
<input id="pMg" type="number" value="0.0" step="1.0"/>
<input id="pS" type="number" value="0.0" step="1.0"/>
<input id="pCl" type="number" value="0.0" step="1.0"/>
<input id="pEC" type="number" value="0.0" step="0.001"/>
</div>
<div class="nitrogen-grid-container">
<div>
<label for="pNO3">NO3</label>
<input id="pNO3" type="number" value="0.0" step="1.0"/>
</div>
<div>
<label for="pNH4">NH4</label>
<input id="pNH4" type="number" value="0.0" step="1.0"/>
</div>
</div>
</fieldset>
</body>
</html>