Commit 4eebf66c by vietdo

#16037 Web版 リスト表示でコンテンツ名の表示文字数が少ない

parent cc7214ac
.articlehistory{ .articlehistory{
width:858px; width:858px;
border:1px solid #ccc; border:1px solid #ccc;
padding:10px 20px 0 22px; padding:10px 20px 0 22px;
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
vertical-align:middle; vertical-align:middle;
} }
.tops a.btn_blue,.tops a.btn_gray .tops a.btn_blue,.tops a.btn_gray
{ {
float:left; float:left;
text-align:center; text-align:center;
display:table-cell; display:table-cell;
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
text-decoration:none; text-decoration:none;
margin-right:10px; margin-right:10px;
color:#fff; color:#fff;
-moz-box-shadow: inset 0px 1px 0px 0px #86ACC7; -moz-box-shadow: inset 0px 1px 0px 0px #86ACC7;
-webkit-box-shadow: inset 0px 1px 0px 0px #86ACC7; -webkit-box-shadow: inset 0px 1px 0px 0px #86ACC7;
box-shadow: inset 0px 1px 0px 0px #86ACC7; box-shadow: inset 0px 1px 0px 0px #86ACC7;
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
font-family: arial; font-family: arial;
font-size: 15px; font-size: 15px;
font-weight: bold; font-weight: bold;
padding: 2px 15px; padding: 2px 15px;
text-decoration: none; text-decoration: none;
/* [disabled]text-shadow:1px 1px 0px #a2d613; */ /* [disabled]text-shadow:1px 1px 0px #a2d613; */
margin-left: 5px; margin-left: 5px;
...@@ -83,20 +83,20 @@ ...@@ -83,20 +83,20 @@
.tops ul{ float:left; margin:0; padding:0;} .tops ul{ float:left; margin:0; padding:0;}
.tops ul li{ display:inline;} .tops ul li{ display:inline;}
.tops ul li a{ .tops ul li a{
font-size:12px; font-size:12px;
float:left; float:left;
color:rgb(45,131,218); color:rgb(45,131,218);
text-decoration:none; text-decoration:none;
margin-right:5px; margin-right:5px;
margin-left:5px; margin-left:5px;
} }
.tops ul li span{ .tops ul li span{
font-size:12px; font-size:12px;
float:left; float:left;
color:#333333; color:#333333;
text-decoration:none; text-decoration:none;
margin-right:5px; margin-right:5px;
margin-left:5px; margin-left:5px;
} }
.tops ul li a.nottouchdevice:hover{ text-decoration:underline;} .tops ul li a.nottouchdevice:hover{ text-decoration:underline;}
...@@ -147,10 +147,10 @@ ...@@ -147,10 +147,10 @@
margin: 0 0 0 35px; margin: 0 0 0 35px;
width:400px; width:400px;
} }
.cnt_section_list .text a.name{ /*.cnt_section_list .text a.name{
color: #37648C; color: #37648C;
font-size: 16px; font-size: 16px;
} }*/
.cnt_section_list .text a.name img .cnt_section_list .text a.name img
{ {
float:left; float:left;
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
} }
#main-searchresult span #main-searchresult span
{ {
float: left; float: left;
margin-right: 15px; margin-right: 15px;
} }
#main-searchresult input #main-searchresult input
......
...@@ -60,6 +60,13 @@ section.sectionhomebookshelf .cnt_section_bookshelf:hover{ ...@@ -60,6 +60,13 @@ section.sectionhomebookshelf .cnt_section_bookshelf:hover{
text-decoration: none; text-decoration: none;
font-size: 12px; font-size: 12px;
} }
.sectionhomebookshelf a.name div.content-title{
width: 60px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cnt_section_bookshelf a.name:hover{ text-decoration:underline; color:#2d83da;} .cnt_section_bookshelf a.name:hover{ text-decoration:underline; color:#2d83da;}
.cnt_section_bookshelf .text ul.date{ } .cnt_section_bookshelf .text ul.date{ }
.cnt_section_bookshelf .text ul.date li{ color:#333333; font-size:11px;} .cnt_section_bookshelf .text ul.date li{ color:#333333; font-size:11px;}
......
...@@ -88,6 +88,14 @@ section.sectionhistory .cnt_section_list:hover{ ...@@ -88,6 +88,14 @@ section.sectionhistory .cnt_section_list:hover{
color: #37648C; color: #37648C;
font-size: 16px; font-size: 16px;
} }
.cnt_section_list .text a div.test1{
width: 600px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cnt_section_list .text a.name img .cnt_section_list .text a.name img
{ {
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
-moz-box-shadow: 0px 1px 3px 0px #666; -moz-box-shadow: 0px 1px 3px 0px #666;
box-shadow: 0px 1px 3px 0px #666; box-shadow: 0px 1px 3px 0px #666;
font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif; font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif;
background-color:#fff; background-color:#fff;
} }
.closebtn { .closebtn {
background: url(../../img/login/close.png) 0 0 no-repeat; background: url(../../img/login/close.png) 0 0 no-repeat;
...@@ -30,9 +30,15 @@ ...@@ -30,9 +30,15 @@
} }
.sectiondetail #book_data ul li { .sectiondetail #book_data ul li {
} }
.sectiondetail #book_data ul .title { .sectiondetail #book_data ul li.title {
font-size:18px; font-size:18px;
line-height:1.3em; line-height:1.3em;
width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
} }
.sectiondetail #book_data ul .date { .sectiondetail #book_data ul .date {
font-size:12px; font-size:12px;
...@@ -187,6 +193,6 @@ ...@@ -187,6 +193,6 @@
.sectiondetailnopdf #book_list ul .page,.sectiondetailnopdf #book_list ul .text{ } .sectiondetailnopdf #book_list ul .page,.sectiondetailnopdf #book_list ul .text{ }
.sectiondetailnopdf #book_list ul+ul { border-top:1px dotted #CCC; } .sectiondetailnopdf #book_list ul+ul { border-top:1px dotted #CCC; }
.sectiondetailnopdf #book_data .read_btn { .sectiondetailnopdf #book_data .read_btn {
/*margin:30px 0 0 80px;*/ /*margin:30px 0 0 80px;*/
} }
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</style> </style>
</head> </head>
<body id="history" oncontextmenu="return false;"> <body id="history" oncontextmenu="return true">
<header id="header-ws" class="header_ws"> <header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;"> <div class="notification-pushmessage" style="display:none;">
......
...@@ -23,7 +23,9 @@ $(document).ready(function () { ...@@ -23,7 +23,9 @@ $(document).ready(function () {
if (!AVWEB.avwCheckLogin(COMMON.ScreenIds.Login)) return; if (!AVWEB.avwCheckLogin(COMMON.ScreenIds.Login)) return;
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
document.title = I18N.i18nText('dspShiori') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspShiori') + ' | ' + I18N.i18nText('sysAppTitle');
......
...@@ -31,7 +31,9 @@ $(document).ready(function(){ ...@@ -31,7 +31,9 @@ $(document).ready(function(){
return; return;
} }
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
document.title = I18N.i18nText('txtSearchResult') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('txtSearchResult') + ' | ' + I18N.i18nText('sysAppTitle');
......
...@@ -5666,6 +5666,7 @@ CONTENTVIEW.ready = function(){ ...@@ -5666,6 +5666,7 @@ CONTENTVIEW.ready = function(){
if (ClientData.IsRefresh() == true) { if (ClientData.IsRefresh() == true) {
//Check if is pdf content //Check if is pdf content
if(CONTENTVIEW.isMediaAndHTMLContent()){ if(CONTENTVIEW.isMediaAndHTMLContent()){
CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType(); CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType();
document.title = data.contentData.contentName + ' | ' + I18N.i18nText('sysAppTitle'); document.title = data.contentData.contentName + ' | ' + I18N.i18nText('sysAppTitle');
} }
......
...@@ -58,6 +58,7 @@ CONTENTVIEW_CALLAPI.getJsonContentInfoDone = function(doneFunc){ ...@@ -58,6 +58,7 @@ CONTENTVIEW_CALLAPI.getJsonContentInfoDone = function(doneFunc){
CONTENTVIEW_CALLAPI.getJsonDataType5Done(data5[0]); CONTENTVIEW_CALLAPI.getJsonDataType5Done(data5[0]);
} }
if(data6){ if(data6){
console.log(data6[0]);
CONTENTVIEW_CALLAPI.getDataJsonFileDone(data6[0]); CONTENTVIEW_CALLAPI.getDataJsonFileDone(data6[0]);
} }
if(data7){ if(data7){
......
...@@ -1001,21 +1001,28 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x ...@@ -1001,21 +1001,28 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x
objectLog.locationWidth = w; objectLog.locationWidth = w;
COMMON.SetObjectLog(CONTENTVIEW_GENERAL.contentID, objectLog); COMMON.SetObjectLog(CONTENTVIEW_GENERAL.contentID, objectLog);
//--- //---
/*stop audio on page */ /*stop audio on page */
CONTENTVIEW.stopAllAudio(); CONTENTVIEW.stopAllAudio();
var isShowResult, isSendResult;
var url = CONTENTVIEW_GETDATA.getURLPageImage("webEnqueteReply/init") + "/?abObjectId="+objectId + "&sid=" + CONTENTVIEW.getSessionId(); if(showResult == 1){
isShowResult = true;
} else {
isShowResult = false;
}
if(sendResult == 1){
isSendResult = true;
} else {
isSendResult = false;
}
var url = CONTENTVIEW_GETDATA.getURLPageImage("webEnqueteReply/init") + "/?abObjectId="+objectId + "&sid=" + CONTENTVIEW.getSessionId()+"&isShowResult="+isShowResult+"&isSendResult="+isSendResult;
if(ClientData.isStreamingMode()){ if(ClientData.isStreamingMode()){
//ストリーミング //ストリーミング
url = url + "&isStreaming=true"; url = url + "&isStreaming=true";
} }
var isFullScreen = false; var isFullScreen = false;
if(parseInt(fullscreen) == 1){ if(parseInt(fullscreen) == 1){
isFullScreen = true; isFullScreen = true;
} }
CONTENTVIEW_EXAM.showExam(url, isFullScreen, objectId); CONTENTVIEW_EXAM.showExam(url, isFullScreen, objectId);
CONTENTVIEW_GENERAL.showDialog(true); CONTENTVIEW_GENERAL.showDialog(true);
......
...@@ -544,7 +544,6 @@ CONTENTVIEW_INITOBJECT.isHasPageBGM = function(){ ...@@ -544,7 +544,6 @@ CONTENTVIEW_INITOBJECT.isHasPageBGM = function(){
//END TRB00069 //END TRB00069
CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){
//$('#divImageLoading').css('display', 'block'); //$('#divImageLoading').css('display', 'block');
/* init footer toolbar */ /* init footer toolbar */
...@@ -555,7 +554,9 @@ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){ ...@@ -555,7 +554,9 @@ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){
CONTENTVIEW_INITOBJECT.initDisplayToolbarDevice(); CONTENTVIEW_INITOBJECT.initDisplayToolbarDevice();
// Lock screen // Lock screen
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
//START TRB00094 - Editor : Long - Date : 09/26/2013 - Summary : Setting log //START TRB00094 - Editor : Long - Date : 09/26/2013 - Summary : Setting log
CONTENTVIEW.StartTimerUpdateLog(); CONTENTVIEW.StartTimerUpdateLog();
......
...@@ -5,7 +5,7 @@ var CONTENTVIEW_POPUPTEXT = {}; ...@@ -5,7 +5,7 @@ var CONTENTVIEW_POPUPTEXT = {};
///ShowDialog ///ShowDialog
///direction: arrow value: 0: top right ///direction: arrow value: 0: top right
/// 1: bottom right /// 1: bottom right
/// 2: top left /// 2: top left
/// 3: bottom left /// 3: bottom left
CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, arrowDiv) { CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, arrowDiv) {
CONTENTVIEW_POPUPTEXT.popuptext_dialogDiv = dialogDiv; CONTENTVIEW_POPUPTEXT.popuptext_dialogDiv = dialogDiv;
...@@ -54,16 +54,16 @@ CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, a ...@@ -54,16 +54,16 @@ CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, a
// Ajust direction [ end ] // Ajust direction [ end ]
//START FIXCSS //START FIXCSS
switch (direction) { switch (direction) {
case 0: left_dialog = left_arrow - dialogDiv.outerWidth(); case 0: left_dialog = left_arrow - dialogDiv.outerWidth();
top_dialog = top_arrow - 20; top_dialog = top_arrow - 20;
//arrowDiv.css("border-color", "transparent transparent transparent #ccd"); //arrowDiv.css("border-color", "transparent transparent transparent #ccd");
//dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777");
//dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777");
//dialogDiv.css("box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("box-shadow", "-3px 3px 3px #777");
//arrowDiv.css("border-color", "transparent transparent transparent #ccd"); //arrowDiv.css("border-color", "transparent transparent transparent #ccd");
break; break;
case 1: left_dialog = left_arrow - dialogDiv.outerWidth(); case 1: left_dialog = left_arrow - dialogDiv.outerWidth();
top_dialog = top_arrow - dialogDiv.height() + 30; top_dialog = top_arrow - dialogDiv.height() + 30;
//arrowDiv.css("border-color", "transparent transparent transparent #ccd"); //arrowDiv.css("border-color", "transparent transparent transparent #ccd");
...@@ -79,7 +79,7 @@ CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, a ...@@ -79,7 +79,7 @@ CONTENTVIEW_POPUPTEXT.OpenPopupText = function(posX, posY, content, dialogDiv, a
//dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777");
//dialogDiv.css("box-shadow", "3px 3px 3px #777"); //dialogDiv.css("box-shadow", "3px 3px 3px #777");
break; break;
case 3: left_dialog = left_arrow + 24; case 3: left_dialog = left_arrow + 24;
top_dialog = top_arrow - dialogDiv.height() + 30; top_dialog = top_arrow - dialogDiv.height() + 30;
//arrowDiv.css("border-color", "transparent #ccd transparent transparent"); //arrowDiv.css("border-color", "transparent #ccd transparent transparent");
......
...@@ -27,7 +27,7 @@ DETAIL.openContentDetail = function() { ...@@ -27,7 +27,7 @@ DETAIL.openContentDetail = function() {
else { else {
$('#sectionContentDetail').removeClass().addClass('sectiondetail'); $('#sectionContentDetail').removeClass().addClass('sectiondetail');
} }
DETAIL.displayData = { DETAIL.displayData = {
contentID: "", contentID: "",
contentTitle: "", contentTitle: "",
...@@ -44,7 +44,7 @@ DETAIL.openContentDetail = function() { ...@@ -44,7 +44,7 @@ DETAIL.openContentDetail = function() {
// Clear display info // Clear display info
$("#imgContentThumbnail").attr('src', "img/data_loading.gif"); $("#imgContentThumbnail").attr('src', "img/data_loading.gif");
DETAIL.resetLoadingImageSize(); DETAIL.resetLoadingImageSize();
$("#txtContentTitle").text(''); $("#txtContentTitle").text('');
$("#txtPubDt2_Dsp").text(''); $("#txtPubDt2_Dsp").text('');
$("#txtContentDetail").text(''); $("#txtContentDetail").text('');
...@@ -53,12 +53,12 @@ DETAIL.openContentDetail = function() { ...@@ -53,12 +53,12 @@ DETAIL.openContentDetail = function() {
$("#contentDetailClose").click(DETAIL.contentDetailClose_Click); $("#contentDetailClose").click(DETAIL.contentDetailClose_Click);
$("#contentdetail_dspRead").unbind("click"); $("#contentdetail_dspRead").unbind("click");
$("#contentdetail_dspRead").click(DETAIL.contentdetail_dspRead_Click); $("#contentdetail_dspRead").click(DETAIL.contentdetail_dspRead_Click);
//if( ClientData.serviceOpt_content_share() != '2'){ //if( ClientData.serviceOpt_content_share() != '2'){
//$("#contentdetail_dspShare").click(SHARE.openContentShare); //$("#contentdetail_dspShare").click(SHARE.openContentShare);
$("#contentdetail_dspShare").hide(); $("#contentdetail_dspShare").hide();
//} //}
COMMON.lockLayout(); COMMON.lockLayout();
$("#contentDetail").css('z-index', 101); $("#contentDetail").css('z-index', 101);
$("#sectionContentDetail").show(); $("#sectionContentDetail").show();
...@@ -70,14 +70,14 @@ DETAIL.openContentDetail = function() { ...@@ -70,14 +70,14 @@ DETAIL.openContentDetail = function() {
// Get contentid, thumbnail from list screen // Get contentid, thumbnail from list screen
DETAIL.displayData.contentID = ClientData.contentInfo_contentId(); DETAIL.displayData.contentID = ClientData.contentInfo_contentId();
DETAIL.displayData.contentThumbnail = ClientData.contentInfo_contentThumbnail(); DETAIL.displayData.contentThumbnail = ClientData.contentInfo_contentThumbnail();
var params = { var params = {
sid: ClientData.userInfo_sid(), sid: ClientData.userInfo_sid(),
getType: '1', getType: '1',
contentId: DETAIL.displayData.contentID contentId: DETAIL.displayData.contentID
}; };
// Get content detail // Get content detail
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webGetContent", "GET", params, AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webGetContent", "GET", params,
function (data) { function (data) {
...@@ -92,7 +92,7 @@ DETAIL.openContentDetail = function() { ...@@ -92,7 +92,7 @@ DETAIL.openContentDetail = function() {
} }
} }
DETAIL.displayData.deliveryDate = COMMON.convertToDate(data.contentData.deliveryStartDate); DETAIL.displayData.deliveryDate = COMMON.convertToDate(data.contentData.deliveryStartDate);
//Start Function : No.12 -- Editor : Viet Nguyen -- Date : 08/01/2013 -- Summary : Create new function to return content type of content. //Start Function : No.12 -- Editor : Viet Nguyen -- Date : 08/01/2013 -- Summary : Create new function to return content type of content.
if(!COMMON.isPdfContent(contentType)){ if(!COMMON.isPdfContent(contentType)){
DETAIL.showContentNotPDF(DETAIL.displayData); DETAIL.showContentNotPDF(DETAIL.displayData);
...@@ -113,9 +113,9 @@ DETAIL.openContentDetail = function() { ...@@ -113,9 +113,9 @@ DETAIL.openContentDetail = function() {
null null
); );
} }
//End Function : No.12 -- Editor : Viet Nguyen -- Date : 08/01/2013 -- Summary : Create new function to return content type of content. //End Function : No.12 -- Editor : Viet Nguyen -- Date : 08/01/2013 -- Summary : Create new function to return content type of content.
}, },
null null
); );
...@@ -162,7 +162,7 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) { ...@@ -162,7 +162,7 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) {
//Store Content id that user has read //Store Content id that user has read
if (ClientData.ReadingContentIds().length > 0) { if (ClientData.ReadingContentIds().length > 0) {
contentIdArray = ClientData.ReadingContentIds(); contentIdArray = ClientData.ReadingContentIds();
for (var nIndex = 0; nIndex < contentIdArray.length; nIndex++) { for (var nIndex = 0; nIndex < contentIdArray.length; nIndex++) {
if (contentIdArray[nIndex].contentid == outputId) { if (contentIdArray[nIndex].contentid == outputId) {
checkflag = true; checkflag = true;
...@@ -176,7 +176,7 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) { ...@@ -176,7 +176,7 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) {
checkflag = false; checkflag = false;
} }
} }
if (!checkflag) { if (!checkflag) {
contentIdArray.push({ contentid: outputId, viewdate: outputDate, originviewdate: date }); contentIdArray.push({ contentid: outputId, viewdate: outputDate, originviewdate: date });
} }
...@@ -184,24 +184,24 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) { ...@@ -184,24 +184,24 @@ DETAIL.contentdetail_dspRead_Click_callback = function(outputId) {
else { else {
contentIdArray.push({ contentid: outputId, viewdate: outputDate, originviewdate: date }); contentIdArray.push({ contentid: outputId, viewdate: outputDate, originviewdate: date });
} }
//Renew ReadingContentID //Renew ReadingContentID
var newArray = []; var newArray = [];
ClientData.ReadingContentIds(newArray); ClientData.ReadingContentIds(newArray);
//Set data for readingcontentid //Set data for readingcontentid
ClientData.ReadingContentIds(contentIdArray); ClientData.ReadingContentIds(contentIdArray);
//Set ResouceVersion for content //Set ResouceVersion for content
COMMON.setResourceVersionData(outputId); COMMON.setResourceVersionData(outputId);
//Set MetaVersion for content //Set MetaVersion for content
COMMON.setMetaVersionData(outputId); COMMON.setMetaVersionData(outputId);
// Redirect to screen: contentview // Redirect to screen: contentview
//$('body,html').animate({ scrollTop: 0 }, 0); //$('body,html').animate({ scrollTop: 0 }, 0);
ClientData.IsRefresh(false); ClientData.IsRefresh(false);
if (ClientData.contentInfo_contentType() == COMMON.ContentTypeKeys.Type_Others) { if (ClientData.contentInfo_contentType() == COMMON.ContentTypeKeys.Type_Others) {
// Get content detail // Get content detail
HEADER.downloadResourceById(ClientData.contentInfo_contentId()); HEADER.downloadResourceById(ClientData.contentInfo_contentId());
...@@ -238,7 +238,7 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -238,7 +238,7 @@ DETAIL.showContentNotPDF = function(displayData) {
$("#txtContentDetail").text(displayData.contentDetail); $("#txtContentDetail").text(displayData.contentDetail);
//$("#txtContentTitle").text(COMMON.truncate(displayData.contentTitle, 20)); //$("#txtContentTitle").text(COMMON.truncate(displayData.contentTitle, 20));
$("#txtContentTitle").text(displayData.contentTitle); $("#txtContentTitle").text(displayData.contentTitle);
//コンテンツ共有 //コンテンツ共有
if( displayData.contentShare == '1' ){ if( displayData.contentShare == '1' ){
SHARE.contentId = displayData.contentID; SHARE.contentId = displayData.contentID;
...@@ -247,9 +247,9 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -247,9 +247,9 @@ DETAIL.showContentNotPDF = function(displayData) {
$("#contentdetail_dspShare").unbind("click"); $("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare); $("#contentdetail_dspShare").click(SHARE.openContentShare);
} }
var tempContentType = ClientData.contentInfo_contentType(); var tempContentType = ClientData.contentInfo_contentType();
if(displayData.contentThumbnail == '' || displayData.contentThumbnail == null || displayData.contentThumbnail == 'undefined'){ if(displayData.contentThumbnail == '' || displayData.contentThumbnail == null || displayData.contentThumbnail == 'undefined'){
if(!COMMON.isPdfContent(tempContentType)){ if(!COMMON.isPdfContent(tempContentType)){
var src = HEADER.getThumbnailForOtherType(contentType); var src = HEADER.getThumbnailForOtherType(contentType);
...@@ -260,7 +260,7 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -260,7 +260,7 @@ DETAIL.showContentNotPDF = function(displayData) {
//}else{ //}else{
//contentThumbnail = contentThumbnail; //contentThumbnail = contentThumbnail;
} }
var imgTemp = new Image(); var imgTemp = new Image();
$("#imgContentThumbnail").attr("src", displayData.contentThumbnail); $("#imgContentThumbnail").attr("src", displayData.contentThumbnail);
imgTemp.onload = function () { imgTemp.onload = function () {
...@@ -278,12 +278,12 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -278,12 +278,12 @@ DETAIL.showContentNotPDF = function(displayData) {
$("#imgContentThumbnail").attr('width', ''); $("#imgContentThumbnail").attr('width', '');
$("#imgContentThumbnail").removeAttr('width'); $("#imgContentThumbnail").removeAttr('width');
$("#imgContentThumbnail").attr('height', '120'); $("#imgContentThumbnail").attr('height', '120');
$("#imgContentThumbnail").css('padding-top', "12px"); $("#imgContentThumbnail").css('padding-top', "12px");
} }
}; };
imgTemp.src = displayData.contentThumbnail; imgTemp.src = displayData.contentThumbnail;
}; };
...@@ -293,8 +293,8 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -293,8 +293,8 @@ DETAIL.showContentNotPDF = function(displayData) {
DETAIL.showContent = function(displayData) { DETAIL.showContent = function(displayData) {
$("#txtPubDt2_Dsp").text(displayData.deliveryDate.jpDateString() + " " + displayData.deliveryDate.jpShortTimeString()); $("#txtPubDt2_Dsp").text(displayData.deliveryDate.jpDateString() + " " + displayData.deliveryDate.jpShortTimeString());
$("#txtContentDetail").text(displayData.contentDetail); $("#txtContentDetail").text(displayData.contentDetail);
$("#txtContentTitle").text(COMMON.truncate(displayData.contentTitle, 20)); $("#txtContentTitle").text(displayData.contentTitle);
//コンテンツ共有 //コンテンツ共有
if( displayData.contentShare == '1' ){ if( displayData.contentShare == '1' ){
SHARE.contentId = displayData.contentID; SHARE.contentId = displayData.contentID;
...@@ -303,7 +303,7 @@ DETAIL.showContent = function(displayData) { ...@@ -303,7 +303,7 @@ DETAIL.showContent = function(displayData) {
$("#contentdetail_dspShare").unbind("click"); $("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare); $("#contentdetail_dspShare").click(SHARE.openContentShare);
} }
$("#imgContentThumbnail").attr("src", displayData.contentThumbnail); $("#imgContentThumbnail").attr("src", displayData.contentThumbnail);
var imgTemp = new Image(); var imgTemp = new Image();
...@@ -327,9 +327,9 @@ DETAIL.showContent = function(displayData) { ...@@ -327,9 +327,9 @@ DETAIL.showContent = function(displayData) {
} }
}; };
imgTemp.src = displayData.contentThumbnail; imgTemp.src = displayData.contentThumbnail;
//resizeThumbnailContentDetail(contentThumbnail, 120, 160); //resizeThumbnailContentDetail(contentThumbnail, 120, 160);
// Show pages // Show pages
for (var nIndex = 0; nIndex < displayData.pages.length; nIndex++) { for (var nIndex = 0; nIndex < displayData.pages.length; nIndex++) {
...@@ -348,14 +348,14 @@ DETAIL.insertRow = function(pageThumbnail, pageText, pageNo) { ...@@ -348,14 +348,14 @@ DETAIL.insertRow = function(pageThumbnail, pageText, pageNo) {
$('#book_list').append(newRow); $('#book_list').append(newRow);
I18N.i18nReplaceText(); I18N.i18nReplaceText();
//Resize Image //Resize Image
var imgTemp = new Image(); var imgTemp = new Image();
imgTemp.onload = function(){ imgTemp.onload = function(){
if(imgTemp.width > imgTemp.height) { if(imgTemp.width > imgTemp.height) {
$("li.list_img img").attr('height', ''); $("li.list_img img").attr('height', '');
$("li.list_img img").removeAttr('height'); $("li.list_img img").removeAttr('height');
$("li.list_img img").attr('width', '90'); $("li.list_img img").attr('width', '90');
...@@ -366,7 +366,7 @@ DETAIL.insertRow = function(pageThumbnail, pageText, pageNo) { ...@@ -366,7 +366,7 @@ DETAIL.insertRow = function(pageThumbnail, pageText, pageNo) {
$("li.list_img img").attr('height', '90'); $("li.list_img img").attr('height', '90');
} }
}; };
imgTemp.src = pageThumbnail; imgTemp.src = pageThumbnail;
}; };
......
...@@ -32,7 +32,9 @@ $(document).ready(function(){ ...@@ -32,7 +32,9 @@ $(document).ready(function(){
return; return;
} }
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
document.title = I18N.i18nText('dspViewHistory') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspViewHistory') + ' | ' + I18N.i18nText('sysAppTitle');
...@@ -1377,7 +1379,8 @@ HISTORY.renderContentAfterSort = function(contentSortArr){ ...@@ -1377,7 +1379,8 @@ HISTORY.renderContentAfterSort = function(contentSortArr){
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">' + ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contenttitle), 20) // + COMMON.truncate(COMMON.htmlEncode(post.contenttitle), 20)
+ ' <div class="test1">'+post.contenttitle+'</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <ul class="date">'
......
...@@ -86,7 +86,9 @@ $(document).ready(function () { ...@@ -86,7 +86,9 @@ $(document).ready(function () {
HOME.getDataJsonFileGroup(); HOME.getDataJsonFileGroup();
// Lock screen is here, because of in getDataJsonFileGroup() called click to expand speified nodes of treeview // Lock screen is here, because of in getDataJsonFileGroup() called click to expand speified nodes of treeview
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
//Change display type to bookshelf type //Change display type to bookshelf type
$('#control-bookshelf-type').click(HOME.changeDispBookShelfFunction); $('#control-bookshelf-type').click(HOME.changeDispBookShelfFunction);
...@@ -1657,9 +1659,10 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid, ...@@ -1657,9 +1659,10 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' </div>' + ' </div>'
+ ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 86px; "/>' + ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 86px; "/>'
+ ' </div>' + ' </div>'
+ ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="name dialog lang" lang="lblTitle" contentid="' + post.contentId + '">'
+ ' <img src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20) // + COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20)
+ ' <div class="content-title">'+post.contentTitle+"..."+'</div>'
+ ' </a>' + ' </a>'
+ '</section>' + '</section>'
); );
......
...@@ -8,7 +8,9 @@ $(document).ready(function () { ...@@ -8,7 +8,9 @@ $(document).ready(function () {
if (!AVWEB.avwCheckLogin(COMMON.ScreenIds.Login)) return; if (!AVWEB.avwCheckLogin(COMMON.ScreenIds.Login)) return;
COMMON.ToogleLogoutNortice(); COMMON.ToogleLogoutNortice();
COMMON.LockScreen(); if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen();
}
document.title = I18N.i18nText('dspSetting') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspSetting') + ' | ' + I18N.i18nText('sysAppTitle');
......
...@@ -95,6 +95,13 @@ ...@@ -95,6 +95,13 @@
<p class="memory"><input type="checkbox" id="chkRemember" /><label class="lang" lang="txtLoginPwdRbr" for="chkRemember"><!--アカウントパスとログインIDを記憶する--></label></p> <p class="memory"><input type="checkbox" id="chkRemember" /><label class="lang" lang="txtLoginPwdRbr" for="chkRemember"><!--アカウントパスとログインIDを記憶する--></label></p>
<a class="loginbtn lang" id="btnLogin" lang="dspLogin"><!--ログイン--></a> <a class="loginbtn lang" id="btnLogin" lang="dspLogin"><!--ログイン--></a>
</section> </section>
<section id="formlogindoutor" style="display:none;">
<table width="440" border="0" cellspacing="0">
<tr>
<th width="100%" >ポータルサイトからログインしてください</th>
</tr>
</table>
</section>
</article> </article>
</div> </div>
</div> </div>
......
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