-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LLCAXCHZF-57/add engine details field
- Loading branch information
Showing
5 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
ckanext/charts/templates/scheming/form_snippets/chart_engine_details.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="form-group control-full control-large"> | ||
<div class="controls"> | ||
<button class="btn btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#engineDetailsModal"> | ||
{{ _("Engine Details") }} | ||
</button> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="modal fade" id="engineDetailsModal" tabindex="-1" role="dialog" aria-labelledby="engineDetailsModalLabel" aria-hidden="true"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" id="moreInfoModalLabel">{{ _("Engine Details") }}</h5> | ||
<button type="button" class="btn-close close" data-bs-dismiss="modal" aria-label="Close"> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
<p> | ||
{{ _("The zoom functionality is currently supported for Chart.js and Plotly charts. These libraries offer built-in zoom and pan features, allowing users to interact with the data by zooming in, out, or panning across the chart.") }} | ||
</p> | ||
<p> | ||
{{ _("Observable Plot, however, does not natively support zoom and pan functionality like some other charting libraries. Adding such functionality to Observable Plot requires additional customization and integration with external libraries such as D3.js. As a result, zoom and pan may not work seamlessly out of the box and may require further development to be fully integrated.") }} | ||
</p> | ||
<p> | ||
{{ _("We are actively working to enhance our charting capabilities and may include native support for zoom and pan in Observable Plot in future updates.") }} | ||
</p> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">{{ _("Close") }}</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |