Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
df-aggregator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
df-aggregator
Commits
ce7dae65
Commit
ce7dae65
authored
Nov 19, 2020
by
Corey Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cute HTML forms that don't do anything yet
parent
029185e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
0 deletions
+26
-0
df-aggregator.py
df-aggregator.py
+5
-0
menu.css
static/menu.css
+9
-0
cesium.tpl
views/cesium.tpl
+0
-0
rx_params.tpl
views/rx_params.tpl
+12
-0
No files found.
df-aggregator.py
View file @
ce7dae65
...
...
@@ -32,6 +32,7 @@ class math_settings:
class
receiver
:
def
__init__
(
self
,
station_url
):
self
.
station_url
=
station_url
self
.
isAuto
=
True
try
:
self
.
update
()
except
:
...
...
@@ -419,6 +420,10 @@ def update_cesium():
write_czml
(
*
process_data
(
database_name
,
geofile
))
return
"OK"
@get
(
'/rx_params'
)
def
rx_params
():
return
template
(
'rx_params.tpl'
,
{
'receivers'
:
receivers
})
def
start_server
(
ipaddr
=
"127.0.0.1"
,
port
=
8080
):
run
(
host
=
ipaddr
,
port
=
port
,
quiet
=
True
,
server
=
"paste"
,
debug
=
True
)
...
...
static/menu.css
View file @
ce7dae65
...
...
@@ -84,6 +84,7 @@ body {
margin
:
-75px
0
0
90px
;
padding
:
25px
;
padding-top
:
55px
;
padding-bottom
:
37px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
color
:
#fff
;
list-style-type
:
none
;
...
...
@@ -124,6 +125,14 @@ body {
right
:
5px
;
}
.add-icon
{
display
:
block
;
position
:
absolute
;
bottom
:
7px
;
right
:
30px
;
font-size
:
23pt
;
}
.edit-checkbox
{
cursor
:
pointer
;
opacity
:
0
;
/* hide this */
...
...
views/cesium.tpl
View file @
ce7dae65
This diff is collapsed.
Click to expand it.
views/rx_params.tpl
0 → 100644
View file @
ce7dae65
% for x in {
{
receivers
}
}:
<RECEIVER>
<STATION
_ID
>
{
{
x
.
station_id
}
}
</STATION
_ID
>
<URL>
{
{
x
.
station_url
}
}
</URL>
<AUTO>
{
{
x
.
isAuto
}
}
</AUTO>
<FREQUENCY>
{
{
x
.
frequency
}
}
</FREQUENCY>
<LATITUDE>
{
{
x
.
latitude
}
}
</LATITUDE>
<LONGITUDE>
{
{
x
.
longitude
}
}
</LONGITUDE>
<HEADING>
{
{
x
.
heading
}
}
</HEADING>
<MOBILE>
{
{
x
.
isMobile
}
}
</MOBILE>
</RECEIVER>
% end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment