Differences From Artifact [5192d98bb0]:
- File src/setupuser.c — part of check-in [eb1415d8c5] at 2021-02-03 23:51:45 on branch trunk — Paint backgrounds with the hash_color for the login name when the "ubg" query parameter is given on the /setup_ulist page. (user: drh size: 32328)
To Artifact [66d1c85ebb]:
- File src/setupuser.c — part of check-in [4d0af2a68f] at 2021-02-04 00:57:34 on branch user-color-revamp — Split off the automatic background color chooser into a separate source file "color.c". Add a separate routine "user_color()" to choose background colors based on user name. Abandon the "color-hash-seed" setting. Instead, provide the "user-color-map" setting for overriding the automatic color choices for a few users, which color collisions occur between key project members. (user: drh size: 32328) [more...]
| ︙ | |||
182 183 184 185 186 187 188 | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | - + |
char *zAge = 0;
const char *zSub;
int sid = db_column_int(&s,9);
if( rATime>0.0 ){
zAge = human_readable_age(rNow - rATime);
}
if( bUbg ){
|
| ︙ |