Initial commit: UV-K5 firmware site with flasher
This commit is contained in:
34
templates/flasher.html
Normal file
34
templates/flasher.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Прошивка{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="card hero">
|
||||
<h2>Flasher</h2>
|
||||
<p>Загрузка прошивки на радиостанцию</p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Выберите файл прошивки</h3>
|
||||
<input type="file" id="firmwareFile" accept=".bin">
|
||||
<div id="fileInfo"></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<button id="flashBtn" class="btn btn-download" disabled>Прошить устройство</button>
|
||||
<div id="status"></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Инструкция</h3>
|
||||
<ol>
|
||||
<li>Выберите файл прошивки .bin</li>
|
||||
<li>Подключите радиостанцию к компьютеру</li>
|
||||
<li>Нажмите "Прошить устройство"</li>
|
||||
<li>Дождитесь завершения</li>
|
||||
</ol>
|
||||
<p class="note">Основано на <a href="https://github.com/whosmatt/uvmod">https://github.com/whosmatt/uvmod</a></p>
|
||||
</div>
|
||||
|
||||
<script src="{{ url_for('static', filename='js/flasher.js') }}"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user