From fdc55b9426c3e1cb31e950e08b4bb0b35015cef3 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 23 Nov 2015 19:04:04 +0100 Subject: [PATCH] management of user avatar refactored (removed books from chat) --- TODO.txt | 20 ++++++++++++-------- doc/ARCHITECTURE.txt | 5 +++++ web/brisk.css | 20 ++++++++++++++++++-- web/commons.js | 2 +- 4 files changed, 36 insertions(+), 11 deletions(-) diff --git a/TODO.txt b/TODO.txt index 9818d86..86bdddd 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,14 +1,26 @@ TODO | ------+ + BUGS | + ------+ + - Global vars checker + - Not triple chars between letters + - 10002 message when already clicked + - usermgmt: add user delete + - trim spaces in apprentice form + DONE - Remove books from chat + DONE - usermgmt: add email + FEATURES | ----------+ + * inherited info * Users Network construction DONE - sql - dbase API - enhance info interface . disable parts of interface - minisplash at end of the match + - differentiate table authorization * Double click on chat to open preferences @@ -18,14 +30,6 @@ DONE . migration script for old users - guarantee for apprentice - BUGS | - ------+ - - Global vars checker - - Remove books from chat - - Not triple chars between letters - - 10002 message when already clicked - - usermgmt: add user delete - DONE - usermgmt: add email --------- diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index f1d7069..b89ba88 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -1,5 +1,10 @@ ===== Sparse documentation about Brisk. ===== +==== Form Workflow ==== + +- div on page + + User cleanup: spush::garbage_manager() if (user->the_end) diff --git a/web/brisk.css b/web/brisk.css index d4bafaa..ef056ab 100644 --- a/web/brisk.css +++ b/web/brisk.css @@ -269,19 +269,29 @@ img.button:hover { span.au0 span { font-weight: bold; } +span.au0_off span { + font-weight: bold; +} span.au1 span { padding-left: 2px; padding-right: 4px; font-style: italic; -/* orange background-color: #ffd780; */ -/* red background-color: #ffb0b0; */ + background-color: #a1c8ff; +} +span.au1_off span { + padding-left: 2px; + padding-right: 4px; + font-style: italic; background-color: #a1c8ff; } span.au2 span { background-color: #bafcba; } +span.au2_off span { + background-color: #bafcba; +} span.au3 { padding-left: 24px; @@ -290,6 +300,12 @@ span.au3 { background-position: left center; } +span.au3_off span { + background-color: transparent; +} +span.au3_off { +} + span.au3 span { background-color: transparent; } diff --git a/web/commons.js b/web/commons.js index 7dcf922..bb2541b 100644 --- a/web/commons.js +++ b/web/commons.js @@ -1038,7 +1038,7 @@ function user_decorator(user, is_real) for (i = 0 ; i < 4 ; i++) { if (flags & (1 << i)) { - cl += sp + "au" + i; + cl += sp + "au" + i + (is_real ? "" : "_off"); sp = " "; } } -- 2.17.1