2022-07-29 19:25:44 +00:00
|
|
|
import React, { Component, useEffect } from 'react';
|
|
|
|
import { observer, inject } from "mobx-react";
|
|
|
|
import { f7, Popover, List, ListItem, Navbar, NavRight, Sheet, BlockTitle, Page, View, Icon, Link } from 'framework7-react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { Device } from "../../utils/device";
|
|
|
|
|
|
|
|
const SharingSettings = props => {
|
|
|
|
const { t } = useTranslation();
|
2022-11-18 11:45:09 +00:00
|
|
|
const storeAppOptions = props.storeAppOptions;
|
|
|
|
const sharingSettingsUrl = storeAppOptions.sharingSettingsUrl;
|
2022-07-29 19:25:44 +00:00
|
|
|
const _t = t('Common.Collaboration', {returnObjects: true});
|
2022-11-18 11:45:09 +00:00
|
|
|
// const url = 'https://nct.onlyoffice.com/Products/Files/Share.aspx?fileid=142278';
|
2022-07-29 19:25:44 +00:00
|
|
|
|
|
|
|
return (
|
|
|
|
<Page>
|
|
|
|
<Navbar title={t('Common.Collaboration.textSharingSettings')} backLink={_t.textBack} />
|
|
|
|
<div id="sharing-placeholder" className="sharing-placeholder">
|
2022-11-18 11:45:09 +00:00
|
|
|
<iframe width="100%" height="100%" frameBorder={0} scrolling="0" align="top" src={sharingSettingsUrl}></iframe>
|
2022-07-29 19:25:44 +00:00
|
|
|
</div>
|
|
|
|
</Page>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2022-11-18 11:45:09 +00:00
|
|
|
export default inject("storeAppOptions")(observer(SharingSettings));
|