Commit 8b3e1908 by Takumi Imai

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

parent bfeb71eb
...@@ -120,7 +120,11 @@ RF.initBreadcrumb = function () { ...@@ -120,7 +120,11 @@ RF.initBreadcrumb = function () {
* load main title callcack * load main title callcack
*/ */
RF.loadMainTitleCallback = function () { 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();">'); 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">'); 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); elmA.append(elmImg);
......
...@@ -34,7 +34,7 @@ TEMPLATE.loadDashboardSetting = function (elmentId, changeCallback) { ...@@ -34,7 +34,7 @@ TEMPLATE.loadDashboardSetting = function (elmentId, changeCallback) {
/** /**
* Template load confirm model to element * 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 * if it empty, auto append div with id includedConfirmModal
*/ */
TEMPLATE.loadConfirmModal = function (elmentId) { TEMPLATE.loadConfirmModal = function (elmentId) {
...@@ -125,9 +125,9 @@ TEMPLATE.loadMainNavsTitle = function (elmentId, titleLang, navs, completeCallba ...@@ -125,9 +125,9 @@ TEMPLATE.loadMainNavsTitle = function (elmentId, titleLang, navs, completeCallba
olElm.append(liElm); olElm.append(liElm);
} }
} }
I18N.initi18n();
if (completeCallback) { if (completeCallback) {
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