testes/Ambiente_Usuario_copy.html

41 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Consulta InfluxDB</title>
</head>
<body>
<h1>Escolha Parâmetros para a Consulta</h1>
<form id="queryForm">
<label for="bucket">Selecione o Bucket:</label>
<select id="bucket" name="bucket" required>
<option value="" disabled selected>Escolha um bucket</option>
</select><br><br>
<label for="host">Selecione o Host (Servidor):</label>
<select id="nodename" name="host" required>
<option value="" disabled selected>Escolha um host</option>
</select><br><br>
<label for="startTime">Início (ISO 8601):</label>
<input type="datetime-local" id="startTime" name="startTime" required><br><br>
<label for="endTime">Fim (ISO 8601):</label>
<input type="datetime-local" id="endTime" name="endTime" required><br><br>
<label for="windowPeriod">Período de Agregação (Ex.: 1m, 10s):</label>
<input type="text" id="windowPeriod" name="windowPeriod" placeholder="Exemplo: 1m, 10s" required><br><br>
<button type="submit">Enviar Consulta</button>
</form>
<div id="result"></div>
<script src="app.js"></script>
</body>
</html>