Commit ef262f96 authored by luroth's avatar luroth
Browse files

redesign sensor edit

parent a8e2ed07
This diff is collapsed.
......@@ -52,8 +52,7 @@ ui_ <- fluidPage(
tabPanel("Sensor/Lens",
h4("Sensor"),
fluidRow(
column(8, textInput("sensor_and_lens_select", label=NA, value= default_sensor_name)),
column(4, actionButton("sensor_and_lens_edit", "Save settings"))
column(12, textInput("sensor_and_lens_select", label=NA, value= default_sensor_name))
),
fluidRow(
column(6, numericInput("d_sensor_x", "Sensor size, width (mm)", width = "100%", value=default_d_sensor_x, step=0.1)),
......@@ -225,25 +224,27 @@ ui_ <- fluidPage(
h4("Flight/campaign settings"),
htmlOutput("campaign_settings"),
h4("Restrictions"),
htmlOutput("restrictions"),
div(downloadButton("download_report", "Download all graphs as PDF"))
htmlOutput("restrictions")
),
column(7,
leafletOutput("mission_waypoint_map", height=400),
div(downloadButton("download_waypoints", "Download waypoints as CSV"), HTML("(e.g. to import in Litchi)")),
div(downloadButton("download_kml", "Download mapping area as KML"), HTML("(e.g. to import in DJI GS Pro)"))
)
leafletOutput("mission_waypoint_map", height=400) )
)
),
tabPanel("Load/Save",
h4("Save campaign to file"),
downloadButton("download_params", "Download as JSON"),
h4("Load campaign from file"),
fileInput("settings", "Open JSON",
h4("App settings"),
div(downloadButton("download_params", "Download as JSON")),
div(fileInput("settings", label="", buttonLabel="Open from JSON",
multiple = FALSE,
accept = c("text/json",
".json"))
".json"))),
hr(),
h4("Waypoints"),
div(downloadButton("download_waypoints", "Download waypoints as CSV"), HTML("(e.g. to import in Litchi)")),
p(),
div(downloadButton("download_kml", "Download mapping area as KML"), HTML("(e.g. to import in DJI GS Pro)")),
hr(),
h4("Report"),
div(downloadButton("download_report", "Download all graphs as PDF"))
)
)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment