devel:ideas:templatestyler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:ideas:templatestyler [2015-04-04 20:59] – ach | devel:ideas:templatestyler [2015-08-11 12:00] (current) – added note about finished implementation ach | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Template Styler ====== | ====== Template Styler ====== | ||
+ | |||
+ | :!: This has now been implemented as the [[plugin: | ||
Most DokuWiki [[: | Most DokuWiki [[: | ||
Line 55: | Line 57: | ||
If we edit some styles through a program interface, then it might be inconvenient to deal with manually edited files like '' | If we edit some styles through a program interface, then it might be inconvenient to deal with manually edited files like '' | ||
+ | |||
+ | ==== Template editing on-screen ==== | ||
+ | |||
+ | In order to edit template and see how it would change, we might do this: | ||
+ | * Plugin adds an element to a page (like [[plugin: | ||
+ | * See picture: [[https:// | ||
+ | * Clicking " | ||
+ | jQuery.ajax({ | ||
+ | type: ' | ||
+ | url: '? | ||
+ | data: action, | ||
+ | }); </ | ||
+ | * Plugin would take data from this request, for example like ''? | ||
+ | * Javascript rebuilds the page styles according to received data. | ||
+ | What do you think? --- [[user> | ||
devel/ideas/templatestyler.1428173983.txt.gz · Last modified: 2015-04-04 20:59 by ach