Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add news item for ikiwiki 2.56
[git.ikiwiki.info.git]
/
doc
/
todo
/
progressbar_plugin.mdwn
diff --git
a/doc/todo/progressbar_plugin.mdwn
b/doc/todo/progressbar_plugin.mdwn
index 42c9c6bea9a5fcac6fd57f6f42a841a89deb8dd4..d586ce79ceebe79c9e77df8a46238489d1997fc6 100644
(file)
--- a/
doc/todo/progressbar_plugin.mdwn
+++ b/
doc/todo/progressbar_plugin.mdwn
@@
-1,5
+1,5
@@
-I would like to add next plugin to Ikiwiki. It's `progressbar`
-
(or simply `progress`, I'm not sure what plugin name better is).
I know that
+I would like to add next plugin to Ikiwiki. It's `progressbar`
or simply `progress`.
+
I'm not sure what plugin name better is, probably that shorter ;)
I know that
[DokuWiki](http://wiki.splitbrain.org/plugin:progressbar) has similar plugin,
so I think it can be useful also for Ikiwiki users.
[DokuWiki](http://wiki.splitbrain.org/plugin:progressbar) has similar plugin,
so I think it can be useful also for Ikiwiki users.
@@
-7,13
+7,16
@@
Here is proposition of the plugin syntax:
\[[!progress done=50]]
\[[!progress done=50]]
+Of course, `done` argument is integer from 0 to 100.
+
A here is its HTML result:
<div class="progress">
<div class="progress-done" style="width: 50%">50%</div>
</div>
A here is its HTML result:
<div class="progress">
<div class="progress-done" style="width: 50%">50%</div>
</div>
-Of course, `done` argument is integer from 0 to 100.
+Note: I was trying with `<span>` tags too, but that tag is inline, so I can't
+set `width` property for it.
Default CSS styles for the plugin can be like below:
Default CSS styles for the plugin can be like below: