Commit 8b3e1908 by Takumi Imai

課題55 定期点検の文字表示

parent bfeb71eb
......@@ -120,7 +120,11 @@ RF.initBreadcrumb = function () {
* load main title callcack
*/
RF.loadMainTitleCallback = function () {
const elmInspect = $('<div style="display: block;">' + '<div><span style="font-size:18px;" lang="periodicInspectionPeriod"></span></div>' + '<div><span id="inspectDate"></span></div></div>');
const elmInspect = $(
'<div style="display: block; margin:0 auto">' +
'<div><span class=" lang" style="font-size:18px;" lang="periodicInspectionPeriod"></span></div>' +
'<div><span id="inspectDate"></span></div></div>',
);
let elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">');
const elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
elmA.append(elmImg);
......
......@@ -34,7 +34,7 @@ TEMPLATE.loadDashboardSetting = function (elmentId, changeCallback) {
/**
* Template load confirm model to element
* @param {string} elmentId - The element where contain confirm modal html,
* @param {string} elmentId - The element where contain confirm modal html,
* if it empty, auto append div with id includedConfirmModal
*/
TEMPLATE.loadConfirmModal = function (elmentId) {
......@@ -125,9 +125,9 @@ TEMPLATE.loadMainNavsTitle = function (elmentId, titleLang, navs, completeCallba
olElm.append(liElm);
}
}
I18N.initi18n();
if (completeCallback) {
completeCallback();
}
I18N.initi18n();
});
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment