-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,102 additions
and
358 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -836,6 +836,7 @@ public static function getTranslations(array $strings) { | |
* * brc_charts | ||
* * bigr | ||
* * d3 | ||
* * html2canvas | ||
*/ | ||
public static function add_resource($resource) { | ||
// Ensure indiciaFns is always the first resource added. | ||
|
@@ -1280,6 +1281,27 @@ public static function get_resources() { | |
'https://unpkg.com/[email protected]/dist/bigr.min.umd.js', | ||
], | ||
], | ||
'html2canvas' => [ | ||
'javascript' => [ | ||
'https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js', | ||
], | ||
], | ||
'brc_atlas_e' => [ | ||
'deps' => [ | ||
'd3_v7', | ||
], | ||
'stylesheets' => [ | ||
'https://cdn.jsdelivr.net/gh/biologicalrecordscentre/[email protected]/dist/brcatlas_e.umd.css', | ||
], | ||
'javascript' => [ | ||
'https://cdn.jsdelivr.net/gh/biologicalrecordscentre/[email protected]/dist/brcatlas_e.umd.min.js', | ||
], | ||
], | ||
'd3_v7' => [ | ||
'javascript' => [ | ||
'https://d3js.org/d3.v7.min.js', | ||
], | ||
], | ||
]; | ||
} | ||
return self::$resource_list; | ||
|
@@ -2367,6 +2389,7 @@ public static function getIndiciaData() { | |
'buttonDefaultClass' => $indicia_templates['buttonDefaultClass'], | ||
'buttonHighlightedClass' => $indicia_templates['buttonHighlightedClass'], | ||
'buttonSmallClass' => 'btn-xs', | ||
'jQueryValidateErrorClass' => $indicia_templates['error_class'], | ||
]; | ||
self::$indiciaData['formControlClass'] = $indicia_templates['formControlClass']; | ||
self::$indiciaData['inlineErrorClass'] = $indicia_templates['error_class']; | ||
|
@@ -3271,12 +3294,6 @@ private static function apply_error_template($error, $fieldname) { | |
* * **report** - Path to the report file to use when loading data from a | ||
* report, e.g. "library/occurrences/explore_list", excluding the .xml | ||
* extension. | ||
* * **orderby** - Optional. For a non-default sort order, provide the | ||
* field name to sort by. Can be comma separated to sort by several | ||
* fields in descending order of precedence. | ||
* * **sortdir** - Optional. Specify ASC or DESC to define ascending or | ||
* descending sort order respectively. Can be comma separated if several | ||
* sort fields are specified in the orderby parameter. | ||
* * **extraParams** - Array of extra URL parameters to send with the web | ||
* service request. Should include key value pairs for the field filters | ||
* (for table data) or report parameters (for the report data) as well as | ||
|
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
Oops, something went wrong.