Skip to content

Commit 2561630

Browse files
Updated for indent
Updated for indent
1 parent c9b675d commit 2561630

File tree

3 files changed

+2727
-2737
lines changed

3 files changed

+2727
-2737
lines changed
Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,55 @@
1-
<!--
2-
Licensed under the Apache License, Version 2.0 (the "License");
3-
you may not use this file except in compliance with the License.
4-
You may obtain a copy of the License at
5-
6-
http://www.apache.org/licenses/LICENSE-2.0
7-
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
13-
-->
14-
15-
<div id="{{paragraph.id}}_switch"
16-
ng-if="paragraph.result.type == 'TABLE' && !asIframe && !viewOnly"
17-
class="btn-group"
18-
style='margin-bottom: 10px;'>
19-
<button type="button" class="btn btn-default btn-sm"
20-
ng-class="{'active': isGraphMode('table')}"
21-
ng-click="setGraphMode('table', true)" ><i class="fa fa-table"></i>
22-
</button>
23-
<button type="button" class="btn btn-default btn-sm"
24-
ng-class="{'active': isGraphMode('multiBarChart')}"
25-
ng-click="setGraphMode('multiBarChart', true)"><i class="fa fa-bar-chart"></i>
26-
</button>
27-
<button type="button" class="btn btn-default btn-sm"
28-
ng-class="{'active': isGraphMode('pieChart')}"
29-
ng-click="setGraphMode('pieChart', true)"><i class="fa fa-pie-chart"></i>
30-
</button>
31-
<button type="button" class="btn btn-default btn-sm"
32-
ng-class="{'active': isGraphMode('stackedAreaChart')}"
33-
ng-click="setGraphMode('stackedAreaChart', true)"><i class="fa fa-area-chart"></i>
34-
</button>
35-
<button type="button" class="btn btn-default btn-sm"
36-
ng-class="{'active': isGraphMode('lineChart') || isGraphMode('lineWithFocusChart')}"
37-
ng-click="paragraph.config.graph.lineWithFocus ? setGraphMode('lineWithFocusChart', true) : setGraphMode('lineChart', true)"><i class="fa fa-line-chart"></i>
38-
</button>
39-
<button type="button" class="btn btn-default btn-sm"
40-
ng-class="{'active': isGraphMode('scatterChart')}"
41-
ng-click="setGraphMode('scatterChart', true)"><i class="cf cf-scatter-chart"></i>
42-
</button>
43-
</div>
44-
<div id="{{paragraph.id}}_search"
45-
ng-if="paragraph.result.type == 'TABLE' && !asIframe && !viewOnly"
46-
class="btn-group"
47-
style='margin-bottom: 10px;'>
48-
<input type="search" class="form-control input-sm" id="{{paragraph.id}}_search_input" placeholder="Search records" />
49-
</div>
50-
51-
<span ng-if="getResultType()=='TABLE' && getGraphMode()!='table' && !asIframe && !viewOnly"
52-
style="margin-left:10px; cursor:pointer; display: inline-block; vertical-align:top; position: relative; line-height:30px;">
53-
<a class="btnText" ng-click="toggleGraphOption()">
54-
settings <span ng-class="paragraph.config.graph.optionOpen ? 'fa fa-caret-up' : 'fa fa-caret-down'"></span>
55-
</a>
56-
</span>
1+
<!--
2+
Licensed under the Apache License, Version 2.0 (the "License");
3+
you may not use this file except in compliance with the License.
4+
You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
-->
14+
15+
<div id="{{paragraph.id}}_switch"
16+
ng-if="paragraph.result.type == 'TABLE' && !asIframe && !viewOnly"
17+
class="btn-group"
18+
style='margin-bottom: 10px;'>
19+
<button type="button" class="btn btn-default btn-sm"
20+
ng-class="{'active': isGraphMode('table')}"
21+
ng-click="setGraphMode('table', true)" ><i class="fa fa-table"></i>
22+
</button>
23+
<button type="button" class="btn btn-default btn-sm"
24+
ng-class="{'active': isGraphMode('multiBarChart')}"
25+
ng-click="setGraphMode('multiBarChart', true)"><i class="fa fa-bar-chart"></i>
26+
</button>
27+
<button type="button" class="btn btn-default btn-sm"
28+
ng-class="{'active': isGraphMode('pieChart')}"
29+
ng-click="setGraphMode('pieChart', true)"><i class="fa fa-pie-chart"></i>
30+
</button>
31+
<button type="button" class="btn btn-default btn-sm"
32+
ng-class="{'active': isGraphMode('stackedAreaChart')}"
33+
ng-click="setGraphMode('stackedAreaChart', true)"><i class="fa fa-area-chart"></i>
34+
</button>
35+
<button type="button" class="btn btn-default btn-sm"
36+
ng-class="{'active': isGraphMode('lineChart') || isGraphMode('lineWithFocusChart')}"
37+
ng-click="paragraph.config.graph.lineWithFocus ? setGraphMode('lineWithFocusChart', true) : setGraphMode('lineChart', true)"><i class="fa fa-line-chart"></i>
38+
</button>
39+
<button type="button" class="btn btn-default btn-sm"
40+
ng-class="{'active': isGraphMode('scatterChart')}"
41+
ng-click="setGraphMode('scatterChart', true)"><i class="cf cf-scatter-chart"></i>
42+
</button>
43+
</div>
44+
<div id="{{paragraph.id}}_search"
45+
ng-if="paragraph.result.type == 'TABLE' && !asIframe && !viewOnly"
46+
class="btn-group"
47+
style='margin-bottom: 10px;'>
48+
<input type="search" class="form-control input-sm" id="{{paragraph.id}}_search_input" placeholder="Search records" />
49+
</div>
50+
<span ng-if="getResultType()=='TABLE' && getGraphMode()!='table' && !asIframe && !viewOnly"
51+
style="margin-left:10px; cursor:pointer; display: inline-block; vertical-align:top; position: relative; line-height:30px;">
52+
<a class="btnText" ng-click="toggleGraphOption()">
53+
settings <span ng-class="paragraph.config.graph.optionOpen ? 'fa fa-caret-up' : 'fa fa-caret-down'"></span>
54+
</a>
55+
</span>

0 commit comments

Comments
 (0)