css updates (hover over description changes color)

pull/11/head
Squidly271 2021-06-11 06:26:50 -04:00
parent be50074070
commit 829dc029bd
6 changed files with 19 additions and 24 deletions

View File

@ -11,13 +11,13 @@ a9d4cd0e4e1f37cbe3806b952a96ddb1 ./ca_settings.page
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
84ea299cecf582c96f637d8657148831 ./include/exec.php
ba7e6456556f29f6e8fa0ade0dcadd30 ./include/exec.php
d7f50413cbaac1c6cb9ceaaef48f270a ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
4799ad5cd2aa76e01d0634df9178f0d7 ./skins/Narrow/css.php
83889732fae782879bd3bc9406c3fc25 ./skins/Narrow/css.php
944beab17894885ed9ae22db3920a054 ./skins/Narrow/skin.html
d975e0703c7a5ded05c77632da3dbdb1 ./skins/Narrow/skin.php
803c7bb7182371831f27dea9ebcfeddb ./skins/Narrow/skin.php
38d1f40cbc64eed32cdb3292e1ec1f6e ./scripts/PluginAPI.php
bbd9dec6c5df486d75c46388c14f09ce ./scripts/installMulti.php
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
@ -25,6 +25,6 @@ ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
5846421e95b475e1156c3f68164ccc4f ./scripts/languageInstall.sh
729c178196af99c94116246f0c8be7a5 ./scripts/notices.php
1efbd780e8ead27a768d1631fb51150c ./scripts/pluginInstall.sh
10e9f1a136907d8df1c46f1669831db8 ./scripts/showStatistics.php
f9c3f431935fb20801f3fef152dc7b58 ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php

View File

