Commit 4eebf66c by vietdo

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

parent cc7214ac
...@@ -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;
......
...@@ -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
{ {
} }
......
...@@ -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;
......
...@@ -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;
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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;
} }
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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();
......
...@@ -293,7 +293,7 @@ DETAIL.showContentNotPDF = function(displayData) { ...@@ -293,7 +293,7 @@ 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' ){
......
...@@ -32,7 +32,9 @@ $(document).ready(function(){ ...@@ -32,7 +32,9 @@ $(document).ready(function(){
return; return;
} }
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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();
if(ClientData.serviceOpt_encryption() != 'Y') {
COMMON.LockScreen(); 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