mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
related to #1245 circled the badge
This commit is contained in:
@@ -20,10 +20,10 @@ $(document).ready(function () {
|
||||
$("#pluginList ul i").hide();
|
||||
$("#pluginList ul").append("<p>" + no_active_plugin +"</p>");
|
||||
}
|
||||
$(".adminMenubarCounter").append(nbActivatedPlugins);
|
||||
$(".badge-number").append(nbActivatedPlugins);
|
||||
},
|
||||
error: function () {
|
||||
$(".adminMenubarCounter").append(0);
|
||||
$(".badge-number").append(0);
|
||||
$("#pluginList ul").append("<p>" + error_occured +"</p>");
|
||||
$("#pluginList ul i").hide();
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ const error_occured = "{"an error happened"|@translate}";
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="pluginList">
|
||||
<legend><span class="icon-puzzle icon-green"></span> {'Activated plugin list'|@translate} <span class="adminMenubarCounter"></span></legend>
|
||||
<legend><span class="icon-puzzle icon-green"></span> {'Activated plugin list'|@translate} <span class="badge-number"></span></legend>
|
||||
<ul style="font-weight:bold">
|
||||
<i class="icon-spin6 animate-spin"></i>
|
||||
</ul>
|
||||
@@ -56,4 +56,7 @@ const error_occured = "{"an error happened"|@translate}";
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.badge-number {
|
||||
color:white;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user