2014-02-20 10:00:38 +00:00
|
|
|
title: $:/snippets/paletteeditor
|
|
|
|
|
2014-09-03 11:46:22 +00:00
|
|
|
\define lingo-base() $:/language/ControlPanel/Palette/Editor/
|
2014-03-20 20:55:59 +00:00
|
|
|
\define describePaletteColour(colour)
|
2015-04-28 08:10:57 +00:00
|
|
|
<$transclude tiddler="$:/language/Docs/PaletteColours/$colour$"><$text text="$colour$"/></$transclude>
|
2014-03-20 20:55:59 +00:00
|
|
|
\end
|
2014-02-20 10:00:38 +00:00
|
|
|
<$set name="currentTiddler" value={{$:/palette}}>
|
|
|
|
|
2014-02-20 16:07:03 +00:00
|
|
|
<<lingo Prompt>> <$link to={{$:/palette}}><$macrocall $name="currentTiddler" $output="text/plain"/></$link>
|
2014-02-20 10:00:38 +00:00
|
|
|
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]is[shadow]is[tiddler]]" variable="listItem">
|
2014-02-20 16:07:03 +00:00
|
|
|
<<lingo Prompt/Modified>>
|
2014-08-28 20:43:44 +00:00
|
|
|
<$button message="tm-delete-tiddler" param={{$:/palette}}><<lingo Reset/Caption>></$button>
|
2014-02-20 10:00:38 +00:00
|
|
|
</$list>
|
|
|
|
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]is[shadow]!is[tiddler]]" variable="listItem">
|
2014-02-20 16:07:03 +00:00
|
|
|
<<lingo Clone/Prompt>>
|
2014-02-20 10:00:38 +00:00
|
|
|
</$list>
|
|
|
|
|
2014-08-28 20:43:44 +00:00
|
|
|
<$button message="tm-new-tiddler" param={{$:/palette}}><<lingo Clone/Caption>></$button>
|
2014-02-20 10:00:38 +00:00
|
|
|
|
2014-03-20 20:55:59 +00:00
|
|
|
<table>
|
|
|
|
<tbody>
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]indexes[]]" variable="colourName">
|
2014-03-20 20:55:59 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
''<$macrocall $name="describePaletteColour" colour=<<colourName>>/>''<br/>
|
|
|
|
<$macrocall $name="colourName" $output="text/plain"/>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<$edit-text index=<<colourName>> tag="input"/>
|
|
|
|
<br>
|
|
|
|
<$edit-text index=<<colourName>> type="color" tag="input"/>
|
|
|
|
</td>
|
2014-02-20 10:00:38 +00:00
|
|
|
</tr>
|
|
|
|
</$list>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</$set>
|