Artifact [e21aad2767]
Not logged in

Artifact e21aad2767abddd2ca1290d6952135f7bd9a7da3:

Ticket change [e21aad2767] - Ticket [8e291053ef] Color picker (edit check-in properties) status still Open with 1 other change by Ratte 2010-09-26 13:23:31.
D 2010-09-26T13:23:31
J comment Is\sit\sdoable\sto\sinclude\scode\sfrom\shttp://jscolor.com/\sin\sthe\scheck-in\sproperties\spage?\r\n\r\nI\sthink\sthere\smight\sbe\sa\slicense\sissue…\splease\stell\sme\r\n\r\n<hr\s/><i>BMorgat\sadded\son\s2010-09-23\s08:46:58:</i><br\s/>\r\nIn\sparticular,\sexample\sat\s[http://jscolor.com/try.php#setting-color]\sseems\sinteresting\r\n\r\n<hr\s/><i>wolfgang\sadded\son\s2010-09-25\s11:16:58\s/\sedited\son\s15:20</i><br\s/>\r\ni\sthink,\sit\sshould\sbe\spossible\sby\sadding\ssome\sscripting\sto\sthe\sfooter.\sthere\sis\san\sexample\sfor\ssyntax\shighlighting\sin\seditor\sfields\sin\sthe\sdocumentation.\r\n\r\nThe\snew\sbutton\scould\sbe\sadded\sby\sa\spre/post\sentry\sin\sthe\scss\sfor\sthe\seditor\sbox.\s\sEventually\swe\shave\sto\sadd\sa\snew\sid\sto\sthe\scolor\sinput.\sI´ll\stake\sa\slook\sat\sthe\ssources.\r\n\r\nUsing\scss/javascript\sin\sthe\sfooter\senables\sus\sto\shave\sa\ssmall\sbinary\sand\sprevent\sany\slicence\sproblems,\sbecause\sadding\scode\sis\san\suser\sdecission\sinside\sfossil\sconfiguration.\r\n\r\n<hr\s/><i>Ratte\sadded\son\s2010-09-26\s11:38:55:</i><br\s/>\r\nwith\smy\scommit\s\t[5b2c837336]\son\smy\sbranch,\si've\sadded\sa\sversion,\swith\san\suser\sdefined\scolor\sedit\son\sthe\scheckin\sedit\spage.\r\n\r\nWith\sthis\schange,\syou\scan\sadd\sjscolor's\sscript\sto\sthe\sheader\sand\slet\sthe\sscript\sgenerate\sthe\scolor\spicker.\sThe\sclassname/id\sof\sthe\sinput\sare\sdocumented\sin\sthe\sdefault\scss\sview\son\sadmin/edit-css.\sFor\sexample,\syou\scan\sadd\sthe\sfollowing\sto\syour\sfooter:\r\n\r\n<pre>\r\n<th1>\r\n\s\sif\s{\s"$current_page"\seq\s"ci_edit"\s}\s{\r\n\s\s\s\shtml\s"<script\ssrc=\\"http://jscolor.com/jscolor/jscolor.js\\"\stype=\\"text/javascript\\"></script>"\r\n\s\s\s\shtml\s"<script\stype=\\"text/javascript\\">"\r\n\s\s\s\shtml\s"var\smyPicker\s=\snew\sjscolor.color(document.getElementById('clrcust'),\s{hash:true})"\r\n\s\s\s\shtml\s"</script>"\r\n\s\s}\r\n</th1>\r\n</pre>
K 8e291053ef80e56d06ad9c192ea80ce94e04d762
U Ratte
Z e9d378316d21a9cf077f491585703337