fix bug, improve index template

This commit is contained in:
KF7EEL 2021-01-01 09:58:13 -08:00
parent 8cb40cbe2c
commit 15111563ed
2 changed files with 14 additions and 7 deletions

View File

@ -239,7 +239,7 @@ def process_sms(_rf_src, sms):
elif '@COM' in sms:
user_setting_write(int_id(_rf_src), re.sub(' .*|@','',sms), re.sub('@COM |@COM','',sms))
elif '@BB' in sms:
dashboard_bb_write(get_alias(int_id(_rf_src), subscriber_ids), int_id(_rf_src), time.strftime('%H:%M:%S - %m/%d/%y'), re.sub('@BB| ','',sms))
dashboard_bb_write(get_alias(int_id(_rf_src), subscriber_ids), int_id(_rf_src), time.strftime('%H:%M:%S - %m/%d/%y'), re.sub('@BB|@BB ','',sms))
elif '@MH' in sms:
grid_square = re.sub('@MH ', '', sms)
if len(grid_square) < 6:

View File

@ -18,10 +18,17 @@ p {
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="{{logo}}" alt="Logo" width="300" height="144" /></p>
<h1 style="text-align: center;">{{title}}</h1>
<hr />
<p align="center"><iframe src="bulletin_board" style="border:none;" height="300" width="700" title="Bulletin Board"></iframe></p></body>
<p align="center"><iframe src="positions" style="border:none;" height="900" width="700" title="Positions Received"></iframe></p></body>
<p style="text-align: center;"><em>Page automatically reloads every 2 minutes.</em></p>
<table>
<tbody>
<tr>
<td><div><p align="center"><iframe style="border: none;" title="Bulletin Board" src="bulletin_board" width="480" height="900"></iframe></p></div></td>
<td><div>
<p align="center"><iframe style="border: none;" title="Positions Received" src="positions" width="620" height="900"></iframe></p>
</div></td>
</tr>
</tbody>
</table>
<hr />
<h5 style="text-align: center;">Dashboard created by KF7EEL - <a href="https://github.com/kf7eel/hblink3">https://github.com/kf7eel/hblink3</a></h5>
<p style="text-align: center;">HBLink created by N0MJS.<br /><a href="https://github.com/HBLink-org">HBLink GitHub page</a></p>
</html>
<div style="text-align: center;">Dashboard created by KF7EEL - <a href="https://github.com/kf7eel/hblink3">https://github.com/kf7eel/hblink3</a><br />HBLink created by N0MJS.<br /><a href="https://github.com/HBLink-org">HBLink GitHub page</a></div>
</html>