raster pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=298641d2b8bd1f1bd4dddda0430fdfd127ad4893
commit 298641d2b8bd1f1bd4dddda0430fdfd127ad4893 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Wed Jun 24 12:59:55 2015 +0900 add content for wiki note plugin - css and images --- media/note-classic.png | Bin 0 -> 331 bytes media/note-classic.svg | 74 ++++++++++++++++++++++++++++++++++++++ media/note-important.png | Bin 0 -> 730 bytes media/note-important.svg | 90 +++++++++++++++++++++++++++++++++++++++++++++++ media/note-tip.png | Bin 0 -> 651 bytes media/note-tip.svg | 85 ++++++++++++++++++++++++++++++++++++++++++++ media/note-warning.png | Bin 0 -> 674 bytes media/note-warning.svg | 79 +++++++++++++++++++++++++++++++++++++++++ pages/wiki/syntax.txt | 46 +++++++++++++++++++++++- 9 files changed, 373 insertions(+), 1 deletion(-) diff --git a/media/note-classic.png b/media/note-classic.png new file mode 100644 index 0000000..10534b7 Binary files /dev/null and b/media/note-classic.png differ diff --git a/media/note-classic.svg b/media/note-classic.svg new file mode 100644 index 0000000..1a2d9bf --- /dev/null +++ b/media/note-classic.svg @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + viewBox="0 0 48 48" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="note-classic.svg" + inkscape:export-filename="/home/raster/C/wc/media/note-classic.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#404040" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="25.583333" + inkscape:cx="24" + inkscape:cy="24" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + units="px" + inkscape:showpageshadow="false" + inkscape:window-width="1833" + inkscape:window-height="1364" + inkscape:window-x="3435" + inkscape:window-y="547" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid4136" + units="px" + spacingx="1" + spacingy="1" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1004.3622)"> + <path + style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 25,1050.3622 -2,-19 -8,0 0,-4 5,0 -1,-17 -4,0 0,-4 20,0 0,4 -4,0 -1,17 5,0 0,4 -8,0 z" + id="path4138" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/media/note-important.png b/media/note-important.png new file mode 100644 index 0000000..b41fd18 Binary files /dev/null and b/media/note-important.png differ diff --git a/media/note-important.svg b/media/note-important.svg new file mode 100644 index 0000000..20cc08a --- /dev/null +++ b/media/note-important.svg @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + viewBox="0 0 48 48" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="note-important.svg" + inkscape:export-filename="/home/raster/C/wc/media/note-important.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#404040" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="25.583333" + inkscape:cx="24" + inkscape:cy="24" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + units="px" + inkscape:showpageshadow="false" + inkscape:window-width="1833" + inkscape:window-height="1364" + inkscape:window-x="3630" + inkscape:window-y="277" + inkscape:window-maximized="0" + inkscape:object-paths="true" + inkscape:snap-intersection-paths="true" + inkscape:object-nodes="true" + inkscape:snap-smooth-nodes="true"> + <inkscape:grid + type="xygrid" + id="grid4136" + units="px" + spacingx="1" + spacingy="1" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1004.3622)"> + <path + style="fill:#ffe6b4;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 25,1037.3622 c -2,-5 -5,-15 -5,-20 0,-5 0,-11 5,-11 5,0 5,6 5,11 0,5 -3,15 -5,20 z" + id="path4178" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + <ellipse + style="opacity:1;fill:#ffe6b4;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078" + id="path4180" + cx="25" + cy="1045.3622" + rx="5" + ry="4.9999971" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + </g> +</svg> diff --git a/media/note-tip.png b/media/note-tip.png new file mode 100644 index 0000000..eb10e75 Binary files /dev/null and b/media/note-tip.png differ diff --git a/media/note-tip.svg b/media/note-tip.svg new file mode 100644 index 0000000..bd343d9 --- /dev/null +++ b/media/note-tip.svg @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + viewBox="0 0 48 48" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="note-tip.svg" + inkscape:export-filename="/home/raster/C/wc/media/note-important.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#404040" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="25.583333" + inkscape:cx="23.960912" + inkscape:cy="24" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + units="px" + inkscape:showpageshadow="false" + inkscape:window-width="1833" + inkscape:window-height="1364" + inkscape:window-x="3630" + inkscape:window-y="277" + inkscape:window-maximized="0" + inkscape:object-paths="true" + inkscape:snap-intersection-paths="true" + inkscape:object-nodes="true" + inkscape:snap-smooth-nodes="true"> + <inkscape:grid + type="xygrid" + id="grid4136" + units="px" + spacingx="1" + spacingy="1" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1004.3622)"> + <circle + style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078" + id="path4201" + cx="25" + cy="1020.3622" + r="14" /> + <path + style="fill:#beffb4;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 16,1031.3622 2,2 0,2 2,2 -2,2 2,2 -2,2 2,2 -2,2 2,2 3,0 1,1 2,0 1,-1 3,0 2,-2 -2,-2 2,-2 -2,-2 2,-2 -2,-2 2,-2 0,-2 2,-2 z" + id="path4203" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccccccccccccccccccc" /> + </g> +</svg> diff --git a/media/note-warning.png b/media/note-warning.png new file mode 100644 index 0000000..2bc16ca Binary files /dev/null and b/media/note-warning.png differ diff --git a/media/note-warning.svg b/media/note-warning.svg new file mode 100644 index 0000000..2ceb5bd --- /dev/null +++ b/media/note-warning.svg @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + viewBox="0 0 48 48" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="note-warning.svg" + inkscape:export-filename="/home/raster/C/wc/media/note-tip.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#404040" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="25.583333" + inkscape:cx="23.960912" + inkscape:cy="23.926397" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + units="px" + inkscape:showpageshadow="false" + inkscape:window-width="1833" + inkscape:window-height="1364" + inkscape:window-x="3630" + inkscape:window-y="277" + inkscape:window-maximized="0" + inkscape:object-paths="true" + inkscape:snap-intersection-paths="true" + inkscape:object-nodes="true" + inkscape:snap-smooth-nodes="true"> + <inkscape:grid + type="xygrid" + id="grid4136" + units="px" + spacingx="1" + spacingy="1" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1004.3622)"> + <path + style="fill:#ffbeb4;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 30,1026.3622 c 0,3 3,4 4,3 l 3,-10 3,1 -5,20 c -1,4 -4,10 -10,10 -5,0 -10,-5 -10,-10 l 0,-27 3,0 0,12 1,0 0,-17 3,0 0,17 1,0 0,-19 3,0 0,19 1,0 0,-18 3,0 z" + id="path4224" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccccccccccccccccc" /> + </g> +</svg> diff --git a/pages/wiki/syntax.txt b/pages/wiki/syntax.txt index bdd4e2a..65ee868 100644 --- a/pages/wiki/syntax.txt +++ b/pages/wiki/syntax.txt @@ -549,10 +549,54 @@ You can do definition lists as follows: ---- +You can add "notes" to a page with: + +<note> +This is my note ! Remember it!! +</note> + +<code> +<note> +This is my note ! Remember it!! +</note> +</code> + +<note important> +Warning ! You're about to lose your mind ;-) +</note> + +<code> +<note important> +Warning ! You're about to lose your mind ;-) +</note> +</code> + +<note tip> +The clues are in the images. +</note> + +<code> +<note tip> +The clues are in the images. +</note> +</code> + +<note warning> +Beware of the cat when you open the door !! +</note> + +<code> +<note warning> +Beware of the cat when you open the door !! +</note> +</code> + +---- + You can add a discussion section to the bottom of any page if you add <code> ~~DISCUSSIONS~~ </code> -At the bottom of a page. \ No newline at end of file +At the bottom of a page. --