Add Close button to popup
This commit is contained in:
parent
5b78f33702
commit
d83ddaaac5
Binary file not shown.
@ -506,6 +506,10 @@ $(function(){
|
||||
updateLanguage($(this).data("language"));
|
||||
});
|
||||
|
||||
$("body").on("click",".popUpClose",function() {
|
||||
$(".tooltipstered").tooltipster("hide");
|
||||
});
|
||||
|
||||
$('body').on("click",".deletePrivateApp",function() {
|
||||
if ( popupVisible(this) ) return;
|
||||
var path = $(this).data("path");
|
||||
|
@ -1,7 +1,7 @@
|
||||
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
2cdb7da0d67a11278ada7fd029707738 ./ca_settings.page
|
||||
c12498897c6986f2dc5a88d9ccac6b9a ./CommunityApps.page
|
||||
c2c927b524c58a1be457ab0a7e2a1a35 ./CommunityApps.page
|
||||
7c88ace586933a4a60b0ef2f8a97a662 ./default.cfg
|
||||
4344942541019c3b5464d508c7f0dd30 ./images/community.applications.png
|
||||
6e48a62b91bdd066f023f46c6b491afd ./images/discord-azure.svg
|
||||
@ -27,6 +27,6 @@ ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
|
||||
f9c3f431935fb20801f3fef152dc7b58 ./scripts/showStatistics.php
|
||||
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
|
||||
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php
|
||||
a4931b1b57d6f539831ff6571468a4c5 ./skins/Narrow/css.php
|
||||
1fc488a771c8a553912f83c91aebf9c1 ./skins/Narrow/css.php
|
||||
1668b7fa961aef793fca369a793e7f16 ./skins/Narrow/skin.html
|
||||
2aca28d227f8729e9ed0fe12ab571afa ./skins/Narrow/skin.php
|
||||
7da9e3c2309849800577ac33f4ee107c ./skins/Narrow/skin.php
|
||||
|
@ -305,8 +305,10 @@ a.appIconsPopUp { text-decoration:none;color:inherit;}
|
||||
.ca_center {margin:auto;text-align:center;}
|
||||
.ca_large {font-size:2rem;}
|
||||
.ca_normal {font-size:1.4rem !important;}
|
||||
.ca_readmore {font-size:2rem !important;margin-top:10px;cursor:pointer;padding-left:.5rem;padding-right:.5rem;color:default;}
|
||||
.ca_readmore {font-size:2rem !important;margin-top:10px;cursor:pointer;padding-left:.5rem;padding-right:.5rem;color:#6363ca;}
|
||||
.ca_readmore:hover {text-decoration:none;color:<?=$unRaid66color?>;}
|
||||
.popUpClose {font-size:1.5rem;color:#f34646;font-weight:bold;cursor:pointer;}
|
||||
.popUpClose:hover {color:<?=$unRaid66color?>;}
|
||||
p {margin:auto;text-align:left;margin-bottom:10px;} /* override dynamix styling for popup */
|
||||
h1 {font-size:1.5rem;} /* override dynamix styling for popup */
|
||||
.ca_NoAppsFound {font-size:3rem;margin:auto;text-align:center;}
|
||||
|
@ -605,6 +605,7 @@ function getPopupDescriptionSkin($appNumber) {
|
||||
$template['Changes'] = str_replace(" "," ",$template['Changes']); // Prevent inadvertent code blocks
|
||||
$template['Changes'] = Markdown(strip_tags(str_replace(["[","]"],["<",">"],$template['Changes']),"<br>"));
|
||||
|
||||
$templateDescription .= "<div class='popUpClose'>".tr("CLOSE")."</div>";
|
||||
$templateDescription .= "<div class='popupTitle'>{$template['Name']}</div>";
|
||||
$templateDescription .= "<div class='ca_hr'></div>";
|
||||
$templateDescription .= "<div class='ca_center popupIconArea'>";
|
||||
@ -905,6 +906,7 @@ function getRepoDescriptionSkin($repository) {
|
||||
$repo = $repositories[$repository];
|
||||
$repo['icon'] = $repo['icon'] ?: "/plugins/dynamix.docker.manager/images/question.png";
|
||||
|
||||
$t .= "<div class='popUpClose'>".tr("CLOSE")."</div>";
|
||||
$t .= "<div class='popupTitle'>$repository</div>";
|
||||
$t .= "<div class='ca_hr'></div>";
|
||||
$t .= "<div class='popupIconArea ca_center'><img class='popupIcon' src='{$repo['icon']}' onerror='this.src="/plugins/dynamix.docker.manager/images/question.png"'></div>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user