@ -1393,17 +1393,17 @@ function statistics() {
$o .= "<tr><td class='ca_table'>".tr("Number Of Docker Applications")."</td><td class='ca_stat'>{$statistics['docker']}</td></tr>";
$o .= "<tr><td class='ca_table'>".tr("Number Of Plugin Applications")."</td><td class='ca_stat'>{$statistics['plugin']}</td></tr>";
$o .= "<tr><td class='ca_table'>".tr("Number Of Templates")."</td><td class='ca_stat'>{$statistics['totalApplications']}</td></tr>";
$o .= "<tr><td class='ca_table'><a onclick='showModeration(&quot;Repository&quot;,&quot;".tr("Repository List")."&quot;);' style='cursor:pointer;'>".tr("Number Of Repositories")."</a></td><td class='ca_stat'>{$statistics['repositories']}</td></tr>";
$o .= "<tr><td class='ca_table'><a onclick='showModeration(&quot;Repository&quot;,&quot;".tr("Repository List")."&quot;);' style='cursor:pointer;' class='popUpLink'>".tr("Number Of Repositories")."</a></td><td class='ca_stat'>{$statistics['repositories']}</td></tr>";
if ($statistics['private']) {
$o .= "<tr><td class='ca_table'><a data-category='PRIVATE' onclick='showSpecialCategory(this);' style='cursor:pointer;'>".tr("Number Of Private Docker Applications")."</a></td><td class='ca_stat'>{$statistics['private']}</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' data-category='PRIVATE' onclick='showSpecialCategory(this);' style='cursor:pointer;'>".tr("Number Of Private Docker Applications")."</a></td><td class='ca_stat'>{$statistics['private']}</td></tr>";
}
$o .= "<tr><td class='ca_table'><a onclick='showModeration(&quot;Invalid&quot;,&quot;".tr("All Invalid Templates Found")."&quot;);' style='cursor:pointer'>".tr("Number Of Invalid Templates")."</a></td><td class='ca_stat'>{$statistics['invalidXML']}</td></tr>";
$o .= "<tr><td class='ca_table'><a onclick='showModeration(&quot;Fixed&quot;,&quot;".tr("Template Errors")."&quot;);' style='cursor:pointer'>".tr("Number Of Template Errors")."</a></td><td class='ca_stat'>{$statistics['caFixed']}+</td></tr>";
$o .= "<tr><td class='ca_table'><a data-category='BLACKLIST' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Blacklisted Apps")."</a></td><td class='ca_stat'>{$statistics['blacklist']}</td></tr>";
$o .= "<tr><td class='ca_table'><a data-category='INCOMPATIBLE' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Incompatible Applications")."</a></td><td class='ca_stat'>{$statistics['totalIncompatible']}</td></tr>";
$o .= "<tr><td class='ca_table'><a data-category='DEPRECATED' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Deprecated Applications")."</a></td><td class='ca_stat'>{$statistics['totalDeprecated']}</td></tr>";
$o .= "<tr><td class='ca_table'><a onclick='showModeration(&quot;Moderation&quot;,&quot;".tr("All Moderation Entries")."&quot;);' style='cursor:pointer'>".tr("Number Of Moderation Entries")."</a></td><td class='ca_stat'>{$statistics['totalModeration']}+</td></tr>";
$o .= "<tr><td class='ca_table'><a href='{$caPaths['application-feed']}' target='_blank'>".tr("Primary Server")."</a> / <a href='{$caPaths['application-feedBackup']}' target='_blank'> ".tr("Backup Server")."</a></td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' onclick='showModeration(&quot;Invalid&quot;,&quot;".tr("All Invalid Templates Found")."&quot;);' style='cursor:pointer'>".tr("Number Of Invalid Templates")."</a></td><td class='ca_stat'>{$statistics['invalidXML']}</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' onclick='showModeration(&quot;Fixed&quot;,&quot;".tr("Template Errors")."&quot;);' style='cursor:pointer'>".tr("Number Of Template Errors")."</a></td><td class='ca_stat'>{$statistics['caFixed']}+</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' data-category='BLACKLIST' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Blacklisted Apps")."</a></td><td class='ca_stat'>{$statistics['blacklist']}</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' data-category='INCOMPATIBLE' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Incompatible Applications")."</a></td><td class='ca_stat'>{$statistics['totalIncompatible']}</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' data-category='DEPRECATED' onclick='showSpecialCategory(this);' style='cursor:pointer'>".tr("Number Of Deprecated Applications")."</a></td><td class='ca_stat'>{$statistics['totalDeprecated']}</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' onclick='showModeration(&quot;Moderation&quot;,&quot;".tr("All Moderation Entries")."&quot;);' style='cursor:pointer'>".tr("Number Of Moderation Entries")."</a></td><td class='ca_stat'>{$statistics['totalModeration']}+</td></tr>";
$o .= "<tr><td class='ca_table'><a class='popUpLink' href='{$caPaths['application-feed']}' target='_blank'>".tr("Primary Server")."</a> / <a class='popUpLink' href='{$caPaths['application-feedBackup']}' target='_blank'> ".tr("Backup Server")."</a></td></tr>";
$o .= "</table>";
$o .= "<div class='ca_center'><a href='https://forums.unraid.net/topic/87144-ca-application-policies/' target='_blank'>".tr("Application Policy")."</a></div>";

View File

