This commit is contained in:
Graham McIntire 2025-06-13 13:41:16 -05:00
parent a42676cd2e
commit f6abb2864b
4 changed files with 14 additions and 14 deletions

View file

@ -50,6 +50,6 @@
>
Attempting to reconnect <Heroicons.arrow_path class="ml-1 w-3 h-3 inline animate-spin" />
</.flash>
<%= @inner_content %>
{@inner_content}
</div>
</main>

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf-token" content={get_csrf_token()} />
<.live_title suffix=" · Phoenix Framework">
<%= assigns[:page_title] || "Aprs" %>
{assigns[:page_title] || "Aprs"}
</.live_title>
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
@ -15,7 +15,7 @@
<ul>
<%= if @current_user do %>
<li>
<%= @current_user.email %>
{@current_user.email}
</li>
<li>
<.link href={~p"/users/settings"}>Settings</.link>
@ -32,6 +32,6 @@
</li>
<% end %>
</ul>
<%= @inner_content %>
{@inner_content}
</body>
</html>

View file

@ -3,11 +3,11 @@
</.header>
<.table id="packets" rows={@packets}>
<:col :let={packet} label="sender"><%= packet.sender %></:col>
<:col :let={packet} label="ssid"><%= packet.ssid %></:col>
<:col :let={packet} label="base_callsign"><%= packet.base_callsign %></:col>
<:col :let={packet} label="data_type"><%= packet.data_type %></:col>
<:col :let={packet} label="destination"><%= packet.destination %></:col>
<:col :let={packet} label="information_field"><%= packet.information_field %></:col>
<:col :let={packet} label="path"><%= packet.path %></:col>
<:col :let={packet} label="sender">{packet.sender}</:col>
<:col :let={packet} label="ssid">{packet.ssid}</:col>
<:col :let={packet} label="base_callsign">{packet.base_callsign}</:col>
<:col :let={packet} label="data_type">{packet.data_type}</:col>
<:col :let={packet} label="destination">{packet.destination}</:col>
<:col :let={packet} label="information_field">{packet.information_field}</:col>
<:col :let={packet} label="path">{packet.path}</:col>
</.table>

View file

@ -129,7 +129,7 @@ defmodule Parser do
date_time_position_data
# position = Parser.Types.Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Parser.Types.Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Position.from_aprs(latitude, longitude)
%{
latitude: lat,
@ -209,7 +209,7 @@ defmodule Parser do
symbol_code::binary-size(1), comment::binary>>
) do
# position = Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Parser.Types.Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Position.from_aprs(latitude, longitude)
%{
latitude: lat,
@ -278,7 +278,7 @@ defmodule Parser do
longitude::binary-size(9), symbol_code::binary-size(1), comment::binary>>
) do
position = Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Parser.Types.Position.from_aprs(latitude, longitude)
%{latitude: lat, longitude: lon} = Position.from_aprs(latitude, longitude)
%{
latitude: lat,