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) { function initProgressBar (init) {
if (init) { if (init) {
$("body").after ("\<div id=\"actualizeProgress\" class=\"actualizeProgress\">\ $("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>\ <progress id=\"actualizeProgressBar\" value=\"0\" max=\"" + feeds.length + "\"></progress>\
<span class=\"progress\">0 / " + feeds.length + "</span>\
</div>"); </div>");
} else { } else {
window.location.reload (); window.location.reload ();

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

Loading…
Cancel
Save