mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Tweaks
This commit is contained in:
parent
4e3a573ee7
commit
5661fc379a
Binary file not shown.
@ -272,8 +272,13 @@ $(function(){
|
||||
|
||||
$('.mainArea').on("click",".dockerUpdate",function() {
|
||||
var container = $(this).attr("data-name");
|
||||
openBox('/plugins/community.applications/scripts/installUpdate.php?ct[]='+encodeURIComponent(container),tr('Update Container'),600,1100,true,"refreshDisplay");
|
||||
<? if ( $translations ): ?>
|
||||
openBox('/plugins/community.applications/scripts/installUpdate.php?ct[]='+encodeURIComponent(container),tr('Update Container'),600,1100,true,"refreshDisplay");
|
||||
<? else: ?>
|
||||
my_openBox('/plugins/community.applications/scripts/installUpdate.php?ct[]='+encodeURIComponent(container),tr('Update Container'),600,1100,true,"refreshDisplay");
|
||||
<? endif; ?>
|
||||
});
|
||||
|
||||
$('.mainArea').on("click",".ca_non_favouriteRepo",function() {
|
||||
if ( popupVisible(this) ) return;
|
||||
setFavourite(this);
|
||||
|
@ -1,6 +1,6 @@
|
||||
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
80565ac2e8bbb492119a4faee2f86d5f ./CommunityApps.page
|
||||
3552c21a1db124cb64806bc891f5b84d ./CommunityApps.page
|
||||
6db73582f22dab13d329e862067ee84e ./PluginAPI.page
|
||||
b398273cf7daa62ab00d2de2336ca25f ./README.md
|
||||
2cdb7da0d67a11278ada7fd029707738 ./ca_settings.page
|
||||
@ -11,13 +11,13 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
|
||||
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
|
||||
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
|
||||
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
|
||||
e1b21f84d170c618893784002be3e4ad ./include/exec.php
|
||||
b2871feeb961b0c3cf92cf755117d3a8 ./include/exec.php
|
||||
06b55b88a6ed1834a15c7fd72b2c819d ./include/helpers.php
|
||||
255dc18c0d28e65e3a23eb7a80969802 ./include/paths.php
|
||||
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
|
||||
e29c13353bc1277fc2c3597782d7c954 ./skins/Narrow/css.php
|
||||
adc2d62d429accb264cedad58e6ef7a5 ./skins/Narrow/skin.html
|
||||
fec47d6ee2853645a9263b8bee1bb9a6 ./skins/Narrow/skin.php
|
||||
398172e38710546ebedb51b673424379 ./skins/Narrow/skin.php
|
||||
430966e5646376b62905b63a30de7102 ./scripts/PluginAPI.php
|
||||
11eecc7264a3057ee70cc00a24c8299b ./scripts/installMulti.php
|
||||
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
|
||||
|
@ -991,7 +991,7 @@ function previous_apps() {
|
||||
|
||||
$installed = getPost("installed","");
|
||||
$filter = getPost("filter","");
|
||||
$dockerUpdateStatus = readJsonFile($caPaths['dockerUpdateStatus']);
|
||||
// $dockerUpdateStatus = readJsonFile($caPaths['dockerUpdateStatus']);
|
||||
$info = $caSettings['dockerRunning'] ? $DockerClient->getDockerContainers() : array();
|
||||
|
||||
@unlink($caPaths['community-templates-allSearchResults']);
|
||||
@ -1047,9 +1047,9 @@ function previous_apps() {
|
||||
$o['Name'] = $installedName;
|
||||
$o['InstallPath'] = $tempPath;
|
||||
$o['SortName'] = str_replace("-"," ",$installedName);
|
||||
if ( $dockerUpdateStatus[$installedImage]['status'] == "false" || $dockerUpdateStatus[$template['Name']] == "false" ) {
|
||||
/* if ( $dockerUpdateStatus[$installedImage]['status'] == "false" || $dockerUpdateStatus[$template['Name']] == "false" ) {
|
||||
$o['UpdateAvailable'] = true;
|
||||
}
|
||||
} */
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
||||
$template['display_pluginInstallIcon'] = "<a style='cursor:pointer' class='ca_tooltip ca_fa-install appIcons' title='".tr("Install plugin")."' onclick=installPlugin('{$template['PluginURL']}');></a>";
|
||||
}
|
||||
if ( $template['UpdateAvailable'] ) {
|
||||
$template['display_pluginUpdate'] = "<a style='cursor:pointer' class='ca_tooltip ca_fa-update appIcons updatePlugin' title='".tr("Update plugin")."' onclick=installPlugin('$pluginName',false,true);></a>";
|
||||
$template['display_pluginUpdate'] = "<a style='cursor:pointer' class='ca_tooltip ca_fa-update appIcons updatePlugin' title='".tr("Install The Update")."' onclick=installPlugin('$pluginName',false,true);></a>";
|
||||
}
|
||||
} else {
|
||||
if ( $caSettings['dockerRunning'] ) {
|
||||
@ -229,7 +229,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
||||
$template['display_dockerDefaultIcon'] = $template['BranchID'] ? "<a class='ca_tooltip ca_fa-install appIcons' type='button' style='margin:0px' title='".tr("Click to reinstall the application using default values")."' onclick='displayTags("$ID");'></a>" : $template['display_dockerDefaultIcon'];
|
||||
$template['display_dockerEditIcon'] = "<a class='ca_tooltip appIcons ca_fa-edit xmlInstall' title='".tr("Click to edit the application values")."' data-type='edit' data-xml='".addslashes($info[$name]['template'])."'></a>";
|
||||
$template['display_dockerReinstallIcon'] = $caSettings['defaultReinstall'] == "true" ? "<a class='ca_tooltip ca_fa-install appIcons xmlInstall' title='".tr("Click to reinstall")."' data-type='default' data-xml='".addslashes($template['Path'])."'></a>" : "";
|
||||
$template['display_dockerUpdate'] = $template['UpdateAvailable'] ? "<a class='ca_tooltip appIcons ca_fa-update dockerUpdate' data-name='$name' title='".tr("Update container")."'></a>" : "";
|
||||
$template['display_dockerUpdate'] = $template['UpdateAvailable'] ? "<a class='ca_tooltip appIcons ca_fa-update dockerUpdate' data-name='$name' title='".tr("Install The Update")."'></a>" : "";
|
||||
unset($template['display_multi_install']);
|
||||
|
||||
if ( $info[$name]['url'] && $info[$name]['running'] )
|
||||
|
Loading…
x
Reference in New Issue
Block a user