mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
113 lines
5.4 KiB
HTML
113 lines
5.4 KiB
HTML
<!--
|
|
(c) Copyright Ascensio System SIA 2020
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" href="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css">
|
|
<link rel="stylesheet" href="./resources/css/styles.css">
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
|
|
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js"></script>
|
|
<script type="text/javascript" src="scripts/code.js"></script>
|
|
</head>
|
|
<body class="noselect">
|
|
<div id="div_header" class="header hidden">
|
|
<!-- <span id="arrow" class="arrow hidden">←</span> -->
|
|
<label id="lbl_header" class="aboutlable header">Manage plugins</label>
|
|
<span id="close" class="close">×</span>
|
|
</div>
|
|
<div id="div_body" class="div_body hidden">
|
|
<div id="toolbar" class="toolbar">
|
|
<div class="toolbar_buttons">
|
|
<button id="btn_myPlugins" class="btn_menu btn_menu_left btn-text-default">My plugins</button>
|
|
<button id="btn_marketplace" class="btn_menu btn_menu_right btn-text-default btn_toolbar_active">Marketplace</button>
|
|
</div>
|
|
<div class="toolbar_link">
|
|
<!-- TODO think about how to open the form for uploading -->
|
|
<a id="link_newPlugin" class="link_submit" target="blank" href="https://github.com/ONLYOFFICE/onlyoffice.github.io/pulls">Submit your own plugin</a>
|
|
</div>
|
|
</div>
|
|
<div id="div_main" class="main_content"></div>
|
|
</div>
|
|
<div id="div_selected_toolbar" class="div_selected_toolbar hidden">
|
|
<!-- TODO temporarily, I added an arrow here so that I could go back -->
|
|
<span id="arrow" class="arrow hidden">←</span>
|
|
<!-- TODO temporarily set the following image sizes 56 -->
|
|
<div style="width:56px; margin-top: 10px;">
|
|
<img id="img_icon" style="height:56px">
|
|
</div>
|
|
<div class="div_selected_description">
|
|
<span id="span_name" class="span_name_selected"></span>
|
|
<div class="div_offered">
|
|
<span id="span_offered_caption" class="span_description">Offered by:</span>
|
|
<span id="span_offered"></span>
|
|
</div>
|
|
<div>
|
|
<button id="btn_update" class="btn-text-default btn_preview btn_install" onclick="onClickUpdate(event.target)">Update</button>
|
|
<button id="btn_remove" class="btn-text-default btn_preview btn_remove" onclick="onClickRemove(event.target.parentNode, event)">Remove</button>
|
|
<button id="btn_install" class="btn-text-default btn_preview btn_install" onclick="onClickInstall(event.target.parentNode, event)">Install</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="div_selected_main" class="div_selected_main hidden">
|
|
<div style="width:100%; height:100%">
|
|
<div>
|
|
<span id="span_overview" class="span_caption span_selected" onclick="onSelectPreview(event.target, true)">Overview</span>
|
|
<span id="span_info" class="span_caption" onclick="onSelectPreview(event.target, false)">Info & Support</span>
|
|
<hr>
|
|
</div>
|
|
<div id="div_selected_preview" class="div_selected_preview">
|
|
<div class="div_description_selected">
|
|
<span id="span_selected_description"></span>
|
|
</div>
|
|
<div id="div_selected_image" class="div_selected_image">
|
|
<img id="image_screenshot" class="image_preview">
|
|
</div>
|
|
</div>
|
|
<div id="div_selected_info" class="div_selected_preview hidden">
|
|
<div id="div_version" class="div_selected_info hidden">
|
|
<span id="span_ver_caption" class="span_info">Version: </span>
|
|
<span id="span_ver"></span>
|
|
</div>
|
|
<div class="div_selected_info">
|
|
<span id="span_langs_caption" class="span_info">Languges: </span>
|
|
<span id="span_langs"></span>
|
|
</div>
|
|
<div class="div_selected_info">
|
|
<span id="span_lern" class="span_info">Learn how to use </span>
|
|
<span id="span_lern_plugin">the plugin in </span>
|
|
<a class="aboutlink link_info" target="blank" href="https://api.onlyoffice.com/plugin/basic">Help Center.</a>
|
|
</div>
|
|
<div id="div_github_link" class="div_selected_info">
|
|
<span id="span_contribute" class="span_info">Contribute </span>
|
|
<span id="span_contribute_end">to the plugin developmen or report an issue on </span>
|
|
<a id="link_plugin" class="aboutlink link_info" target="blank">Github.</a>
|
|
</div>
|
|
<div class="div_selected_info">
|
|
<span id="span_help" class="span_info">Get help </span>
|
|
<span id="span_help_end">with the plugin functionality on our forum.</span>
|
|
</div>
|
|
<div class="div_selected_info">
|
|
<span id="span_create">Create a new plugin using </span>
|
|
<a class="aboutlink link_info" target="blank" href="https://api.onlyoffice.com/plugin/basic">ONLYOFFICE API.</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="div_error" class="error_main hidden"><div class="loader_background"></div></div>
|
|
<div id="loader-container" class="asc-loader-container div_loader"><div class="loader_background"></div></div>
|
|
</body>
|
|
</html> |