Overview
Comment: | Improved info page layout |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
0d67b603e14fbbb3a8b58a7590eee293 |
User & Date: | mrwellan on 2013-07-02 16:28:40 |
Other Links: | branch diff | manifest | tags |
Context
2013-07-03
| ||
11:57 | Fixed timestamp on run registration. check-in: 8f0c8da91f user: mrwellan tags: dev | |
2013-07-02
| ||
16:28 | Improved info page layout check-in: 0d67b603e1 user: mrwellan tags: dev | |
11:00 | Improved info page layout check-in: c9f0aef620 user: mrwellan tags: dev | |
Changes
Modified db.scm from [572d71d91a] to [e987813ffc].
︙ | |||
684 685 686 687 688 689 690 | 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 | + + - - + + | ;; ( (runname (( state count ) ... )) ;; ( ... (define (db:get-run-stats db) (let ((totals (make-hash-table)) (res '())) (sqlite3:for-each-row (lambda (runname state count) (let* ((stateparts (string-split state "/")) (newstate (conc (car stateparts) "\n" (cadr stateparts)))) |
︙ |
Modified dcommon.scm from [edf30f9368] to [5dfda65184].
︙ | |||
41 42 43 44 45 46 47 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - + | #:numlin (length key-vals) #:numcol-visible 1 #:numlin-visible (length key-vals) #:click-cb (lambda (obj lin col status) (print "obj: " obj " lin: " lin " col: " col " status: " status))))) (iup:attribute-set! keys-matrix "0:0" "Run Keys") (iup:attribute-set! keys-matrix "0:1" "Key Name") |
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + | #:numcol 1 #:numlin (length key-vals) #:numcol-visible 1 #:numlin-visible (length key-vals) #:scrollbar "YES"))) (iup:attribute-set! section-matrix "0:0" varcolname) (iup:attribute-set! section-matrix "0:1" valcolname) |
︙ | |||
92 93 94 95 96 97 98 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + - + | (let ((general-matrix (iup:matrix #:alignment1 "ALEFT" #:expand "YES" ;; "HORIZONTAL" #:numcol 1 #:numlin 3 #:numcol-visible 1 #:numlin-visible 3))) |
︙ | |||
138 139 140 141 142 143 144 145 146 147 148 149 150 151 | 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | + | (debug:print 0 "Extending matrix from " numcols " to " cnum) (iup:attribute-set! stats-matrix "ADDLIN" (conc numcols "-" (- rnum numcols))) (set! numcols cnum))) (debug:print 0 "Setting row " rnum ", col " cnum " to " v) (iup:attribute-set! stats-matrix (conc rnum ":" cnum) v))) (row-indices (car indices)) (col-indices (cadr indices))) (iup:attribute-set! stats-matrix "WIDTHDEF" "40") ;; Row labels (for-each (lambda (ind) (let ((name (car ind)) (num (cadr ind))) (iup:attribute-set! stats-matrix (conc num ":0") name))) row-indices) ;; Col labels |
︙ | |||
160 161 162 163 164 165 166 | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | - + | (col-name (cadr entry)) (value (caddr entry)) (row-num (cadr (assoc row-name row-indices))) (col-num (cadr (assoc col-name col-indices)))) (iup:attribute-set! stats-matrix (conc row-num ":" col-num) value))) run-stats) (iup:vbox |
︙ |