below
Don't allow a plugin install if one already in progress. Change Spotlight iconmaster
parent
3695646056
commit
61dbc7f26a
Binary file not shown.
|
@ -1489,7 +1489,7 @@ function uninstallApp(application,humanName) {
|
|||
if (data.inProgress) {
|
||||
swal({
|
||||
title: "<?tr("Installation already in progress")?>",
|
||||
text: "<?tr("Another plugin installation or update is already in progress, and this one cannot start. Wait until the current installation or update is completed and try again")?>",
|
||||
text: "<?tr("Another plugin installation or update is already in progress and this one cannot start. Wait until the current installation or update is completed and try again")?>",
|
||||
allowOutsideClick: false,
|
||||
showConfirmButton: true,
|
||||
showCancelButton: false,
|
||||
|
@ -2071,7 +2071,7 @@ function updateDisplay(content) {
|
|||
$(this).html(description + "... <span class='card_readmore'><?=tr("Read more")?></span>");
|
||||
}
|
||||
});
|
||||
$(".ca_applicationName,.betaPopupText,.installedCardText,.upgradePopupText").each(function() {
|
||||
$(".ca_applicationName,.betaPopupText,.installedCardText,.upgradePopupText,.ltofficialPopupText").each(function() {
|
||||
while (isOverflown(this)) {
|
||||
var existingSize = $(this).css("font-size");
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
1bae65306743fa52da3bb262f0304bcf ./Apps.page
|
||||
88af72171bdf94201de853ad7a236cf7 ./Apps.page
|
||||
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
|
||||
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
|
||||
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
|
||||
451cc69d66e2504aa3e9977cb2e233b8 ./include/exec.php
|
||||
1182f793790a06f0d8ac38674904ec76 ./include/helpers.php
|
||||
8e053d6cd83fbe2202c13b692beabb4f ./include/paths.php
|
||||
7cc3e1ffd81120a1cf407857225db275 ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
71f911a818d88d3d567f8a2898094ee2 ./README.md
|
||||
ec075d8b9758ba00bda9b02c4692f972 ./scripts/checkForUpdates.php
|
||||
|
@ -20,6 +20,6 @@ ed42a35b3524b55e2024cdd56a795733 ./scripts/pluginInstall.php
|
|||
f2a86fd875cb73bb095388e69ca035fd ./scripts/showStatistics.php
|
||||
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
|
||||
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
|
||||
93144bebc8bab49bbf3cad72cffbb1bd ./skins/Narrow/css.php
|
||||
9f9f7cbbb7962b6c70c9a4cda77d5cdf ./skins/Narrow/css.php
|
||||
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
|
||||
4951429426a98eafa9e18b755528e52a ./skins/Narrow/skin.php
|
||||
fffb0e7d9806fa2b5ddf9954a087a26e ./skins/Narrow/skin.php
|
||||
|
|
|
@ -86,7 +86,10 @@ $caPaths['info'] = $caPaths['tempFiles']."/info.j
|
|||
$caPaths['dockerSearchResults'] = $caPaths['tempFiles']."/dockerSearch.json";
|
||||
$caPaths['dockerSearchInstall'] = $caPaths['tempFiles']."/dockerConvert.xml";
|
||||
$caPaths['dockerSearchActive'] = $caPaths['tempFiles']."/dockerSearchActive";
|
||||
$caPaths['SpotlightIcon'] = "https://raw.githubusercontent.com/Squidly271/community.applications/master/webImages/Unraid.svg";
|
||||
$caPaths['dockerConvertFlash'] = $dockerManPaths['templates-user']."/my-CA_TEST_CONTAINER_DOCKERHUB.xml";
|
||||
$caPaths['pluginPending'] = "/tmp/plugins/pluginPending/";
|
||||
//$caPaths['SpotlightIcon'] = "https://raw.githubusercontent.com/Squidly271/community.applications/master/webImages/Unraid.svg";
|
||||
|
||||
$dynamixSettings = parse_ini_file($caPaths['dynamixSettings']);
|
||||
$caPaths['SpotlightIcon'] = "https://github.com/Squidly271/community.applications/raw/master/webImages/spotlight_{$dynamixSettings['theme']}.png";
|
||||
?>
|
|
@ -326,6 +326,10 @@ input[type=button][disabled]{background:none;}
|
|||
.notice.shift{margin-top:0px;}
|
||||
.officialCardBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #854153;top:0px;height:9rem;width:9rem;position: relative;left:-10rem;margin-right:-9rem;}
|
||||
.officialPopupText{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;}
|
||||
.LTOfficialCardBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #F15A2C;top:0px;height:9rem;width:9rem;position: relative;left:-10rem;margin-right:-9rem;}
|
||||
.ltofficialPopupText{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;}
|
||||
|
||||
|
||||
p {margin:auto;text-align:left;margin-bottom:10px;} /* override dynamix styling for popup */
|
||||
.pageDots::after{content:"...";}
|
||||
.pageDots{color:grey;cursor:default;}
|
||||
|
@ -407,13 +411,13 @@ a.popup-donate:hover{color:<?=$donateText?>;background-color:<?=$unRaid66color?>
|
|||
.specialCategory{font-size:1.5rem;}
|
||||
.spinner{z-index:999999 !important;} /* ensure always ontop */
|
||||
.spinnerBackground{position:fixed;top:0;left:0;width:100%;height:100vh;display:none;background:transparent;z-index:9999;}
|
||||
.spotlightDate{font-size:1.5rem;}
|
||||
.spotlightDate{font-size:1.5rem;margin-left:-3rem;}
|
||||
.spotlightCardBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #009900;top:0px;height:9rem;width:9rem;position: relative;left:-10rem;margin-right:-9rem;}
|
||||
.spotlightHome{min-width:36rem !important;max-width:36rem !important;height:24rem !important;margin-bottom:1rem;}
|
||||
.spotlightPopupBackground{clip-path: polygon(0 0,100% 0, 100% 100%);background-color: #009900;top:<?=$betaPopupOffset?>;height:9rem;width:9rem;position: absolute;right: 0;}
|
||||
.spotlightHeader{font-size:2rem;}
|
||||
.spotlightIconArea{display:inline-block;float:left;width:10rem;}
|
||||
.spotlightIcon{height:3.6rem;margin-top:1rem;margin-bottom:0.5rem;}
|
||||
.spotlightIcon{height:15rem;margin-bottom:-2.5rem;margin-left:-3rem;margin-top:-2rem;}
|
||||
.spotlightInfoArea{margin-left:2rem;padding-left:10rem;}
|
||||
.spotlightPopup{display:inline-block;}
|
||||
.spotlightPopupText{position:absolute;color:white;font-size:2rem;position:absolute;top:1.2rem;right:2rem;}
|
||||
|
|
|
@ -1299,14 +1299,14 @@ function displayCard($template) {
|
|||
|
||||
$descClass= $RepositoryTemplate ? "cardDescriptionRepo" : "cardDescription";
|
||||
$card .= "<div class='$descClass $backgroundClickable'><div class='cardDesc'>$Overview</div></div>";
|
||||
/* if ( $RecommendedDate ) {
|
||||
if ( $RecommendedDate ) {
|
||||
$card .= "
|
||||
<div class='homespotlightIconArea ca_center''>
|
||||
<div><img class='spotlightIcon' src='{$caPaths['SpotlightIcon']}' alt='Spotlight'></img></div>
|
||||
<div class='spotlightDate'>".tr(date("M Y",$RecommendedDate),0)."</div>
|
||||
</div>
|
||||
";
|
||||
} */
|
||||
}
|
||||
$card .= "</div>";
|
||||
if ( $Installed || $Uninstall ) {
|
||||
$flagTextStart = tr("Installed")."<br>";
|
||||
|
@ -1353,7 +1353,13 @@ function displayCard($template) {
|
|||
} elseif ( $Official ) {
|
||||
$card .= "
|
||||
<div class='officialCardBackground'>
|
||||
<div class='officialPopupText ca_center' title='This is an official container'>".tr("OFFICIAL")."</div>
|
||||
<div class='officialPopupText ca_center' title='".tr('This is an official container')."'>".tr("OFFICIAL")."</div>
|
||||
</div>
|
||||
";
|
||||
} elseif ( $LTOfficial ) {
|
||||
$card .= "
|
||||
<div class='LTOfficialCardBackground'>
|
||||
<div class='ltofficialPopupText ca_center' title='".tr("This is an offical plugin")."'>".tr("OFFICIAL")."</div>
|
||||
</div>
|
||||
";
|
||||
} elseif ( $Beta ) {
|
||||
|
@ -1362,13 +1368,13 @@ function displayCard($template) {
|
|||
<div class='betaPopupText ca_center'>".tr("BETA")."</div>
|
||||
</div>
|
||||
";
|
||||
} elseif ( $RecommendedDate ) {
|
||||
}/* elseif ( $RecommendedDate ) {
|
||||
$card .= "
|
||||
<div class='spotlightCardBackground'>
|
||||
<div class='spotlightPopupText' title='".tr("This is a spotlight application")."'></div>
|
||||
</div>
|
||||
";
|
||||
} elseif ( $Trusted ) {
|
||||
} */ elseif ( $Trusted ) {
|
||||
$card .= "
|
||||
<div class='spotlightCardBackground'>
|
||||
<div class='betaPopupText ca_center' title='".tr("This container is digitally signed")."'>".tr("Digitally Signed")."</div>
|
||||
|
|
Loading…
Reference in New Issue