]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/No_progress_in_progress_bar.mdwn
* Response
[ikiwiki.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.
3
4 This is my example Ikiwiki syntax:
5
6     [[!progress percent=75]]
7
8 A here is a HTML result:
9
10     <div class="progress">
11       <div class="progress-done"></div>
12     </div>
13
14 It seems that progress plugin works at all, but it's a problem with passing
15 progress value.
16
17 Anyone can confirm the bug? --[[Paweł|ptecza]]
18
19 > You are correct.  The above example does generate the HTML you suggest.  The
20 > plugin requires a % sign:
21
22 [[!progress percent="75%"]]
23
24 >  This could probably be improved.  Certainly the documentation could be. -- [[Will]]
25
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]]
29
30 >>> [[fixed|done]] --[[Joey]]
31
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]]
35
36 >>>> You need the `div.progress` and `div.progress-done` from ikiwiki's
37 >>>> default `style.css`. --[[Joey]]
38
39 >>>>> Thank you for the fix, Joey!
40
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]]