wip
parent
3054d56877
commit
aef79c3484
Binary file not shown.
|
@ -263,7 +263,8 @@ $(function(){
|
|||
$('.mainArea').on("click",".dockerUpdate",function() {
|
||||
if ( popupVisible(this) ) return;
|
||||
var container = $(this).attr("data-name");
|
||||
updateContainer(container);
|
||||
var docker = [container];
|
||||
openBox('/plugins/community.applications/scripts/installMulti.php&upgrade=true&docker='+container,"<?tr('Update Container')?>",600,900,true,"refreshDisplay");
|
||||
});
|
||||
|
||||
$('.mainArea').on("click",".ca_href",function() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
1b0c503ba117ce02c544f64bbbb226b1 ./CommunityApps.page
|
||||
a1d4483fcfb8794def67cafab1cd4a06 ./CommunityApps.page
|
||||
6db73582f22dab13d329e862067ee84e ./PluginAPI.page
|
||||
b398273cf7daa62ab00d2de2336ca25f ./README.md
|
||||
a9d4cd0e4e1f37cbe3806b952a96ddb1 ./ca_settings.page
|
||||
|
@ -19,7 +19,7 @@ e29c13353bc1277fc2c3597782d7c954 ./skins/Narrow/css.php
|
|||
adc2d62d429accb264cedad58e6ef7a5 ./skins/Narrow/skin.html
|
||||
cea67529c80395912bbca3f522921d48 ./skins/Narrow/skin.php
|
||||
430966e5646376b62905b63a30de7102 ./scripts/PluginAPI.php
|
||||
e474ec681bf833969bffcf19baed2b0c ./scripts/installMulti.php
|
||||
195dd26d8a21d879aafad0e20851b8d3 ./scripts/installMulti.php
|
||||
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
|
||||
524afab04ca930f59117a846f819fb2f ./scripts/installPluginUpdate.sh
|
||||
5846421e95b475e1156c3f68164ccc4f ./scripts/languageInstall.sh
|
||||
|
|
|
@ -26,7 +26,8 @@ echo "<script>$javascript</script>";
|
|||
if ( $_GET['docker'] ) {
|
||||
echo "<div id='output'>";
|
||||
$dockers = explode(",",$_GET['docker']);
|
||||
echo sprintf(tr("Installing docker applications %s"),str_replace(",",", ",$_GET['docker']))."<br>";
|
||||
$msg = $_GET['upgrade'] ? "Upgrading docker application %s" : "Installing docker applications %s";
|
||||
echo sprintf(tr($msg)),str_replace(",",", ",$_GET['docker']))."<br>";
|
||||
$_GET['updateContainer'] = true;
|
||||
$_GET['ct'] = $dockers;
|
||||
$_GET['communityApplications'] = true;
|
||||
|
@ -69,6 +70,7 @@ function addCloseButton() {
|
|||
}
|
||||
</script>
|
||||
<?
|
||||
if ( ! $_GET['upgrade'] ) {
|
||||
foreach ($dockers as $docker) {
|
||||
echo sprintf(tr("Starting %s"),"<span class='ca_bold'>$docker</span>")."<br>";
|
||||
unset($output);
|
||||
|
@ -102,5 +104,6 @@ function addCloseButton() {
|
|||
echo "<script>top.Shadowbox.close();</script>";
|
||||
}
|
||||
@unlink("/tmp/community.applications/tempFiles/newCreateDocker.php");
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue