mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
67 lines
2.3 KiB
Smarty
67 lines
2.3 KiB
Smarty
{*
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
*}
|
|
|
|
{* crmv@172994 *}
|
|
|
|
{include file="SmallHeader.tpl" HEADER_Z_INDEX="1" PAGE_TITLE="SKIP_TITLE" BODY_EXTRA_CLASS="popup-mynotes"}
|
|
{include file='CachedValues.tpl'}
|
|
{include file="modules/SDK/src/Reference/Autocomplete.tpl"}
|
|
|
|
<link href="include/js/jquery_plugins/mCustomScrollbar/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript" src="include/js/jquery_plugins/mCustomScrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
|
|
<script type="text/javascript" src="include/js/jquery_plugins/slimscroll/jquery.slimscroll.min.js"></script>
|
|
<link href="include/js/jquery_plugins/mCustomScrollbar/VTE.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script type="text/javascript" src="{"include/js/ListView.js"|resourcever}"></script>
|
|
<script type="text/javascript" src="{"include/js/dtlviewajax.js"|resourcever}"></script>
|
|
<script type="text/javascript" src="modules/SDK/src/Notifications/NotificationsCommon.js"></script>
|
|
<script type="text/javascript" src="modules/{$MODULE}/{$MODULE}.js"></script>
|
|
<script type="text/javascript" src="modules/SDK/SDK.js"></script>
|
|
|
|
<table width="100%" cellspacing="0" id="PageContents">
|
|
<tr valign="top">
|
|
<td width="20%">
|
|
<div id="ListViewContents">{$LIST}</div>
|
|
</td>
|
|
<td width="80%"><div id="DetailViewContents"></div></td> {* crmv@55694 *}
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
{literal}
|
|
jQuery(document).ready(function() {
|
|
setTimeout(function() {
|
|
var buttonsList = jQuery('#Buttons_List').outerHeight(true);
|
|
var emptyHeight = jQuery('body').height() - buttonsList - 5;
|
|
|
|
jQuery('#ListViewContents').slimScroll({
|
|
wheelStep: 10,
|
|
height: emptyHeight,
|
|
width:'100%'
|
|
});
|
|
//crmv@55694
|
|
/* jQuery('#DetailViewContents').slimScroll({
|
|
wheelStep: 10,
|
|
height: emptyHeight+'px',
|
|
width:'100%'
|
|
}); */
|
|
jQuery('#DetailViewContents').height(emptyHeight+'px');
|
|
//crmv@55694e
|
|
if (jQuery('.slimScrollDiv').length > 0) {
|
|
//jQuery('#ListViewContents').parent().css('outline','1px solid #E0E0E0');
|
|
}
|
|
}, 100);
|
|
});
|
|
{/literal}
|
|
|
|
{if !empty($MYNOTE_SELECTED)}
|
|
jQuery('#row_{$MYNOTE_SELECTED}').click();
|
|
{/if}
|
|
</script>
|
|
|
|
</body>
|
|
</html> |