修改BUG:更改badge样式为胶囊样式
This commit is contained in:
parent
0aaf9f5f67
commit
fed276f392
|
@ -13,7 +13,7 @@
|
|||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-tasks"></i>
|
||||
<span id="msgHeaderTaskBadge" class="badge bg-success"></span>
|
||||
<span id="msgHeaderTaskBadge" class="badge badge-pill bg-success"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu tasks-bar">
|
||||
<li class="notify-arrow notify-arrow-green"></li>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-envelope"></i>
|
||||
<span id="msgHeaderMsgBadge" class="badge bg-important"></span>
|
||||
<span id="msgHeaderMsgBadge" class="badge badge-pill bg-important"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu inbox">
|
||||
<li class="notify-arrow notify-arrow-red"></li>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-user-plus"></i>
|
||||
<span id="msgHeaderUserBadge" class="badge bg-user"></span>
|
||||
<span id="msgHeaderUserBadge" class="badge badge-pill bg-user"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu users">
|
||||
<li class="notify-arrow notify-arrow-user"></li>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-bug"></i>
|
||||
<span id="msgHeaderAppBadge" class="badge bg-warning"></span>
|
||||
<span id="msgHeaderAppBadge" class="badge badge-pill bg-warning"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu notification">
|
||||
<li class="notify-arrow notify-arrow-yellow"></li>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-database"></i>
|
||||
<span id="msgHeaderDbBadge" class="badge bg-db"></span>
|
||||
<span id="msgHeaderDbBadge" class="badge badge-pill bg-db"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dbs">
|
||||
<li class="notify-arrow notify-arrow-db"></li>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<li></li>
|
||||
<li><a href="~/Admin/Profiles"><i class=" fa fa-suitcase"></i>个人中心</a></li>
|
||||
<li><a href="~/Admin/Index"><i class="fa fa-cog"></i>设置</a></li>
|
||||
<li><a href="~/Admin/Notifications"><i class="fa fa-bell"></i>通知<span id="logoutNoti" class="badge"></span></a></li>
|
||||
<li><a href="~/Admin/Notifications"><i class="fa fa-bell"></i>通知<span id="logoutNoti" class="badge badge-pill"></span></a></li>
|
||||
<li><a href="~/Account/Logout"><i class="fa fa-key"></i>注销</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
swal: false,
|
||||
callback: function (result) {
|
||||
if ($.isArray(result)) {
|
||||
var html = '<li class="{4}"><i class="fa fa-ellipsis-v"></i><div class="task-title"><span class="task-title-sp" data-toggle="tooltip" title="{1}">{2}</span><span class="badge badge-success">{0}</span><span class="task-value" title="{3}">{3}</span><div class="pull-right hidden-phone"><span>{7}</span><button class="btn btn-danger btn-xs fa fa-trash-o" title="{1}" data-url="{5}?cacheKey={1}" data-toggle="tooltip" data-self="{6}" data-placement="left"></button></div></div></li>';
|
||||
var html = '<li class="{4}"><i class="fa fa-ellipsis-v"></i><div class="task-title"><span class="task-title-sp" data-toggle="tooltip" title="{1}">{2}</span><span class="badge badge-pill badge-success">{0}</span><span class="task-value" title="{3}">{3}</span><div class="pull-right hidden-phone"><span>{7}</span><button class="btn btn-danger btn-xs fa fa-trash-o" title="{1}" data-url="{5}?cacheKey={1}" data-toggle="tooltip" data-self="{6}" data-placement="left"></button></div></div></li>';
|
||||
var content = result.sort(function (x, y) {
|
||||
return x.Key > y.Key ? 1 : -1;
|
||||
}).map(function (ele) {
|
||||
|
|
Loading…
Reference in New Issue