mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
[marketplace] Fix some typos and add click handler on raiting div.
This commit is contained in:
@ -78,8 +78,8 @@
|
||||
<div class="div_icon_info">
|
||||
<img id="img_icon">
|
||||
</div>
|
||||
<div class="div_info_column div_link">
|
||||
<div id="div_raiting" class="div_raiting">★★★✩✩</div>
|
||||
<div id="div_rating_link" class="div_info_column div_link">
|
||||
<div id="div_rating" class="div_rating">★★★✩✩</div>
|
||||
<span class="defaultlable">5 votes</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -447,7 +447,7 @@ label.header {
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.div_raiting {
|
||||
.div_rating {
|
||||
color: #FF6F3D;
|
||||
font-size: 14px;
|
||||
}
|
||||
@ -466,5 +466,5 @@ label.header {
|
||||
}
|
||||
|
||||
.div_link {
|
||||
cursor: pointer;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
@ -185,6 +185,10 @@ window.onload = function() {
|
||||
elements.inpSearch.addEventListener('input', function(event) {
|
||||
makeSearch(event.target.value.trim().toLowerCase());
|
||||
});
|
||||
|
||||
elements.divRatingLink.onclick = function(event) {
|
||||
console.log('click', event);
|
||||
};
|
||||
};
|
||||
|
||||
window.addEventListener('message', function(message) {
|
||||
@ -476,6 +480,7 @@ function initElemnts() {
|
||||
elements.arrowNext = document.getElementById('arrow_next');
|
||||
elements.inpSearch = document.getElementById('inp_search');
|
||||
elements.btnUpdateAll = document.getElementById('btn_updateAll');
|
||||
elements.divRatingLink = document.getElementById('')
|
||||
};
|
||||
|
||||
function toogleLoader(show, text) {
|
||||
@ -720,7 +725,7 @@ function createPluginDiv(plugin, bInstalled) {
|
||||
'</div>' +
|
||||
'<div class="div_footer">' +
|
||||
'<div class="advanced_info">' +
|
||||
'<div id="div_raiting" class="div_raiting">★★★✩✩</div>' +
|
||||
'<div id="div_rating" class="div_rating">★★★✩✩</div>' +
|
||||
(bHasUpdate
|
||||
? '<span class="span_update ' + (!bRemoved ? "" : "hidden") + '">' + getTranslated("Update") + '</span>'
|
||||
: ''
|
||||
@ -1401,7 +1406,7 @@ function installPluginManually() {
|
||||
|
||||
function sortPlugins(bAll, bInst, type) {
|
||||
switch (type) {
|
||||
case 'raiting':
|
||||
case 'rating':
|
||||
// todo
|
||||
break;
|
||||
case 'instalations':
|
||||
|
||||
Reference in New Issue
Block a user