@ -60,7 +60,7 @@ switch ($_GET['arg1']) {
ksort($repos,SORT_FLAG_CASE | SORT_NATURAL);
echo "<tt><table>";
foreach (array_keys($repos) as $repo) {
echo "<tr><td><span class='ca_bold'>$repo</td><td><a href='{$repos[$repo]}' target='_blank'>{$repos[$repo]}</a></td></tr>";
echo "<tr><td><span class='ca_bold'>$repo</td><td><a class='popUpLink' href='{$repos[$repo]}' target='_blank'>{$repos[$repo]}</a></td></tr>";
}
echo "</table></tt>";
break;

View File

@ -88,6 +88,7 @@ switch ($theme) {
}
?>
.tooltipster-box{background:<?=$tooltipsterBackground?>!important}
.modComment {color:#d67777;}
a {color:<?=$aColor?>;}
.tooltipster-content{color:<?=$tooltipsterContent?>!important}
body.stop-scrolling{height:70%;overflow:inherit;} /* disable SweetAlert killing the scroll bar ( stops the wiggle ) */
@ -165,13 +166,10 @@ table tbody td {line-height:1.8rem;}
.ca_highlight {color:#0e5d08;font-weight:bold;}
.ca_description {color:#505E6F;}
.cardDescription {cursor:pointer;}
.cardDescription:hover {color:<?=$unRaid66color?> !important;}
a.ca_appPopup {text-decoration:none;cursor:pointer;}
.ca_repoPopup {text-decoration:none!important;cursor:pointer;color:inherit;}
a.ca_repoPopup:hover {color:<?=$unRaid66color?>;}
a.ca_reporeadmore {cursor:pointer;text-decoration:none;}
a.ca_appreadmore {cursor:pointer;text-decoration:none;}
a.ca_reporeadmore:hover {color:<?=$unRaid66color?>;}
a.ca_appreadmore:hover {color:<?=$unRaid66color?>;}
.ca_href {cursor:pointer;}
input[type=checkbox] {width:2rem;height:2rem;margin-right:1rem;margin-top:-.5rem;margin-left:0rem;}
.enabledIcon {cursor:pointer;color:<?=$unRaid66color?>;}

View File

@ -296,9 +296,6 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
}
}
/* if ( endsWith($template['CardDescription'],"...") ) {
$template['CardDescription'] .= "<a class='ca_appreadmore ca_appPopup' data-appNumber='$ID' data-appPath='{$template['Path']}' data-appName='{$template['Name']}' data-beta='$appInfoBeta'> ".tr("Read more")."</a>";
} */
$template['display_dockerName'] = "<span class='ca_applicationName'>";
$template['display_dockerName'] .= $template['Name_highlighted'] ?: $template['Name'];
$template['display_dockerName'] .= "</span>";
@ -696,7 +693,7 @@ function getPopupDescriptionSkin($appNumber) {
$templateDescription .= "&nbsp;<span class='ca_favourite' title='".tr("Favourite Repository")."'></span>";
$templateDescription .= "</td></tr>";
$templateDescription .= ($template['Private'] == "true") ? "<tr><td></td><td><font color=red>Private Repository</font></td></tr>" : "";
$templateDescription .= ($template['Private'] == "true") ? "<tr><td></td><td><span class='modComment'>Private Repository</span></td></tr>" : "";
$templateDescription .= ( $dockerVars['DOCKER_AUTHORING_MODE'] == "yes" && $template['TemplateURL']) ? "<tr><td></td><td><a class='popUpLink' href='{$template['TemplateURL']}' target='_blank'>".tr("Application Template")."</a></td></tr>" : "";
if ( $template['Category'] ) {
$templateDescription .= "<tr><td>".tr("Categories:")."</td><td>".$template['Category'];
@ -772,7 +769,7 @@ function getPopupDescriptionSkin($appNumber) {
$templateDescription .= "<div><span class='ca_fa-warning warning-yellow'></span>&nbsp; <font size='1'>".tr("Another browser tab or device has updated the displayed templates. Some actions are not available")."</font></div>";
$templateDescription .= $template['ModeratorComment'] ? "<br><br><span class='ca_bold'><font color='red'>".tr("Moderator Comments:")."</font></span> ".$template['ModeratorComment'] : "";
$templateDescription .= $template['ModeratorComment'] ? "<br><br><span class='ca_bold modComment'>".tr("Moderator Comments:")."</span> ".$template['ModeratorComment'] : "";
$templateDescription .= "</p><br><div class='ca_center'>";
@ -814,7 +811,7 @@ function getPopupDescriptionSkin($appNumber) {
copy($caPaths['pluginTempDownload'],"/tmp/plugins/$pluginName");
$appInformation .= " - <span class='ca_bold'><a href='/Apps/Plugins' target='_parent'>".tr("Install The Update")."</a></span>";
} else
$appInformation .= " - <font color='green'>".tr("Latest Version")."</font>";
$appInformation .= " - <font color='#4cc337'>".tr("Latest Version")."</font>";
}
$appInformation .= Markdown($template['Changes']);
} elseif ($template['Language']) {