|
2011-09-08
| ||
| 21:14 | • Ticket [8e291053ef] Color picker (edit check-in properties) status still Open with 1 other change ... (artifact: a8ee9630ba user: dmitry) | |
|
2010-09-26
| ||
| 13:23 | • Ticket [8e291053ef]: 1 change ... (artifact: e21aad2767 user: Ratte) | |
| 11:38 | • Ticket [8e291053ef]: 1 change ... (artifact: 1b9521c6fb user: Ratte) | |
|
2010-09-25
| ||
| 11:16 | • Ticket [8e291053ef]: 1 change ... (artifact: 9318863362 user: wolfgang) | |
|
2010-09-23
| ||
| 08:46 | • Ticket [8e291053ef]: 2 changes ... (artifact: 3680756ba8 user: BMorgat) | |
| 08:41 | • New ticket [8e291053ef]. ... (artifact: d848570f00 user: BMorgat) | |
| Ticket Hash: | 8e291053ef80e56d06ad9c192ea80ce94e04d762 | ||
| Title: | Color picker (edit check-in properties) | ||
| Status: | Open | Type: | Feature_Request |
| Severity: | Cosmetic | Priority: | |
| Subsystem: | Resolution: | Open | |
| Last Modified: |
2011-09-08 21:14:02 14.57 years ago |
Created: |
2010-09-23 08:41:43 15.53 years ago |
| Version Found In: | b48f78964e | ||
| Description: | ||||
|
Is it doable to include code from http://jscolor.com/ in the check-in properties page?
I think there might be a license issue… please tell me BMorgat added on 2010-09-23 08:46:58: wolfgang added on 2010-09-25 11:16:58 / edited on 15:20 The new button could be added by a pre/post entry in the css for the editor box. Eventually we have to add a new id to the color input. I´ll take a look at the sources. Using css/javascript in the footer enables us to have a small binary and prevent any licence problems, because adding code is an user decission inside fossil configuration. Ratte added on 2010-09-26 11:38:55: With this change, you can add jscolor's script to the header and let the script generate the color picker. The classname/id of the input are documented in the default css view on admin/edit-css. For example, you can add the following to your footer:
<th1>
if { "$current_page" eq "ci_edit" } {
html "<script src=\"http://jscolor.com/jscolor/jscolor.js\" type=\"text/javascript\"></script>"
html "<script type=\"text/javascript\">"
html "var myPicker = new jscolor.color(document.getElementById('clrcust'), {hash:true})"
html "</script>"
}
</th1>
| ||||