Commit 421c9e02 by Vo Duc Thang

10/4 リリース

※CSS対応
parent e16f9955
...@@ -276,8 +276,8 @@ $(function () { ...@@ -276,8 +276,8 @@ $(function () {
// システム設定ファイルの配置先パスの決定 // システム設定ファイルの配置先パスの決定
var location = window.location.toString().toLowerCase(); var location = window.location.toString().toLowerCase();
var sysFile = ''; var sysFile = '';
if (location.indexOf('/abvw-preview') < 0) { if (location.indexOf('/abvw') < 0) {
sysFile = './abvw-preview/common/json/sys/conf.json'; sysFile = './abvw/common/json/sys/conf.json';
} else { } else {
sysFile = './common/json/sys/conf.json'; sysFile = './common/json/sys/conf.json';
} }
...@@ -351,15 +351,13 @@ function avwCheckLogin(option) { ...@@ -351,15 +351,13 @@ function avwCheckLogin(option) {
'<div><button id="avw-unauth-ok">OK</button></div>' + '<div><button id="avw-unauth-ok">OK</button></div>' +
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css({ $('#avw-auth-error').css({
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
...@@ -569,7 +567,7 @@ function avwGrabContentPageImage(accountPath, params, success, error) { ...@@ -569,7 +567,7 @@ function avwGrabContentPageImage(accountPath, params, success, error) {
apiUrl = apiUrl + '/' + apiName + '/'; apiUrl = apiUrl + '/' + apiName + '/';
// 送信パラメータの構築 // 送信パラメータの構築
var requestParams = 'contentId=' + params.contentId + '&sid=' + params.sid + '&pageNo=' + params.pageNo + '&pid=' + params.pid ; var requestParams = 'contentId=' + params.contentId + '&sid=' + params.sid + '&pageNo=' + params.pageNo + '&pid=' + params.pid;
//apiUrl += '?' + requestParams; //apiUrl += '?' + requestParams;
apiUrl += '?' + requestParams + '&isBase64=true'; apiUrl += '?' + requestParams + '&isBase64=true';
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"Logout", "dspBkCancel":"Logout",
"txtSearchResult":"Result", "txtSearchResult":"Result",
"dspHome":"Home", "dspHome":"Home",
"txtLoginUser":"(Ver.20130823)User:", "txtLoginUser":"(Ver.20131004)User:",
"txtAll":"All", "txtAll":"All",
"txtMkgSize":"Size", "txtMkgSize":"Size",
"txtMkgS":"S", "txtMkgS":"S",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"Password Confirm", "txtContentPWTitle":"Password Confirm",
"txtContentPWMsg":"Please input password to view this content.", "txtContentPWMsg":"Please input password to view this content.",
"txtContentWarning":"Waring", "txtContentWarning":"Waring",
"txtMediaAutoPlayWarning":"Media will be played automatically.",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト", "dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果", "txtSearchResult":"検索結果",
"dspHome":"ホーム", "dspHome":"ホーム",
"txtLoginUser":"(Ver.20130823)ログイン中:", "txtLoginUser":"(Ver.20131004)ログイン中:",
"txtAll":"すべて", "txtAll":"すべて",
"txtMkgSize":"太さ", "txtMkgSize":"太さ",
"txtMkgS":"小", "txtMkgS":"小",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"パスワードの確認", "txtContentPWTitle":"パスワードの確認",
"txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"警告", "txtContentWarning":"警告",
"txtMediaAutoPlayWarning":"メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃", "dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과", "txtSearchResult":"검색 결과",
"dspHome":"홈", "dspHome":"홈",
"txtLoginUser":"(Ver.20130823)로그인 중:", "txtLoginUser":"(Ver.20131004)로그인 중:",
"txtAll":"전체", "txtAll":"전체",
"txtMkgSize":"두께", "txtMkgSize":"두께",
"txtMkgS":"소", "txtMkgS":"소",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"KO_パスワードの確認", "txtContentPWTitle":"KO_パスワードの確認",
"txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"KO_警告", "txtContentWarning":"KO_警告",
"txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -1328,7 +1328,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1328,7 +1328,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
position: absolute; position: absolute;
top: 100%; top: 100%;
width: 0; width: 0;
height: 0; height: 0;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1665,20 +1665,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1665,20 +1665,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
zoom:1; zoom:1;
} }
/*------------*/ /*------------*/
#viewer #wrapper header .hdRcolumn .closebtn {
height: 25px;
width: 25px;
display: block;
float: right;
margin-top: 18px;
margin-right: 18px;
}
a.closebtn {
}
a.closebtn:hover{
}
.markingToolbar_off_hover .markingToolbar_off_hover
{ {
...@@ -1697,3 +1684,28 @@ ul#divListBookmark li:hover{} ...@@ -1697,3 +1684,28 @@ ul#divListBookmark li:hover{}
#powerTip{ #powerTip{
z-index: 999 !important; z-index: 999 !important;
} }
span.error{
}
span.no-item{
}
.dialog-content-music{
}
.imagePreview-one{
}
.picker-choose-on{
}
.picker-choose-off{
}
...@@ -1066,12 +1066,18 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1066,12 +1066,18 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
border-color:#ccd; border-color:#ccd;
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
border-radius: 10px; border-radius: 10px;
-moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777;
box-shadow : -3px 3px 3px #777
} }
.popuptext_arrow { .popuptext_arrow {
border-style: solid; border-style: solid;
border-width: 12px 12px 12px 12px; border-width: 12px 12px 12px 12px;
border-color: transparent transparent transparent rgb(204, 204, 221) !important;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1390,15 +1396,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1390,15 +1396,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
} }
/*------------*/ /*------------*/
#viewer #wrapper header .hdRcolumn .closebtn {
}
a.closebtn {
background: url(../../img/viewer/closebtn_01.png) 0px 0px;
}
a.closebtn:hover{
background-position:0px -25px;
}
.markingToolbar_off_hover .markingToolbar_off_hover
{ {
background-position: -414px -92px; background-position: -414px -92px;
...@@ -1409,4 +1407,31 @@ a.closebtn:hover{ ...@@ -1409,4 +1407,31 @@ a.closebtn:hover{
} }
ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;} ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;}
ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;} ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;}
#divListIndex span:hover{color: red; cursor: pointer} #divListIndex span:hover{color: red; cursor: pointer}
\ No newline at end of file
span.error{
color: red;
}
span.no-item{
color:#333333;
font-size:12px;
cursor:default;
text-decoration:none;
}
.dialog-content-music{
background: url(../../img/iPad_music.png) center center no-repeat;
background-color: white;
}
.imagePreview-one{
background-color: black;
}
.picker-choose-on{
border:1px solid #e6e6e6 !important;
}
.picker-choose-off{
border:1px solid #d3d5d6 !important;
}
...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -2286,8 +2286,11 @@ function handleForContentTypeMusic(resourceUrl){ ...@@ -2286,8 +2286,11 @@ function handleForContentTypeMusic(resourceUrl){
var $container = $('#dialog'); var $container = $('#dialog');
$container.html(''); $container.html('');
//$container.css('position', 'absolute'); //$container.css('position', 'absolute');
$container.css('background', 'url(./img/iPad_music.png) center center no-repeat'); //START FIX CSS
$container.css('background-color', 'white'); //$container.css('background', 'url(./img/iPad_music.png) center center no-repeat');
//$container.css('background-color', 'white');
$container.addClass('dialog-content-music');
//END FIX CSS
//$container.css('background-attachment', 'fixed'); //$container.css('background-attachment', 'fixed');
if (ClientData.userOpt_musicMode() == "1") { if (ClientData.userOpt_musicMode() == "1") {
......
...@@ -351,15 +351,13 @@ function avwCheckLogin(option) { ...@@ -351,15 +351,13 @@ function avwCheckLogin(option) {
'<div><button id="avw-unauth-ok">OK</button></div>' + '<div><button id="avw-unauth-ok">OK</button></div>' +
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css({ $('#avw-auth-error').css({
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"Logout", "dspBkCancel":"Logout",
"txtSearchResult":"Result", "txtSearchResult":"Result",
"dspHome":"Home", "dspHome":"Home",
"txtLoginUser":"(Ver.20131003)User:", "txtLoginUser":"(Ver.20131004)User:",
"txtAll":"All", "txtAll":"All",
"txtMkgSize":"Size", "txtMkgSize":"Size",
"txtMkgS":"S", "txtMkgS":"S",
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
"txtNoTransparent":"Opacity", "txtNoTransparent":"Opacity",
"txtContentPWTitle":"Password Confirm", "txtContentPWTitle":"Password Confirm",
"txtContentPWMsg":"Please input password to view this content.", "txtContentPWMsg":"Please input password to view this content.",
"txtContentWarning":"Warning", "txtContentWarning":"Waring",
"txtMediaAutoPlayWarning":"Media will be played automatically." "txtMediaAutoPlayWarning":"Media will be played automatically.",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト", "dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果", "txtSearchResult":"検索結果",
"dspHome":"ホーム", "dspHome":"ホーム",
"txtLoginUser":"(Ver.20131003)ログイン中:", "txtLoginUser":"(Ver.20131004)ログイン中:",
"txtAll":"すべて", "txtAll":"すべて",
"txtMkgSize":"太さ", "txtMkgSize":"太さ",
"txtMkgS":"小", "txtMkgS":"小",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"パスワードの確認", "txtContentPWTitle":"パスワードの確認",
"txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"警告", "txtContentWarning":"警告",
"txtMediaAutoPlayWarning":"メディアは自動再生されます。" "txtMediaAutoPlayWarning":"メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃", "dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과", "txtSearchResult":"검색 결과",
"dspHome":"홈", "dspHome":"홈",
"txtLoginUser":"(Ver.20131003)로그인 중:", "txtLoginUser":"(Ver.20131004)로그인 중:",
"txtAll":"전체", "txtAll":"전체",
"txtMkgSize":"두께", "txtMkgSize":"두께",
"txtMkgS":"소", "txtMkgS":"소",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"KO_パスワードの確認", "txtContentPWTitle":"KO_パスワードの確認",
"txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"KO_警告", "txtContentWarning":"KO_警告",
"txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。" "txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -255,6 +255,12 @@ a:hover ...@@ -255,6 +255,12 @@ a:hover
{ {
display: none; display: none;
} }
#msgHistoryNotExist
{
text-align:left;
margin-top:20px;
clear:both;
}
.sort-title{ .sort-title{
float: left; float: left;
......
...@@ -1328,7 +1328,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1328,7 +1328,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
position: absolute; position: absolute;
top: 100%; top: 100%;
width: 0; width: 0;
height: 0; height: 0;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1684,3 +1684,28 @@ ul#divListBookmark li:hover{} ...@@ -1684,3 +1684,28 @@ ul#divListBookmark li:hover{}
#powerTip{ #powerTip{
z-index: 999 !important; z-index: 999 !important;
} }
span.error{
}
span.no-item{
}
.dialog-content-music{
}
.imagePreview-one{
}
.picker-choose-on{
}
.picker-choose-off{
}
...@@ -41,4 +41,10 @@ p.go_top{ ...@@ -41,4 +41,10 @@ p.go_top{
br.clear { } br.clear { }
.floatL { } .floatL { }
.floatR { } .floatR { }
\ No newline at end of file
#avw-auth-error
{
color: #fff;
background: #ccc;
}
\ No newline at end of file
...@@ -192,7 +192,11 @@ a:hover ...@@ -192,7 +192,11 @@ a:hover
#msgSearchNotExist #msgSearchNotExist
{ {
} }
#msgHistoryNotExist
{
color:#f00;
font-size:16px;
}
.sort-title{ .sort-title{
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
......
...@@ -135,6 +135,10 @@ a.delete:hover:not(:target) { ...@@ -135,6 +135,10 @@ a.delete:hover:not(:target) {
cursor:default; cursor:default;
text-decoration:none; text-decoration:none;
} }
.cnt_section .text label.name
{
color: #2D83DA;
}
.cnt_section .text a.name img .cnt_section .text a.name img
{ {
} }
......
...@@ -1066,12 +1066,18 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1066,12 +1066,18 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
border-color:#ccd; border-color:#ccd;
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
border-radius: 10px; border-radius: 10px;
-moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777;
box-shadow : -3px 3px 3px #777
} }
.popuptext_arrow { .popuptext_arrow {
border-style: solid; border-style: solid;
border-width: 12px 12px 12px 12px; border-width: 12px 12px 12px 12px;
border-color: transparent transparent transparent rgb(204, 204, 221) !important;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1401,4 +1407,31 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1401,4 +1407,31 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
} }
ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;} ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;}
ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;} ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;}
#divListIndex span:hover{color: red; cursor: pointer} #divListIndex span:hover{color: red; cursor: pointer}
\ No newline at end of file
span.error{
color: red;
}
span.no-item{
color:#333333;
font-size:12px;
cursor:default;
text-decoration:none;
}
.dialog-content-music{
background: url(../../img/iPad_music.png) center center no-repeat;
background-color: white;
}
.imagePreview-one{
background-color: black;
}
.picker-choose-on{
border:1px solid #e6e6e6 !important;
}
.picker-choose-off{
border:1px solid #d3d5d6 !important;
}
...@@ -581,7 +581,7 @@ function insertRowError(contentid, pageTitle, pageNo) { ...@@ -581,7 +581,7 @@ function insertRowError(contentid, pageTitle, pageNo) {
newRow += '</span>'; newRow += '</span>';
newRow += " <div class='text'>"; newRow += " <div class='text'>";
newRow += ' <label class="name" style="color: #2D83DA;">' + truncate(pageTitle, 20) + '</label>'; newRow += ' <label class="name">' + truncate(pageTitle, 20) + '</label>';
newRow += ' <div class="info">'; newRow += ' <div class="info">';
newRow += " <label class='lang name' lang='msgShioriDeleted'>" + i18nText('msgShioriDeleted') + "</label>"; newRow += " <label class='lang name' lang='msgShioriDeleted'>" + i18nText('msgShioriDeleted') + "</label>";
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
/* get Json stored content info */ /* get Json stored content info */
function getJsonContentInfo() { function getJsonContentInfo() {
avwGrabContentPageImage(ClientData.userInfo_accountPath(), avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: 1 }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: 1 },
function (data) { function (data) {
pageImages = data; pageImages = data;
webGetContentData(); webGetContentData();
getSearchDataFromJson(); getSearchDataFromJson();
...@@ -22,10 +22,10 @@ function getJsonContentInfo() { ...@@ -22,10 +22,10 @@ function getJsonContentInfo() {
getDataJsonFile(); getDataJsonFile();
//webGetPageImageContentSize(); //webGetPageImageContentSize();
webGetContentPageSize(); webGetContentPageSize();
}, },
function (xmlHttpRequest, txtStatus, errorThrown) { function (xmlHttpRequest, txtStatus, errorThrown) {
showErrorScreen(); showErrorScreen();
}); });
}; };
//END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content //END TRB00097 - Editor: Long - Date: 09/30/2013 - Summary : Get All Page size of content
...@@ -848,7 +848,7 @@ function getBookmarklist(pos) { ...@@ -848,7 +848,7 @@ function getBookmarklist(pos) {
$("#divListBookmark").show(); $("#divListBookmark").show();
$("#divListBookmark").offset({ left: pos[0], top: (pos[1] + $('#bookmarkBoxHdBM').height()) }); $("#divListBookmark").offset({ left: pos[0], top: (pos[1] + $('#bookmarkBoxHdBM').height()) });
} }
else { else {
handleAPIWebContentPage(dataWebContentPage, pos) handleAPIWebContentPage(dataWebContentPage, pos)
} }
}; };
...@@ -858,7 +858,7 @@ function getPageIndexJson(pos) { ...@@ -858,7 +858,7 @@ function getPageIndexJson(pos) {
if (dataJsonType5.length > 0) { if (dataJsonType5.length > 0) {
$('#divListIndex').children().remove(); $('#divListIndex').children().remove();
// $("#divListIndex").dialog({ // $("#divListIndex").dialog({
// show: "blind", // show: "blind",
// modal: true, // modal: true,
// width: WIDTH_DIALOG_INDEX, // width: WIDTH_DIALOG_INDEX,
...@@ -882,7 +882,7 @@ function getPageIndexJson(pos) { ...@@ -882,7 +882,7 @@ function getPageIndexJson(pos) {
$("#divListIndex").show(); $("#divListIndex").show();
$("#divListIndex").offset({ left: pos[0], top: (pos[1] + $('#indexBoxHdIndex').height()) }); $("#divListIndex").offset({ left: pos[0], top: (pos[1] + $('#indexBoxHdIndex').height()) });
//set data for dialog index //set data for dialog index
var dataContent = dataJsonType5; var dataContent = dataJsonType5;
var arrData = new Array(); var arrData = new Array();
$.each(dataContent, function (i, value) { $.each(dataContent, function (i, value) {
...@@ -912,10 +912,10 @@ function getPageIndexJson(pos) { ...@@ -912,10 +912,10 @@ function getPageIndexJson(pos) {
$(".treeview, .treeview ul").css('padding', '0px 8px 0'); $(".treeview, .treeview ul").css('padding', '0px 8px 0');
} else { } else {
$('#divListIndex').children().remove(); $('#divListIndex').children().remove();
$('#divListIndex').append('<span style="color:#333333; font-size:12px; cursor:default; text-decoration:none;">' + i18nText('msgNoIndex') + '</span>'); $('#divListIndex').append('<span class="no-item">' + i18nText('msgNoIndex') + '</span>');
// //show dialog index // //show dialog index
// $("#divListIndex").dialog({ // $("#divListIndex").dialog({
// show: "blind", // show: "blind",
// modal: true, // modal: true,
// resizable:false, // resizable:false,
...@@ -1103,7 +1103,7 @@ function getAllMemoOfPage() { ...@@ -1103,7 +1103,7 @@ function getAllMemoOfPage() {
for (var nIndex = 0; nIndex < memoData.length; nIndex++) { for (var nIndex = 0; nIndex < memoData.length; nIndex++) {
if (memoData[nIndex].contentid == contentID if (memoData[nIndex].contentid == contentID
&& memoData[nIndex].pageNo == changePageIndex(getPageIndex())) { && memoData[nIndex].pageNo == changePageIndex(getPageIndex())) {
/* create object of memo */ /* create object of memo */
var memoObject = null; var memoObject = null;
...@@ -1115,14 +1115,14 @@ function getAllMemoOfPage() { ...@@ -1115,14 +1115,14 @@ function getAllMemoOfPage() {
memoData[nIndex].posX = widthEachPage - 50; memoData[nIndex].posX = widthEachPage - 50;
} }
memoObject = new memo( memoObject = new memo(
nIndex, nIndex,
memoData[nIndex].Text, memoData[nIndex].Text,
memoData[nIndex].posX, memoData[nIndex].posX,
memoData[nIndex].posY, memoData[nIndex].posY,
50, 50,
50, 50,
"img/memo.png" "img/memo.png"
); );
memoObjects.push(memoObject); memoObjects.push(memoObject);
} }
......
...@@ -144,7 +144,7 @@ function drawMove(coors, context_draw) { ...@@ -144,7 +144,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = "bevel"; context_draw.lineJoin = "bevel";
context_draw.lineWidth = penSize; context_draw.lineWidth = penSize;
context_draw.strokeStyle = "#" + penColor; context_draw.strokeStyle = "#" + penColor;
//context_draw.globalAlpha = 1; //context_draw.globalAlpha = 1;
context_draw.lineTo(coors.x, coors.y); context_draw.lineTo(coors.x, coors.y);
context_draw.stroke(); context_draw.stroke();
} }
...@@ -158,24 +158,24 @@ function drawMove(coors, context_draw) { ...@@ -158,24 +158,24 @@ function drawMove(coors, context_draw) {
context_draw.lineTo(coors.x, coors.y); context_draw.lineTo(coors.x, coors.y);
context_draw.stroke(); context_draw.stroke();
context_draw.globalCompositeOperation = 'source-over';*/ context_draw.globalCompositeOperation = 'source-over';*/
//context_draw.globalCompositeOperation = 'destination-out' //context_draw.globalCompositeOperation = 'destination-out'
context_draw.beginPath(); context_draw.beginPath();
var halfSize = makerSize / 2; var halfSize = makerSize / 2;
var quotSize = makerSize / 4; var quotSize = makerSize / 4;
var ptStart = [ var ptStart = [
{ x: sx - quotSize, y: sy - halfSize }, { x: sx - quotSize, y: sy - halfSize },
{ x: sx + quotSize, y: sy - halfSize }, { x: sx + quotSize, y: sy - halfSize },
{ x: sx + quotSize, y: sy + halfSize }, { x: sx + quotSize, y: sy + halfSize },
{ x: sx - quotSize, y: sy + halfSize } { x: sx - quotSize, y: sy + halfSize }
]; ];
var ptEnd = [ var ptEnd = [
{ x: coors.x - quotSize, y: coors.y - halfSize }, { x: coors.x - quotSize, y: coors.y - halfSize },
{ x: coors.x + quotSize, y: coors.y - halfSize }, { x: coors.x + quotSize, y: coors.y - halfSize },
{ x: coors.x + quotSize, y: coors.y + halfSize }, { x: coors.x + quotSize, y: coors.y + halfSize },
{ x: coors.x - quotSize, y: coors.y + halfSize } { x: coors.x - quotSize, y: coors.y + halfSize }
]; ];
if (sx > coors.x) { if (sx > coors.x) {
if (sy > coors.y) { if (sy > coors.y) {
context_draw.globalCompositeOperation = 'destination-out'; context_draw.globalCompositeOperation = 'destination-out';
...@@ -188,7 +188,7 @@ function drawMove(coors, context_draw) { ...@@ -188,7 +188,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -207,11 +207,11 @@ function drawMove(coors, context_draw) { ...@@ -207,11 +207,11 @@ function drawMove(coors, context_draw) {
context_draw.lineTo(ptStart[2].x, ptStart[2].y); context_draw.lineTo(ptStart[2].x, ptStart[2].y);
context_draw.lineTo(ptEnd[2].x, ptEnd[2].y); context_draw.lineTo(ptEnd[2].x, ptEnd[2].y);
context_draw.lineTo(ptEnd[3].x, ptEnd[3].y); context_draw.lineTo(ptEnd[3].x, ptEnd[3].y);
context_draw.lineTo(ptEnd[0].x, ptEnd[0].y); context_draw.lineTo(ptEnd[0].x, ptEnd[0].y);
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -233,7 +233,7 @@ function drawMove(coors, context_draw) { ...@@ -233,7 +233,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -257,8 +257,8 @@ function drawMove(coors, context_draw) { ...@@ -257,8 +257,8 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -281,7 +281,7 @@ function drawMove(coors, context_draw) { ...@@ -281,7 +281,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -303,7 +303,7 @@ function drawMove(coors, context_draw) { ...@@ -303,7 +303,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -325,7 +325,7 @@ function drawMove(coors, context_draw) { ...@@ -325,7 +325,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -345,7 +345,7 @@ function drawMove(coors, context_draw) { ...@@ -345,7 +345,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -365,7 +365,7 @@ function drawMove(coors, context_draw) { ...@@ -365,7 +365,7 @@ function drawMove(coors, context_draw) {
context_draw.lineJoin = 'bevel'; context_draw.lineJoin = 'bevel';
context_draw.lineCap = 'butt'; context_draw.lineCap = 'butt';
context_draw.fillStyle = "#" + makerColor; context_draw.fillStyle = "#" + makerColor;
context_draw.fill(); context_draw.fill();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.closePath(); context_draw.closePath();
context_draw.beginPath(); context_draw.beginPath();
...@@ -437,10 +437,10 @@ function drawPoint(coors, context_draw) { ...@@ -437,10 +437,10 @@ function drawPoint(coors, context_draw) {
context_draw.globalCompositeOperation = 'destination-out'; context_draw.globalCompositeOperation = 'destination-out';
context_draw.lineWidth = makerSize ; context_draw.lineWidth = makerSize ;
context_draw.lineHeight = makerSize; context_draw.lineHeight = makerSize;
context_draw.lineTo(coors.x , coors.y + 0.001); context_draw.lineTo(coors.x , coors.y + 0.001);
context_draw.lineCap = 'square'; context_draw.lineCap = 'square';
context_draw.strokeStyle = "#" + makerColor; context_draw.strokeStyle = "#" + makerColor;
context_draw.stroke(); context_draw.stroke();
context_draw.globalCompositeOperation = 'lighter'; context_draw.globalCompositeOperation = 'lighter';
context_draw.lineCap = "square"; context_draw.lineCap = "square";
......
...@@ -168,27 +168,45 @@ function Pen_SetDefaultValue() { ...@@ -168,27 +168,45 @@ function Pen_SetDefaultValue() {
} }
Pen_chooseType(typeValue, penColor); Pen_chooseType(typeValue, penColor);
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').css('border','1px solid #e6e6e6'); //START FIXCSS
//$('#dlgPen .colorpicker[colorId="'+penColor+'"]').css('border','1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
function Pen_colorPickerMouseLeaveFunction() { function Pen_colorPickerMouseLeaveFunction() {
$(this).css('border','1px solid white'); //START FIXCSS
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //$(this).css('border','1px solid white');
//$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').css('border','1px solid #e6e6e6');
$(this).addClass('picker-choose-off');
$(this).removeClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
function Pen_colorPickerMouseEnterFunction() { function Pen_colorPickerMouseEnterFunction() {
//START FIXCSS
$(this).css('border','1px solid #e6e6e6'); //$(this).css('border','1px solid #e6e6e6');
$(this).removeClass('picker-choose-off');
$(this).addClass('picker-choose-on');
//END FIXCSS
var color = $(this).attr('colorId'); var color = $(this).attr('colorId');
Pen_chooseType(pen_Size, color); Pen_chooseType(pen_Size, color);
}; };
function Pen_colorPickerClickFunction() { function Pen_colorPickerClickFunction() {
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid white'); //START FIXCSS
$(this).css('border','1px solid #e6e6e6'); //$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid white');
//$(this).css('border','1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-off');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-on');
$(this).addClass('picker-choose-on');
$(this).removeClass('picker-choose-off');
//END FIXCSS
pen_chooseColor = $(this).attr('colorId'); pen_chooseColor = $(this).attr('colorId');
Pen_chooseType(pen_Size, pen_chooseColor); Pen_chooseType(pen_Size, pen_chooseColor);
}; };
...@@ -266,6 +284,10 @@ function Pen_dspCancel_click() { ...@@ -266,6 +284,10 @@ function Pen_dspCancel_click() {
function Pen_colorWrapperMouseLeaveFunction() { function Pen_colorWrapperMouseLeaveFunction() {
Pen_chooseType(pen_Size, pen_chooseColor); Pen_chooseType(pen_Size, pen_chooseColor);
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6');
//START FIXCSS
//$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
...@@ -52,41 +52,43 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) { ...@@ -52,41 +52,43 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) {
} }
} }
// Ajust direction [ end ] // Ajust direction [ end ]
//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");
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");
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");
break; break;
case 2: left_dialog = left_arrow + 24; case 2: left_dialog = left_arrow + 24;
top_dialog = top_arrow - 20; top_dialog = top_arrow - 20;
arrowDiv.css("border-color", "transparent #ccd transparent transparent"); //arrowDiv.css("border-color", "transparent #ccd transparent transparent");
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");
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");
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");
break; break;
} }
//END FIXCSS
dialogDiv.css("left", left_dialog + "px"); dialogDiv.css("left", left_dialog + "px");
dialogDiv.css("top", (top_dialog + 10) + "px"); dialogDiv.css("top", (top_dialog + 10) + "px");
}; };
......
...@@ -732,15 +732,13 @@ function showErrorScreenForceChangePassword(){ ...@@ -732,15 +732,13 @@ function showErrorScreenForceChangePassword(){
'<div><button id="avw-unauth-ok">OK</button></div>' + '<div><button id="avw-unauth-ok">OK</button></div>' +
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css( { $('#avw-auth-error').css( {
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
......
...@@ -314,7 +314,7 @@ function handleLanguage(){ ...@@ -314,7 +314,7 @@ function handleLanguage(){
$('#control-sort-titlekana-off').css('display','block'); $('#control-sort-titlekana-off').css('display','block');
$('#content-grid').html(i18nText('msgHistoryNotExist')); $('#content-grid').html("<div id='msgHistoryNotExist'>" + i18nText('msgHistoryNotExist') + "</div>");
}else{ }else{
$('#control-sort-titlekana').css('display','block'); $('#control-sort-titlekana').css('display','block');
$('#separate').css('display','block'); $('#separate').css('display','block');
...@@ -1586,8 +1586,7 @@ function changeLanguageCallBackFunction(){ ...@@ -1586,8 +1586,7 @@ function changeLanguageCallBackFunction(){
function displayResultNoRecord(){ function displayResultNoRecord(){
i18nReplaceText(); i18nReplaceText();
$('#content-grid').html(i18nText('msgHistoryNotExist')); $('#content-grid').html("<div id='msgHistoryNotExist'>" + i18nText('msgHistoryNotExist') + "</div>");
$('#content-grid').css({'text-align':'left','margin-top':'20px','clear':'both','font-size':'16px','color':'red'});
$('#control-nextrecord').css('visibility','hidden'); $('#control-nextrecord').css('visibility','hidden');
$('.control_sort_on').hide(); $('.control_sort_on').hide();
$('.control_sort_off').show(); $('.control_sort_off').show();
......
...@@ -1398,17 +1398,6 @@ function readSubmenuFunction_callback(contentId) ...@@ -1398,17 +1398,6 @@ function readSubmenuFunction_callback(contentId)
//Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Add ContentType to Storage. //Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Add ContentType to Storage.
}; };
//Item Mouse Enter Event
function itemMouseEnterEvent() {
$(this).css('background-color', 'gray');
};
//Item Mouse Leave Event
function itemMouseLeaveEvent() {
$(this).css('background-color', 'white');
};
//Handle Back To Top Button //Handle Back To Top Button
function handleBackToTop() { function handleBackToTop() {
......
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