-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rangefinder-measurement.vugu
33 lines (28 loc) · 1.28 KB
/
rangefinder-measurement.vugu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div>
<main:TitleBar>
<button class="w3-bar-item w3-button w3-large w3-ripple w3-teal" @click='c.Navigate("/rangefinder/" + c.rangefinder.Key(), nil)'><i class="fas fa-arrow-left"></i></button>
<span class="w3-bar-item w3-large" vg-content='fmt.Sprintf("Rangefinder measurement %s", c.Key())'></span>
</main:TitleBar>
<div class="w3-container w3-row-padding">
<div class="w3-third">
<label>Point 1</label>
<main:PointSelectionComponent :Site="c.rangefinder.site" :BindValue="&c.P1"></main:PointSelectionComponent>
</div>
<div class="w3-twothird">
<label>Point 1 preview</label>
<main:PointViewComponent :Width="300" :Height="300" :Site="c.rangefinder.site" :PointKey="c.P1"></main:PointViewComponent>
</div>
<div class="w3-third">
<label>Point 2</label>
<main:PointSelectionComponent :Site="c.rangefinder.site" :BindValue="&c.P2"></main:PointSelectionComponent>
</div>
<div class="w3-twothird">
<label>Point 2 preview</label>
<main:PointViewComponent :Width="300" :Height="300" :Site="c.rangefinder.site" :PointKey="c.P2"></main:PointViewComponent>
</div>
<div class="w3-third">
<label>Measured distance</label>
<main:GeneralInputComponent InputType="number" :BindValue="&c.MeasuredDistance"></main:GeneralInputComponent>
</div>
</div>
</div>