41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>API Debug Console</title>
|
|
<style>
|
|
body { font-family: Arial, sans-serif; margin: 20px; }
|
|
.form-group { margin: 10px 0; }
|
|
label { display: block; margin-bottom: 5px; }
|
|
select, input { padding: 8px; width: 100%; max-width: 300px; }
|
|
button { padding: 10px 20px; background: #007bff; color: white; border: none; cursor: pointer; }
|
|
button:hover { background: #0056b3; }
|
|
#result { margin-top: 20px; white-space: pre-wrap; background: #f8f9fa; padding: 10px; border-radius: 4px; }
|
|
.params { margin-top: 10px; }
|
|
.param { margin-bottom: 10px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<h1>API Debug Console</h1>
|
|
|
|
<div class="form-group">
|
|
<label for="service">Сервис:</label>
|
|
<select id="service"></select>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="method">Метод:</label>
|
|
<select id="method"></select>
|
|
</div>
|
|
|
|
<div id="params-container" class="params"></div>
|
|
|
|
<button id="send-btn">Отправить</button>
|
|
|
|
<div id="result"></div>
|
|
</div>
|
|
<script type="module" src="/main.js"></script>
|
|
</body>
|
|
</html> |