File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ block content
1313 input.form-control ( name ='coordinates' , type ='hidden' )
1414 .form-group
1515 .btn-group
16- input.btn.btn-primary ( type ='submit' , value ='Update reference points' )
16+ input.btn.btn-primary ( type ='submit' , value ='Save reference points' )
1717 a.btn.btn-secondary #move-to-center ( href ='#' ) Move map to center
1818
1919 a.btn.btn-secondary.float-right ( href =` /maps/${ map .id } ` ) Cancel
Original file line number Diff line number Diff line change @@ -26,8 +26,12 @@ block content
2626 a.btn.btn-outline-success ( href =` /maps/${ map .id } /yaml` ) Download Yaml
2727
2828 h2 Measurements
29- a.btn.btn-primary.float-right ( href =` /maps/${ map .id } /toggle` )
30- | #{active ? ' Stop measurement' : ' Start measurement' }
29+ if active
30+ a.btn.btn-primary.float-right ( href =` /maps/${ map .id } /toggle` ) Stop measuring
31+ else if ros .connected
32+ a.btn.btn-primary.float-right ( href =` /maps/${ map .id } /toggle` ) Start new measurement
33+ else
34+ a.btn.btn-primary.disabled.float-right ( href ='#' ) Start new measurement
3135
3236 table.table
3337 thead.thead-default
You can’t perform that action at this time.
0 commit comments