below
Show template errors Fix: main body would allow scrolling if sidebar openpull/11/head
parent
ae7da0603f
commit
0efd06a8c8
Binary file not shown.
|
@ -35,7 +35,6 @@
|
|||
- Fixed: Don't allow CA to be uninstalled from within CA
|
||||
- Fixed: Descriptions on repository cards would display an error when clicking on them
|
||||
|
||||
|
||||
###2021.10.24
|
||||
- Windows 11 temporary compatibility fix
|
||||
- Fixed: Repository descriptions weren't showing up on cards if descriptions were allowed in Settings
|
||||
|
|
|
@ -358,8 +358,7 @@ $(function(){
|
|||
$(".dropdown-menu").hide();
|
||||
return;
|
||||
}
|
||||
|
||||
$("body").css("overflow","hidden");
|
||||
$("body").addClass("body_sidebarScroll");
|
||||
|
||||
var apppath = $(this).data("apppath");
|
||||
var appname = $(this).data("appname");
|
||||
|
@ -943,7 +942,7 @@ function closeSidebar(cookie=false,visible=false) {
|
|||
$(".sidenav").removeClass("sidenavShow").addClass("sidenavHide");
|
||||
$("#sidenavContent").html("");
|
||||
$(".back_to_top").removeClass("back_to_top_hide");
|
||||
$("body").css("overflow","auto");
|
||||
$("body").removeClass("body_sidebarScroll");
|
||||
$(".sidebar").fadeOut();
|
||||
}
|
||||
|
||||
|
@ -2155,7 +2154,8 @@ function showRepoPopup(repository) {
|
|||
|
||||
$(".sidenav").removeClass("sidenavHide").addClass("sidenavShow");
|
||||
$(".sidebar").fadeIn();
|
||||
$("body").css("overflow","hidden");
|
||||
$("body").addClass("body_sidebarScroll");
|
||||
$("body").css("overflow","hidden !important");
|
||||
post({action:'getRepoDescription',repository:repository},function(result) {
|
||||
$("#sidenavContent").html(result.description);
|
||||
$('.popup_readmore').readmore({maxHeight:250,moreLink:"<i class='ca_readmore fa fa-chevron-down'> <?=tr("SHOW MORE")?></i>",lessLink:"<i class='ca_readmore fa fa-chevron-up'> <?=tr("SHOW LESS")?></i>"});
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
cf92dbb0ee841e7034462ea1f5cb4042 ./Apps.page
|
||||
c7df6e5d6283a5c09575f6e27488d5a6 ./Apps.page
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
7ee0b23dbd92ed55f611360a983f9565 ./ca_settings.page
|
||||
1b49ec9797713ce869ea0c1066a109f2 ./default.cfg
|
||||
18ade20ccdeb4bd9429af4fd9eae48f4 ./include/exec.php
|
||||
307bdfc5a280db03798fea3b6290a4c3 ./include/exec.php
|
||||
b27be72c48168f6df05a3ebb4ab0a210 ./include/helpers.php
|
||||
95709ae0ed53e2889a93849a69b37892 ./include/paths.php
|
||||
410c0166bae560754e231486050621f6 ./javascript/libraries.js
|
||||
|
@ -20,6 +20,6 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
|
|||
09b5297db02076376519d92e2ce76cc6 ./scripts/showStatistics.php
|
||||
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
|
||||
2bd671daecaf01549f8cc0202cb184b3 ./scripts/updatePluginSupport.php
|
||||
ec3b4d48316c4303d53fda620e149749 ./skins/Narrow/css.php
|
||||
29aec30281e6b795644d4570c10c21f1 ./skins/Narrow/css.php
|
||||
cfa1511913f794c8c5980460dfcdf049 ./skins/Narrow/skin.html
|
||||
d5379f79ae367cfeafe945ab680d76ec ./skins/Narrow/skin.php
|
||||
c9f07ddfc86285c4f49c9dfca3f3f0b2 ./skins/Narrow/skin.php
|
||||
|
|
|
@ -1307,7 +1307,11 @@ function statistics() {
|
|||
@unlink($caPaths['community-templates-displayed']);
|
||||
@unlink($caPaths['community-templates-allSearchResults']);
|
||||
@unlink($caPaths['community-templates-catSearchResults']);
|
||||
$statistics = download_json($caPaths['statisticsURL'],$caPaths['statistics']);
|
||||
if ( ! is_file($caPaths['statistics']) )
|
||||
$statistics = download_json($caPaths['statisticsURL'],$caPaths['statistics']);
|
||||
else
|
||||
$statistics = readJsonFile($caPaths['statistics']);
|
||||
|
||||
download_json($caPaths['moderationURL'],$caPaths['moderation']);
|
||||
$statistics['totalModeration'] = count(readJsonFile($caPaths['moderation']));
|
||||
$repositories = readJsonFile($caPaths['repositoryList']);
|
||||
|
|
|
@ -151,6 +151,7 @@ a.appIconsPopUp { text-decoration:none;color:inherit;}
|
|||
.betaPopupText{position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform: rotate(45deg);color:white;font-size:2rem;position:absolute;top:2.25rem;right:-1rem;width:100%;overflow:hidden;height:2.5rem;}
|
||||
body.stop-scrolling{height:70%;overflow:inherit;} /* disable SweetAlert killing the scroll bar ( stops the wiggle ) */
|
||||
body{scrollbar-gutter:stable;cursor:default !important;}
|
||||
.body_sidebarScroll{overflow:hidden !important;}
|
||||
.caChangeLog {cursor:pointer;}
|
||||
.caChart {display:none;border:none;}
|
||||
. {display:inline-block;width:7rem;height:3rem;}
|
||||
|
|
|
@ -344,6 +344,8 @@ function getPopupDescriptionSkin($appNumber) {
|
|||
|
||||
$allRepositories = readJsonFile($caPaths['repositoryList']);
|
||||
$pinnedApps = readJsonFile($caPaths['pinnedV2']);
|
||||
if ( ! is_file($caPaths['statistics']) )
|
||||
download_json($caPaths['statisticsURL'],$caPaths['statistics']);
|
||||
|
||||
if ( is_file("/var/run/dockerd.pid") && is_dir("/proc/".@file_get_contents("/var/run/dockerd.pid")) ) {
|
||||
$caSettings['dockerRunning'] = "true";
|
||||
|
@ -1292,10 +1294,10 @@ function displayPopup($template) {
|
|||
<div class='changelog popup_readmore'>$display_changes</div>
|
||||
";
|
||||
}
|
||||
$moderation = readJsonFile($caPaths['fixedTemplates_txt']);
|
||||
if ( $moderation[$Repo][$Repository] ) {
|
||||
$moderation = readJsonFile($caPaths['statistics']);
|
||||
if ( $moderation['fixedTemplates'][$Repo][$Repository] ) {
|
||||
$card .= "<div class='templateErrors'>".tr("Template Errors")."</div>";
|
||||
foreach ($moderation[$Repo][$Repository] as $error) {
|
||||
foreach ($moderation['fixedTemplates'][$Repo][$Repository] as $error) {
|
||||
$card .= "<li class='templateErrorsList'>$error</li>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue