403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/calendar/sync/interface/src/panelitems/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/calendar/sync/interface/src/panelitems/connectitem.js
import SyncItemTemplate from "./syncitemtemplate";
import {Tag, Loc} from "main.core";

export default class ConnectItem extends SyncItemTemplate
{
	constructor(options)
	{
		super(options);

		this.layout = {
			container: null,
			header: null,
			content: null
		};

		this.helpdeskCode = '5697365';
		this.sliderTitle = Loc.getMessage('CALENDAR_TITLE_CALDAV');
		this.titleInfoHeader = Loc.getMessage('CAL_CONNECT_CALDAV_CALENDAR');
		this.descriptionInfoHeader = Loc.getMessage('CAL_CALDAV_CONNECT_INFO');

	}

	getInnerContent(): string
	{
		this.layout.innerContent = Tag.render`
			<div class="calendar-sync-item calendar-sync-item-add" onclick="${this.onClickItem.bind(this)}">
				<div class="calendar-sync-item-content">
					<span class="calendar-sync-item-add-inner">
						<span class="calendar-sync-item-add-icon"></span>
						<span class="calendar-sync-item-add-text">${Loc.getMessage('SYNC_SLIDER_MY_CALENDAR')}</span>
					</span>
				</div>
			</div>
		`;

		return this.layout.innerContent;
	}

	getSliderIconClass()
	{
		return 'calendar-sync-slider-header-icon-caldav';
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit