|
@@ -308,7 +308,7 @@ ${ dashboard.layout_skeleton() }
|
|
|
<div class="slider-cnt" data-bind="slider: {start: properties.min, end: properties.max, gap: properties.gap, min: properties.start, max: properties.end}"></div>
|
|
<div class="slider-cnt" data-bind="slider: {start: properties.min, end: properties.max, gap: properties.gap, min: properties.start, max: properties.end}"></div>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko if: properties.isDate() -->
|
|
<!-- ko if: properties.isDate() -->
|
|
|
- <div data-bind="daterangepicker: {start: properties.start, end: properties.end, gap: properties.gap, min: properties.min, max: properties.max}"></div>
|
|
|
|
|
|
|
+ <div data-bind="daterangepicker: {start: properties.start, end: properties.end, gap: properties.initial_gap, min: properties.min, max: properties.max}"></div>
|
|
|
<br/>
|
|
<br/>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
@@ -712,8 +712,12 @@ ${ dashboard.layout_skeleton() }
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
|
|
|
+ <span data-bind="visible: ! $root.isEditing(), with: $root.collection.getFacetById($parent.id())">
|
|
|
|
|
+ <span class="facet-field-label">${ _('Interval') }</span>
|
|
|
|
|
+ <input data-bind="value: properties.gap"></input>
|
|
|
|
|
+ </span>
|
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
|
- <a href="javascript:void(0)" data-bind="click: $root.collection.timeLineZoom"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
|
|
|
|
+ <a href="javascript:void(0)" data-bind="click: $root.collection.rangeZoomOut"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
<span class="facet-field-label">${ _('Group by') }</span>
|
|
<span class="facet-field-label">${ _('Group by') }</span>
|
|
|
<select class="input-medium" data-bind="options: $root.query.multiqs, optionsValue: 'id', optionsText: 'label', value: $root.query.selectedMultiq"></select>
|
|
<select class="input-medium" data-bind="options: $root.query.multiqs, optionsValue: 'id', optionsText: 'label', value: $root.query.selectedMultiq"></select>
|
|
|
</div>
|
|
</div>
|
|
@@ -746,7 +750,7 @@ ${ dashboard.layout_skeleton() }
|
|
|
<!-- ko if: type() == 'range' -->
|
|
<!-- ko if: type() == 'range' -->
|
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px">
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px">
|
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
|
- <a href="javascript:void(0)" data-bind="click: $root.collection.timeLineZoom"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
|
|
|
|
+ <a href="javascript:void(0)" data-bind="click: $root.collection.rangeZoomOut"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
</div>
|
|
</div>
|
|
@@ -785,7 +789,7 @@ ${ dashboard.layout_skeleton() }
|
|
|
|
|
|
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
|
- <a href="javascript:void(0)" data-bind="click: $root.collection.timeLineZoom"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
|
|
|
|
+ <a href="javascript:void(0)" data-bind="click: $root.collection.rangeZoomOut"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div data-bind="lineChart: {datum: {counts: counts, widget_id: $parent.id(), label: label}, field: field, label: label,
|
|
<div data-bind="lineChart: {datum: {counts: counts, widget_id: $parent.id(), label: label}, field: field, label: label,
|