]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/No_progress_in_progress_bar.mdwn
ikiwiki (3.20140916) unstable; urgency=low
[git.ikiwiki.info.git] / doc / bugs / No_progress_in_progress_bar.mdwn
1 I've just upgraded my Ikiwiki to backported version 2.64 for Ubuntu Hardy
2 and wanted to see progress bar in action. Unfortunately, I can't see any progress.
4 This is my example Ikiwiki syntax:
6     [[!progress percent=75]]
8 A here is a HTML result:
10     <div class="progress">
11       <div class="progress-done"></div>
12     </div>
14 It seems that progress plugin works at all, but it's a problem with passing
15 progress value.
17 Anyone can confirm the bug? --[[Paweł|ptecza]]
19 > You are correct.  The above example does generate the HTML you suggest.  The
20 > plugin requires a % sign:
22 [[!progress percent="75%"]]
24 >  This could probably be improved.  Certainly the documentation could be. -- [[Will]]
26 >> Thanks for the hint, Will! I could check better the code... However, in my opinion
27 >> that '%' sign is confusing here and should be dropped. I hope it's clear for all
28 >> people that "percent" parameter passes values in percentages. --[[Paweł|ptecza]]
30 >>> [[fixed|done]] --[[Joey]]
32 >>> I've forgotten to add that now the HTML code is OK, but I can see only
33 >>> "75%" string on white background wihout any border. I need to look closer
34 >>> at CSS styles for the progress bar. --[[Paweł|ptecza]]
36 >>>> You need the `div.progress` and `div.progress-done` from ikiwiki's
37 >>>> default `style.css`. --[[Joey]]
39 >>>>> Thank you for the fix, Joey!
41 >>>>> I had `div.progress*` in the `style.css` file, but my Epiphany didn't want
42 >>>>> to display the progress bar... Now it's OK and I can see beautiful progress,
43 >>>>> though I've not changed anything. --[[Paweł|ptecza]]