Files
Joe Uhren 788454051c Add preliminary plugin support
-Plugins can now be enabled via settings.json after dropping the plugin files into the new plugins directory
-Enabling plugins will allow extending the normal functionality of the explorer with new database collections, menus, pages and apis + open up a new url for data to be sent from the plugin to the explorer
-A new plugins section was added to the settings with a definition for the generic-snapshots plugin
-Locale strings are now loaded and shared out via the settings so there is generally no more need to explicitly include the locale.js file
-The locale object has been updated to localization within the explorer
-A number of new locale strings have been added and their values replaced with the locale string within the explorer
-Added plugin support verbiage and a link to the generic-snapshots crowdfunding task to the README
2024-06-16 18:58:12 -06:00

25 lines
1.9 KiB
Plaintext

extends layout
block content
if settings.shared_pages.page_header.page_title_image.enable_animation == true && settings.error_page.page_header.show_img
script.
$(document).ready(function() {
startRotateElement('img#header-img');
});
.col-xs-12.col-md-12
if settings.error_page.page_header.show_img == true || settings.error_page.page_header.show_title == true || settings.error_page.page_header.show_description == true
#page-header-container(style='align-items:' + (settings.error_page.page_header.show_img == true && settings.error_page.page_header.show_title == true && settings.error_page.page_header.show_description == true ? 'flex-start' : 'center'))
if settings.error_page.page_header.show_img == true
#header-img-container
img#header-img(src=(settings.shared_pages.page_header.page_title_image == null || settings.shared_pages.page_header.page_title_image.image_path == null || settings.shared_pages.page_header.page_title_image.image_path == '' ? '/img/page-title-img.png' : settings.shared_pages.page_header.page_title_image.image_path))
#page-title-container
if settings.error_page.page_header.show_title == true
h3#page-title=settings.localization.error_title.replace('{1}', settings.coin.name)
if settings.error_page.page_header.show_description == true
if settings.error_page.page_header.show_title != true
#page-title-container
.sub-page-header.text-muted=(error.status == null ? settings.localization.error_description_alt : settings.localization.error_description)
else
.sub-page-header.text-muted=(error.status == null ? settings.localization.error_description_alt : settings.localization.error_description)
.cardSpacer.clearfix
h2=(error.status == null ? '' : error.status + ' ') + message