Stub out index/status page.
This commit is contained in:
		
							
								
								
									
										39
									
								
								templates/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								templates/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <title>{{station_call}} Status</title>
 | 
			
		||||
 | 
			
		||||
    <style>
 | 
			
		||||
      table, th, td {
 | 
			
		||||
        border: 1px solid black;
 | 
			
		||||
      }
 | 
			
		||||
    </style>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
   <h1>{{station_call}} Status</h1>
 | 
			
		||||
   <h2>{{station_lat}}, {{station_lon}}</h2>
 | 
			
		||||
 | 
			
		||||
<h3> Recent RF Packets </h3>
 | 
			
		||||
   <table>
 | 
			
		||||
     <tr>
 | 
			
		||||
      <th> from </th>
 | 
			
		||||
      <th> object_name </th>
 | 
			
		||||
      <th> created (utc) </th>
 | 
			
		||||
      <th> more </th>
 | 
			
		||||
    </tr>
 | 
			
		||||
        {% for i in d %}
 | 
			
		||||
     <tr>
 | 
			
		||||
       <td> <a href="https://digi.w1cdn.net/aprs_api/packets?from={{ i['from'] }}">{{ i['from'] }}</a> </td>
 | 
			
		||||
       <td> {{ i['object_name'] }} </td>
 | 
			
		||||
       <td> {{ i['created'] }} </td>
 | 
			
		||||
       <td> <a href="https://digi.w1cdn.net/aprs_api/packets?id={{ i['id'] }}">more</a>
 | 
			
		||||
     </tr>
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
  </table>
 | 
			
		||||
 | 
			
		||||
<h3> Recent Stations </h3>
 | 
			
		||||
Coming soon, see <a href="https://amiok.net/gitea/W1CDN/aprs_tool/issues/16">https://amiok.net/gitea/W1CDN/aprs_tool/issues/16</a>.
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user