Overview
Comment: | Added more status and action icons |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c316f97cae1767b2ead4792631fb48df |
User & Date: | rkeene on 2017-10-26 17:08:32.619 |
Other Links: | manifest | tags |
Context
2017-10-26
| ||
18:09 | Updated to support options for omitting redundant or passing tags check-in: 7931b61ae9 user: rkeene tags: trunk | |
17:08 | Added more status and action icons check-in: c316f97cae user: rkeene tags: trunk | |
15:35 | Added icons check-in: 46b68b63ed user: rkeene tags: trunk | |
Changes
Modified icons/Makefile
from [643af3fb73]
to [e0b366c8d5].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + - + | RIVET := /usr/lib64/rivet0.5.0/cgi-bin/rivet.cgi ACTION_LIST := build tests STATUS_LIST := pass fail |
︙ |
Added icons/action/build.svg version [d6dd29a42b].
Added icons/action/tests.svg version [49ba02b80f].
Added icons/os/android.svg version [f3c3e9b131].
Modified icons/status-icons.rvt
from [b1faabde43]
to [31652bd584].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | + + + + | <? proc iconfile {type name {checkUnknown true}} { if {![regexp {^[a-z]*$} $name]} { set name unknown } set file [file join [file dirname [info script]] $type "${name}.svg"] if {![file exists $file]} { if {$checkUnknown} { tailcall iconfile $type unknown false } else { error "No icon available for type=$type name=$name" } } |
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + - + | puts -nonewline [string map [list @@XPOS@@ $x @@YPOS@@ $y @@WIDTH@@ $width @@HEIGHT@@ $height] $data] } proc textColorFromBackground {color} { return "#fff" } set args(background_color) "#eee" set args(action) [list "build"] set args(status) [list "unknown"] set args(os) [list "unknown"] set action_color_default "#555" set status_color_default "#4c1" set mapping([list status_color pass]) #00ff97 set mapping([list status_color passed]) #00ff97 set mapping([list status_color passing]) #00ff97 set mapping([list status_color fail]) #f00 set mapping([list status_color failed]) #f00 set mapping([list status_color failing]) #f00 set mapping([list status_color unknown]) #9932CC set errList [list] load_response args |
︙ | |||
60 61 62 63 64 65 66 | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - + - + - - - + + + + + + + + | } if {![info exists args($arg)]} { set args($arg) [set ${arg}_default] } } |
Added icons/status/fail.svg version [01144a329b].
Added icons/status/pass.svg version [ab73163af9].