1
+
1
2
<!-- Parent holder for time conductor. follow-mode | fixed-mode -->
2
3
< div ng-controller ="TimeConductorController as tcController "
3
- class ="l-time-conductor l-flex-col {{modeModel.selected}}-mode ">
4
+ class ="holder grows flex-elem l-flex-row l-time-conductor {{modeModel.selected}}-mode ">
5
+
6
+ < div class ="flex-elem holder time-conductor-icon ">
7
+ < div class ="hand-little "> </ div >
8
+ < div class ="hand-big "> </ div >
9
+ </ div >
10
+
11
+ < div class ="flex-elem holder grows l-flex-col l-time-conductor-inner ">
4
12
<!-- Holds inputs and ticks -->
5
- < div class ="l-time-conductor-ticks l-row-elem l-flex-row flex-elem no-margin ">
6
- < form class ="abs l-time-conductor-inputs-holder "
7
- ng-submit ="tcController.updateBoundsFromForm(formModel) ">
8
- < span class ="l-time-range-w start-w ">
9
- < span class ="l-time-range-input-w start-date ">
10
- < mct-control key ="'datetime-field' "
11
- structure ="{
12
- format: 'utc',
13
- validate: tcController.validateStart
14
- } "
15
- ng-model ="formModel "
16
- ng-mouseup ="tcController.changing['start'] = true "
17
- ng-blur ="tcController.changing['start'] = false; tcController.updateBoundsFromForm(formModel) "
18
- field ="'start' "
19
- class ="time-range-input ">
20
- </ mct-control >
13
+ < div class ="l-time-conductor-ticks l-row-elem l-flex-row flex-elem no-margin ">
14
+ < form class ="abs l-time-conductor-inputs-holder "
15
+ ng-submit ="tcController.updateBoundsFromForm(formModel) ">
16
+ < span class ="l-time-range-w start-w ">
17
+ < span class ="l-time-range-input-w start-date ">
18
+ < mct-control key ="'datetime-field' "
19
+ structure ="{
20
+ format: 'utc',
21
+ validate: tcController.validateStart
22
+ } "
23
+ ng-model ="formModel "
24
+ ng-mouseup ="tcController.changing['start'] = true "
25
+ ng-blur ="tcController.changing['start'] = false; tcController.updateBoundsFromForm(formModel) "
26
+ field ="'start' "
27
+ class ="time-range-input ">
28
+ </ mct-control >
29
+ </ span >
30
+ < span class ="l-time-range-input-w time-delta start-delta "
31
+ ng-class ="{'hide':(modeModel.selected === 'fixed')} ">
32
+ -
33
+ < mct-control key ="'datetime-field' "
34
+ structure ="{
35
+ format: 'duration',
36
+ validate: tcController.validateStartDelta
37
+ } "
38
+ ng-model ="formModel "
39
+ ng-mouseup ="tcController.changing['startDelta'] = true "
40
+ ng-blur ="tcController.changing['startDelta'] = false; tcController.updateDeltasFromForm(formModel) "
41
+ field ="'startDelta' "
42
+ class ="hrs-min-input ">
43
+ </ mct-control >
44
+ </ span >
21
45
</ span >
22
- < span class ="l-time-range-input-w time-delta start-delta "
23
- ng-class ="{'hide':(modeModel.selected === 'fixed')} ">
24
- -
25
- < mct-control key ="'datetime-field' "
26
- structure ="{
27
- format: 'duration',
28
- validate: tcController.validateStartDelta
29
- } "
30
- ng-model ="formModel "
31
- ng-mouseup ="tcController.changing['startDelta'] = true "
32
- ng-blur ="tcController.changing['startDelta'] = false; tcController.updateDeltasFromForm(formModel) "
33
- field ="'startDelta' "
34
- class ="hrs-min-input ">
35
- </ mct-control >
36
- </ span >
37
- </ span >
38
46
39
47
40
- < span class ="l-time-range-w end-w ">
41
- < span class ="l-time-range-input-w time-delta end-delta "
42
- ng-class ="{'hide':(modeModel.selected === 'fixed')} ">
43
- +
44
- < mct-control key ="'datetime-field' "
45
- structure ="{
46
- format: 'duration',
47
- validate: tcController.validateEndDelta
48
- } "
49
- ng-model ="formModel "
50
- ng-mouseup ="tcController.changing['endDelta'] = true "
51
- ng-blur ="tcController.changing['endDelta'] = false; tcController.updateDeltasFromForm(formModel) "
52
- field ="'endDelta' "
53
- class ="hrs-min-input ">
54
- </ mct-control >
55
- </ span >
56
- < span class ="l-time-range-input-w end-date "
57
- ng-controller ="ToggleController as t2 ">
58
- < mct-control key ="'datetime-field' "
59
- structure ="{
60
- format: 'utc',
61
- validate: tcController.validateEnd
62
- } "
63
- ng-model ="formModel "
64
- ng-mouseup ="tcController.changing['end'] = true "
65
- ng-blur ="tcController.changing['end'] = false; tcController.updateBoundsFromForm(formModel) "
66
- field ="'end' "
67
- class ="time-range-input ">
68
- </ mct-control >
48
+ < span class ="l-time-range-w end-w ">
49
+ < span class ="l-time-range-input-w time-delta end-delta "
50
+ ng-class ="{'hide':(modeModel.selected === 'fixed')} ">
51
+ +
52
+ < mct-control key ="'datetime-field' "
53
+ structure ="{
54
+ format: 'duration',
55
+ validate: tcController.validateEndDelta
56
+ } "
57
+ ng-model ="formModel "
58
+ ng-mouseup ="tcController.changing['endDelta'] = true "
59
+ ng-blur ="tcController.changing['endDelta'] = false; tcController.updateDeltasFromForm(formModel) "
60
+ field ="'endDelta' "
61
+ class ="hrs-min-input ">
62
+ </ mct-control >
63
+ </ span >
64
+ < span class ="l-time-range-input-w end-date "
65
+ ng-controller ="ToggleController as t2 ">
66
+ < mct-control key ="'datetime-field' "
67
+ structure ="{
68
+ format: 'utc',
69
+ validate: tcController.validateEnd
70
+ } "
71
+ ng-model ="formModel "
72
+ ng-mouseup ="tcController.changing['end'] = true "
73
+ ng-blur ="tcController.changing['end'] = false; tcController.updateBoundsFromForm(formModel) "
74
+ field ="'end' "
75
+ class ="time-range-input ">
76
+ </ mct-control >
77
+ </ span >
69
78
</ span >
70
- </ span >
71
79
72
- < input type ="submit " class ="hidden ">
73
- </ form >
74
- < mct-conductor-axis > </ mct-conductor-axis >
75
- </ div >
80
+ < input type ="submit " class ="hidden ">
81
+ </ form >
82
+ < mct-conductor-axis > </ mct-conductor-axis >
83
+ </ div >
76
84
77
- <!-- Holds data availability, time of interest -->
78
- < div class ="l-data-visualization l-row-elem l-flex-row flex-elem "> </ div >
85
+ <!-- Holds data availability, time of interest -->
86
+ < div class ="l-data-visualization l-row-elem l-flex-row flex-elem "> </ div >
79
87
80
- <!-- Holds time system and session selectors, and zoom control -->
81
- < div class ="l-time-conductor-controls l-row-elem l-flex-row flex-elem ">
82
- < mct-representation
83
- key ="'mode-selector' "
84
- mct-object ="domainObject "
85
- ng-model ="modeModel "
86
- class ="holder flex-elem menus-up mode-selector ">
87
- </ mct-representation >
88
- < mct-control
89
- key ="'menu-button' "
90
- class ="holder flex-elem menus-up time-system "
91
- ng-model ="conductorModel.timeSystem "
92
- structure ="{
93
- text: 'UTC',
94
- options: [
95
- {name: 'UTC', key:'utc', glyph:'\u0043'},
96
- {name: 'SCET', key:'scet', glyph:'\u0043'},
97
- {name: 'SCLK', key:'sclk', glyph:'\u0043'}
98
- ]} ">
99
- </ mct-control >
88
+ <!-- Holds time system and session selectors, and zoom control -->
89
+ < div class ="l-time-conductor-controls l-row-elem l-flex-row flex-elem ">
90
+ < mct-representation
91
+ key ="'mode-selector' "
92
+ mct-object ="domainObject "
93
+ ng-model ="modeModel "
94
+ class ="holder flex-elem menus-up mode-selector ">
95
+ </ mct-representation >
96
+ < mct-control
97
+ key ="'menu-button' "
98
+ class ="holder flex-elem menus-up time-system "
99
+ ng-model ="conductorModel.timeSystem "
100
+ structure ="{
101
+ text: 'UTC',
102
+ options: [
103
+ {name: 'UTC', key:'utc', glyph:'\u0043'},
104
+ {name: 'SCET', key:'scet', glyph:'\u0043'},
105
+ {name: 'SCLK', key:'sclk', glyph:'\u0043'}
106
+ ]} ">
107
+ </ mct-control >
108
+ </ div >
100
109
</ div >
101
110
</ div >
0 commit comments