[zoom] Revert old zoom version

This commit is contained in:
NikitaKhromov
2023-07-11 17:52:16 +08:00
parent c23d676538
commit 8f551e9f5d
10 changed files with 224 additions and 171 deletions

View File

@ -168,13 +168,7 @@
<div style="margin: 16px 0 4px 0; font-weight: normal !important;">
<label style="margin-left:12px;">Topic</label>
</div>
<input type="text" id="topic-value" class="form-control" placeholder="Enter topic here" style="width: calc(100% - 24px); margin: 0 12px 0 12px; text-align: left;">
</div>
<div id="user" style="margin: 12px; display: flex; flex-direction: column;">
<label style="margin-bottom: 4px;">Select user</label>
<select id="user-select" style="width: 100% !important;" class="select_example">
</select>
</div>
<input type="text" id="topic-value" class="form-control" placeholder="Enter topic here" style="width: calc(100% - 24px); margin: 0 12px 0 12px; text-align: left;"> </div>
<div style="margin:16px 12px 0px 12px;">
<button id="start-meeting" onсlick="" class="btn-text-default" style="width:100%; height: 30px;">Start meeting</button>
</div>
@ -712,9 +706,20 @@
</div>
</div>
<div id="configState" style="height: 100%; display: flex; flex-direction: column; position: relative;">
<p style="margin: 12px;">This plugin uses the OAuth authorization. Click on the button below and allow access for this plugin.</p>
<div>
<div style="margin: 12px 12px 0 12px;"> <span class="i18n">To use Zoom plugin, register this editor as a JWT app.</span> <a target="_blank" href="https://github.com/ONLYOFFICE/onlyoffice.github.io/tree/master/sdkjs-plugins/content/zoom#readme" class="link i18n">Learn more here.</a> </div>
<div style="margin: 12px 12px 0 12px;"> In the form, enter any application name and description, accept Terms and Conditions and generate a secret. Enter SDK Key, SDK Secret and JWT token below and save it. </div>
</div>
<div style="display: flex; flex-direction: column; margin: 12px 12px 0 12px;"> <span>Email</span>
<input id="emailField" autocomplete="new-password" class="form-control" data-id="zoom-email-value" type="text" placeholder="Email" /> </div>
<div style="display: flex; flex-direction: column; margin: 12px 12px 0 12px;"> <span>SDK Key</span>
<input id="sdkKeyField" autocomplete="new-password" class="form-control" data-id="zoom-sdk-key" type="text" placeholder="SDK Key" /> </div>
<div style="display: flex; flex-direction: column; margin: 12px 12px 0 12px;"> <span>SDK Secret</span>
<input id="sdkSecretField" autocomplete="new-password" class="form-control" data-id="zoom-sdk-secret" type="password" placeholder="SDK Secret" /> </div>
<div style="display: flex; flex-direction: column; margin: 12px 12px 0 12px;"> <span>JWT Token</span>
<input id="tokenKeyField" autocomplete="new-password" class="form-control" data-id="zoom-jwt-token" type="text" placeholder="JWT Token" /> </div>
<div id="saveConfigBtn" style="margin: 16px 12px 12px 12px;" class="button wide control i18n">
<button class="btn-text-default" style="width:100%; height: 30px;">Authorization</button>
<button class="btn-text-default" style="width:100%; height: 30px;">Save</button>
</div>
</div>
</body>