-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.html
155 lines (134 loc) · 4.87 KB
/
template.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<div class="row" ng-show="collapse" ng-init="collapse=false">
<div class="col-lg-12">
{{title}}<span class="text-muted margin-left small">Timespan</span>
<a class="btn btn-default btn-xs pull-right"
tooltip-animation="false"
tooltip-append-to-body="true"
tooltip-placement="left"
tooltip="Expand"
ng-click="collapse=false">
<i class="fa fa-chevron-up"></i>
</a>
</div>
</div>
<div class="row" ng-show="!collapse">
<div>
<div class="main-viz">
<div id="{{uniqueToggleId}}"></div>
</div>
<div class="well well-expand" ng-show="!dateEndDim || !dateStartDim || !groupDim">Select an Upper date, a Lower date and a Group dimension on the right</div>
</div>
<div data-ng-show="showSettings" class="col-lg-3 timespan-settings">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline text-muted">Timespan</label>
</div>
<div ng-show="showAccordion" class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<a class="btn btn-default btn-xs pull-right"
tooltip-animation="false"
tooltip-append-to-body="true"
tooltip-placement="left"
tooltip="Collapse"
ng-click="collapse=true">
<i class="fa fa-chevron-down"></i>
</a>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">Description</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<input type="text" class="form-control" data-ng-model="title" placeholder="Untitled"></input>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">Layout</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<ui-select ng-model="$parent.stepMode" theme="selectize">
<ui-select-match placeholder="Select">
{{$select.selected}}
<span class="caret"></span>
</ui-select-match>
<ui-select-choices repeat="mode in stepModes">
<span ng-bind-html="mode"></span>
</ui-select-choices>
</ui-select>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">Start date</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<span class="btn btn-default btn-modal" ng-click="showDateStartModal()">
{{dateStartDim.description || "Choose"}}
<span class="caret"></span>
</span>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">End date</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<span class="btn btn-default btn-modal" ng-click="showDateEndModal()">
{{dateEndDim.description || "Choose"}}
<span class="caret"></span>
</span>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">Label</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<span class="btn btn-default btn-modal" ng-click="showTooltipLabelModal()">
{{tooltipLabelDim.description || "Choose"}}
<span class="caret"></span>
</span>
</div>
</div>
<div class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
<label class="inline">Group</label>
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<span class="btn btn-default btn-modal" ng-click="showGroupModal()">
{{groupDim.description || "Choose"}}
<span class="caret"></span>
</span>
</div>
</div>
<div data-ng-show="showControls" class="row margin-top">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">
</div>
<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">
<a class="small" data-ng-click="filterReset()">Clear</a>
<a class="small" data-ng-click="saveAsSVG()"
tooltip-animation="false"
tooltip-append-to-body="true"
tooltip-placement="top"
tooltip="Download as SVG">
<i class="fa fa-download"></i>
</a>
<a class="text-danger pull-right"
tooltip-animation="false"
tooltip-append-to-body="true"
tooltip-placement="left"
tooltip="Delete filter"
data-ng-click="$parent.removeFilter($event)">
<i class="fa fa-trash-o"></i>
</a>
</div>
</div>
</div>
</div>
<div id="{{uniqueModalId}}">
<div id="date-start-modal" data-modal dimensions="dateDims" model="dateStartDim"></div>
<div id="date-end-modal" data-modal dimensions="dateDims" model="dateEndDim"></div>
<div id="tooltip-label-modal" data-modal dimensions="labelDims" model="tooltipLabelDim"></div>
<div id="group-modal" data-modal dimensions="labelDims" model="groupDim"></div>
</div>