Amélioration esthétique pour l'actualisation des flux

This commit is contained in:
Marien Fressinaud
2013-04-14 19:40:29 +02:00
parent e58fb411f9
commit 5768d0fc7f
2 changed files with 4 additions and 4 deletions

View File

@@ -6,9 +6,8 @@ feeds.push ("<?php echo Url::display (array ('c' => 'feed', 'a' => 'actualize',
function initProgressBar (init) {
if (init) {
$("body").after ("\<div id=\"actualizeProgress\" class=\"actualizeProgress\">\
Actualisation :\
Actualisation <span class=\"progress\">0 / " + feeds.length + "</span><br />\
<progress id=\"actualizeProgressBar\" value=\"0\" max=\"" + feeds.length + "\"></progress>\
<span class=\"progress\">0 / " + feeds.length + "</span>\
</div>");
} else {
window.location.reload ();

View File

@@ -383,8 +383,8 @@
.actualizeProgress {
position: fixed;
top: 0; left: 33%; right: 33%;
width: 33%;
top: 0; left: 25%; right: 25%;
width: 50%;
padding: 5px;
background: #fff;
text-align: center;
@@ -393,6 +393,7 @@
border-radius: 0 0 5px 5px;
}
.actualizeProgress progress {
max-width: 100%;
vertical-align: middle;
}
.actualizeProgress .progress {