ikiwiki/doc/bugs/No_progress_in_progress_bar...

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2008-09-19 12:00:29 +02:00
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.
2008-09-19 11:43:10 +02:00
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]]
2008-09-19 14:28:38 +02:00
> 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]]
2008-09-19 15:48:56 +02:00
>> 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]]
2008-09-19 16:13:55 +02:00
>>> [[fixed|done]] --[[Joey]]
2008-09-19 16:13:55 +02:00
>>> 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]]
>>>> You need the `div.progress` and `div.progress-done` from ikiwiki's
>>>> default `style.css`. --[[Joey]]
2008-09-23 14:34:43 +02:00
>>>>> Thank you for the fix, Joey!
>>>>> I had `div.progress*` in the `style.css` file, but my Epiphany didn't want
>>>>> to display the progress bar... Now it's OK and I can see beautiful progress,
>>>>> though I've not changed anything. --[[Paweł|ptecza]]