Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion build/templates/common/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ body {
background-color: rgba(0, 0, 0, 0.4);
}

#r-w-property-languages {
font-size: 13px;
font-weight: 500;
margin-right: 39px;
}

#r-w-property-name-category {
margin-top: 5px;
}
Expand Down Expand Up @@ -265,6 +271,8 @@ body {
border-bottom: 1px solid #c8c8c8;
}

#languages_hidden,
#languages_dropdown,
#category_hidden,
#category_dropdown,
#subcategory_hidden,
Expand Down Expand Up @@ -296,7 +304,8 @@ body {
@media only screen and (max-width: 1080px) {

#r-w-property-name,
#r-w-property-name-category {
#r-w-property-name-category,
#r-w-property-languages {
display: none;
}

Expand Down
9 changes: 8 additions & 1 deletion build/templates/common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1 class="ej-preview-platform-name">Bold Reports<sup>®</sup> for JavaScript</h
}

function setReportsHeight() {
if (location.href.includes('/preview') && location.href.includes('/external-parameter-report')) {
if (isExternalParameter()) {
let style = document.getElementById('reports-style');
if (!style) {
style = document.createElement('style');
Expand All @@ -116,6 +116,13 @@ <h1 class="ej-preview-platform-name">Bold Reports<sup>®</sup> for JavaScript</h
}

}
function isExternalParameter() {
const externalParameterSamples = [
'/external-parameter-report',
'/multi-language-report'
];
return externalParameterSamples.some(path => location.href.includes(path)) && location.href.includes('/preview');
}
</script>

</html>
9 changes: 9 additions & 0 deletions build/templates/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ import './index.css';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.common.min';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.widgets.min';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/bold.report-viewer.min';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.en-US.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.fr-CA.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.de-DE.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.hi-IN.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.es-ES.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.nl-NL.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.ko-KR.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.he-IL.min.js';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.ru-RU.min.js';
import '@boldreports/javascript-reporting-controls/Content/v2.0/tailwind-light/bold.report-viewer.min.css';

//report-designer
Expand Down
1 change: 0 additions & 1 deletion build/templates/report-designer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function updateDescription() {
title += ' | JavaScript Report Designer';
const titleWithBoldReports = (title.length < 45) ? title += ' | Bold Reports' : title;
document.title = titleWithBoldReports;
document.querySelector('meta[property="og:title"]').setAttribute('content', titleWithBoldReports);
}

function getReportName() {
Expand Down
1 change: 0 additions & 1 deletion build/templates/report-designer/rdlc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function updateDescription() {
title += ' | JavaScript Report Designer';
const titleWithBoldReports = (title.length < 45) ? title += ' | Bold Reports' : title;
document.title = titleWithBoldReports;
document.querySelector('meta[property="og:title"]').setAttribute('content', titleWithBoldReports);
}

function getReportName() {
Expand Down
Loading