diff --git a/css/swad16.50.2.css b/css/swad16.51.css similarity index 99% rename from css/swad16.50.2.css rename to css/swad16.51.css index a4443340e..62b0d8c5d 100644 --- a/css/swad16.50.2.css +++ b/css/swad16.51.css @@ -1339,8 +1339,18 @@ a:hover /* Default ==> underlined */ } .FRAME_ICONS { - display:table; + box-sizing:border-box; height:20px; + text-align:left; + } +.FRAME_ICONS_LEFT + { + display:inline-block; + } +.FRAME_ICONS_RIGHT + { + display:inline-block; + float:right; } .FRAME_TABLE { diff --git a/icon/help64x64.png b/icon/help64x64.png new file mode 100644 index 000000000..dc28e557e Binary files /dev/null and b/icon/help64x64.png differ diff --git a/swad_changelog.h b/swad_changelog.h index 18d28a2e4..b15621fac 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,16 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.50.2 (2016-11-12)" -#define CSS_FILE "swad16.50.2.css" +#define Log_PLATFORM_VERSION "SWAD 16.51 (2016-11-12)" +#define CSS_FILE "swad16.51.css" #define JS_FILE "swad16.46.1.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* + Version 16.51: Nov 12, 2016 Contextual help on the top right corner of frames. (206606 lines) +Copy icon/help64x64.png to icon directory + Version 16.50.2: Nov 12, 2016 Changes in layout of record cards. (206556 lines) Version 16.50.1: Nov 12, 2016 Minor corrections in some messages. (206559 lines) Version 16.50: Nov 10, 2016 My frequent actions are moved from PROFILE tab to STATS tab. diff --git a/swad_layout.c b/swad_layout.c index 7f87cd5c7..670bb25a6 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -1236,7 +1236,8 @@ void Lay_WriteTitle (const char *Title) /*****************************************************************************/ // CellPadding must be 0, 1, 2, 4 or 8 -void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char *Title) +void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding, + const char *Title) { Lay_StartRoundFrame (Width,Title,NULL); @@ -1246,8 +1247,11 @@ void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char fprintf (Gbl.F.Out,"\">"); } -void Lay_StartRoundFrame (const char *Width,const char *Title,void (*FunctionToDrawContextualIcons) (void)) +void Lay_StartRoundFrame (const char *Width,const char *Title, + void (*FunctionToDrawContextualIcons) (void)) { + extern const char *Txt_Help; + fprintf (Gbl.F.Out,"