ui improvements

This commit is contained in:
liamcottle
2024-07-16 13:10:23 +12:00
parent 84b4f27b21
commit da5cae8405

View File

@@ -21,16 +21,16 @@
</head> </head>
<body> <body>
<div id="app" class="space-y-2"> <div id="app" class="space-y-2 p-3">
<div> <div class="border bg-gray-50 p-3 rounded">
<div>1. Put device into DFU Mode</div> <div>1. Put device into DFU Mode</div>
<button @click="enterDfuMode" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="enterDfuMode" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded">
Enter DFU Mode Enter DFU Mode
</button> </button>
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>2. Select firmware.zip to flash</div> <div>2. Select firmware.zip to flash</div>
<div class="mb-1"> <div class="mb-1">
@@ -53,28 +53,28 @@
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>3. After flashing, Detect RNode version</div> <div>3. After flashing, Detect RNode version</div>
<button @click="detect" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="detect" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded">
Detect Detect
</button> </button>
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>4. Provision eeprom with device info, checksum and signature.</div> <div>4. Provision eeprom with device info, checksum and signature.</div>
<button @click="provision" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="provision" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded">
Provision Provision
</button> </button>
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>5. Set Firmware Hash, for now it uses what the board knows, will fix later.</div> <div>5. Set Firmware Hash, for now it uses what the board knows, will fix later.</div>
<button @click="setFirmwareHash" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="setFirmwareHash" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded">
Set Firmware Hash Set Firmware Hash
</button> </button>
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>6. Configure TNC mode: frequency, bandwidth, tx power, spreading factor, coding rate</div> <div>6. Configure TNC mode: frequency, bandwidth, tx power, spreading factor, coding rate</div>
<div class="space-x-1"> <div class="space-x-1">
<button @click="enableTncMode" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="enableTncMode" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded">
@@ -86,9 +86,9 @@
</div> </div>
</div> </div>
<div> <div class="border bg-gray-50 p-3 rounded">
<div>0. Extra Tools</div> <div>Extra Tools</div>
<button @click="wipe" class="border border-gray-500 px-2 bg-gray-100 hover:bg-gray-200 rounded"> <button @click="wipe" class="border border-gray-500 px-2 bg-red-100 hover:bg-red-200 rounded">
Wipe EEPROM Wipe EEPROM
</button> </button>
</div> </div>