summaryrefslogtreecommitdiff
path: root/doc/bugs/No_progress_in_progress_bar.mdwn
blob: 1843bcd1da855392b590a7e9b51d90191c8b419c (plain)

I've just upgraded my Ikiwiki to backported version 2.64 for Ubuntu Hardy and wanted to see progress bar in action. Unfortunately, I can't see any progress.

This is my example Ikiwiki syntax:

[[!progress percent=75]]

A here is a HTML result:

<div class="progress">
  <div class="progress-done"></div>
</div>

It seems that progress plugin works at all, but it's a problem with passing progress value.

Anyone can confirm the bug? --[[Paweł|ptecza]]

You are correct. The above example does generate the HTML you suggest. The plugin requires a % sign:

[[!progress percent="75%"]]

This could probably be improved. Certainly the documentation could be. -- [[Will]]

Thanks for the hint, Will! I could check better the code... However, in my opinion that '%' sign is confusing here and should be dropped. I hope it's clear for all people that "percent" parameter passes values in percentages. --[[Paweł|ptecza]]

I've forgotten to add that now the HTML code is OK, but I can see only "75%" string on white background wihout any border. I need to look closer at CSS styles for the progress bar. --[[Paweł|ptecza]]