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

pull/136/head
Marien Fressinaud 12 years ago
parent e58fb411f9
commit 5768d0fc7f
  1. 3
      app/views/javascript/actualize.phtml
  2. 5
      public/theme/freshrss.css

@ -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 ();

@ -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 {

Loading…
Cancel
Save