luci-theme-rosy: Modify the code for the progress bar of the overview interface
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
parent
c7bd4397fb
commit
6aa8ab54ee
2 changed files with 2 additions and 11 deletions
|
@ -369,7 +369,6 @@ div>.table>.tbody>.tr:nth-of-type(2n) {
|
|||
background-color: #9bc1cc;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
border: none !important;
|
||||
position: relative;
|
||||
}
|
||||
.cbi-progressbar div {
|
||||
|
@ -377,7 +376,8 @@ div>.table>.tbody>.tr:nth-of-type(2n) {
|
|||
height: 20px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.cbi-progressbar samll {
|
||||
.cbi-progressbar::after {
|
||||
content: attr(title);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
@ -286,13 +286,4 @@
|
|||
});
|
||||
});
|
||||
|
||||
$('<samll>').text($('.cbi-progressbar').attr('title')).appendTo('.cbi-progressbar');
|
||||
setInterval(function(){
|
||||
$('.cbi-progressbar').each(function(i, e){
|
||||
$(this).children("samll").text($(this).attr('title'));
|
||||
});
|
||||
|
||||
}, 5000);
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
|
Loading…
Reference in a new issue