mirror of
https://github.com/coulisse/spiderweb.git
synced 2024-09-21 07:27:09 +00:00
fix menu on search callsign page
This commit is contained in:
parent
21d3784871
commit
6009f93339
23
cfg/config.json
Normal file
23
cfg/config.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"mysql":{
|
||||
"host":"localhost",
|
||||
"user":"webdb",
|
||||
"passwd":"Zw73dp",
|
||||
"db":"dxcluster"
|
||||
},
|
||||
"timer":{
|
||||
"interval":30000
|
||||
},
|
||||
"plot_refresh_timer":{
|
||||
"interval":450000
|
||||
},
|
||||
"mycallsign":"IU1BOW",
|
||||
"menu": {
|
||||
"menu_list": [
|
||||
{"label":"Plots", "link": "/plots.html", "external": false},
|
||||
{"label":"Sources", "link": "https://github.com/coulisse/spiderweb/" , "external": true},
|
||||
{"label":"Cookies policy", "link": "/cookies.html", "external": false},
|
||||
{"label":"Dx Cluster resource", "link": "https://www.dxcluster.info/WebDXCluster/webcluster.htm", "external": true}
|
||||
]
|
||||
}
|
||||
}
|
@ -2,6 +2,7 @@
|
||||
___
|
||||
04/10/2020: 1.2.2
|
||||
- Added config.sh utilty in script folder, in order to avoid edit manually config.json
|
||||
- Amend menu on search callsign page
|
||||
___
|
||||
21/09/2020: 1.2.1
|
||||
- Added country column (only on desktop version)
|
||||
|
@ -185,7 +185,7 @@ def callsign():
|
||||
payload=spotquery()
|
||||
country_data=load_country()
|
||||
callsign=request.args.get('c')
|
||||
response=flask.Response(render_template('callsign.html',payload=payload,country_data=country_data,callsign=callsign))
|
||||
response=flask.Response(render_template('callsign.html',mycallsign=cfg['mycallsign'],menu_list=cfg['menu']['menu_list'],payload=payload,country_data=country_data,callsign=callsign))
|
||||
return response
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user