Version 15.0.1

This commit is contained in:
Antonio Cañas Vargas 2015-09-23 19:21:47 +02:00
parent 85a2e6c713
commit 69a3171aa3
6 changed files with 253 additions and 133 deletions

View File

@ -533,7 +533,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.PHOTO12x16 {width: 18px; height: 24px; vertical-align:middle; border-radius:3px;}
.PHOTO12x16B {width: 18px; height: 24px; vertical-align:middle; border-radius:3px; display:block;}
.PHOTO15x20 {width: 22px; height: 30px; vertical-align:middle; border-radius:3px;}
.PHOTO18x24 {width: 17px; height: 36px; vertical-align:middle; border-radius:3px;}
.PHOTO18x24 {width: 27px; height: 36px; vertical-align:middle; border-radius:3px;}
.PHOTO24x32 {width: 36px; height: 48px; vertical-align:middle; border-radius:4px;}
.PHOTO36x48 {width: 36px; height: 48px; vertical-align:middle; border-radius:5px;}
.PHOTO75x100 {width:112px; height:150px; vertical-align:middle; border-radius:7px;}
@ -567,8 +567,18 @@ a:hover img.CENTRE_PHOTO_SHOW
.NO_BR {white-space:nowrap;}
.BG_MSG_BLUE {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x;}
.BG_MSG_GREEN {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x;}
.BG_MSG_BLUE
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
}
.BG_MSG_GREEN
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
}
.WHITE_DEGREE {color:#707070; font-size:18pt; font-weight:bold; white-space:nowrap;}
.GREY_DEGREE {color:#FFB42E; font-size:18pt; font-weight:bold; white-space:nowrap;}
@ -1030,16 +1040,57 @@ a:hover img.CENTRE_PHOTO_SHOW
.MSG_TIT {color:#4D88A1; font-size:15pt;}
.MSG_TIT_NEW {color:#4D88A1; font-size:15pt; font-weight:bold;}
.MSG_TIT_REM {color:#AFC4CC; font-size:15pt;}
.MSG_TIT_BG {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:15pt;}
.MSG_TIT_BG_NEW {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:15pt; font-weight:bold;}
.MSG_TIT_BG_REM {background-image:url('/swad/icon/lightblue1x36.gif'); background-repeat:repeat-x; color:#AFC4CC; font-size:15pt;}
.MSG_TIT_BG
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x; color:#4D88A1;
font-size:15pt;
}
.MSG_TIT_BG_NEW
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x; color:#4D88A1;
font-size:15pt;
font-weight:bold;
}
.MSG_TIT_BG_REM
{
background-image:url('/swad/icon/lightblue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#AFC4CC;
font-size:15pt;
}
.MSG_AUT {color:#4D88A1; font-size:13pt;}
.MSG_AUT_LIGHT {color:#AFC4CC; font-size:13pt;}
.MSG_AUT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;}
.MSG_AUT_BG {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:13pt;}
.MSG_AUT_BG_NEW {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:13pt; font-weight:bold;}
.MSG_AUT_BG_REM {background-image:url('/swad/icon/lightblue1x36.gif'); background-repeat:repeat-x; color:#AFC4CC; font-size:13pt;}
.MSG_AUT_BG
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:13pt;
}
.MSG_AUT_BG_NEW
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:13pt;
font-weight:bold;
}
.MSG_AUT_BG_REM
{
background-image:url('/swad/icon/lightblue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#AFC4CC;
font-size:13pt;
}
.MSG_DATE {color:#4D88A1; font-size:13pt;}
.MSG_DATE_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;}
.BT {width:24px; text-align:left; vertical-align:top;}

View File

@ -529,8 +529,18 @@ a:hover img.CENTRE_PHOTO_SHOW
.NO_BR {white-space:nowrap;}
.BG_MSG_BLUE {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x;}
.BG_MSG_GREEN {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x;}
.BG_MSG_BLUE
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
}
.BG_MSG_GREEN
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
}
.WHITE_DEGREE {color:#707070; font-size:21pt; font-weight:bold; white-space:nowrap;}
.GREY_DEGREE {color:#FFB42E; font-size:21pt; font-weight:bold; white-space:nowrap;}
@ -837,16 +847,59 @@ a:hover img.CENTRE_PHOTO_SHOW
.MSG_TIT {color:#4D88A1; font-size:15pt;}
.MSG_TIT_NEW {color:#4D88A1; font-size:15pt; font-weight:bold;}
.MSG_TIT_REM {color:#AFC4CC; font-size:15pt;}
.MSG_TIT_BG {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:15pt;}
.MSG_TIT_BG_NEW {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:15pt; font-weight:bold;}
.MSG_TIT_BG_REM {background-image:url('/swad/icon/lightblue1x36.gif'); background-repeat:repeat-x; color:#AFC4CC; font-size:15pt;}
.MSG_TIT_BG
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:15pt;
}
.MSG_TIT_BG_NEW
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:15pt;
font-weight:bold;
}
.MSG_TIT_BG_REM
{
background-image:url('/swad/icon/lightblue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#AFC4CC;
font-size:15pt;
}
.MSG_AUT {color:#4D88A1; font-size:13pt;}
.MSG_AUT_LIGHT {color:#AFC4CC; font-size:13pt;}
.MSG_AUT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;}
.MSG_AUT_BG {background-image:url('/swad/icon/blue1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:13pt;}
.MSG_AUT_BG_NEW {background-image:url('/swad/icon/green1x36.gif'); background-repeat:repeat-x; color:#4D88A1; font-size:13pt; font-weight:bold;}
.MSG_AUT_BG_REM {background-image:url('/swad/icon/lightblue1x36.gif'); background-repeat:repeat-x; color:#AFC4CC; font-size:13pt;}
.MSG_AUT_BG
{
background-image:url('/swad/icon/blue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:13pt;
}
.MSG_AUT_BG_NEW
{
background-image:url('/swad/icon/green1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#4D88A1;
font-size:13pt;
font-weight:bold;
}
.MSG_AUT_BG_REM
{
background-image:url('/swad/icon/lightblue1x36.gif');
background-size:1px 54px;
background-repeat:repeat-x;
color:#AFC4CC;
font-size:13pt;
}
.MSG_DATE {color:#4D88A1; font-size:13pt;}
.MSG_DATE_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;}
.BT {width:24px; text-align:left; vertical-align:top;}

View File

@ -98,11 +98,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.0 (2015/09/23)"
#define Log_PLATFORM_VERSION "SWAD 15.0.1 (2015/09/23)"
// 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
/*
BUG: Enlace a "Instituciones" sale erróneamente en País > Información > Imprimir.
Version 15.0.1: Sep 23, 2015 Fix bugs in size of background images. (185006 lines)
Version 15.0: Sep 23, 2015 All sizes are multiplied by 1.5 (50% bigger). (184885 lines)
Version 14.135: Sep 23, 2015 Option to show last clicks in real time is moved inside "Users - Connected". (184883 lines)
Version 14.134.9: Sep 22, 2015 Link in connected users to clicks in real time. (184923 lines)

View File

@ -617,6 +617,7 @@ static void Lay_WritePageTopHeading (void)
};
fprintf (Gbl.F.Out,"<tr style=\"background-image:url('%s/head_row1_1x48.gif');"
" background-size:1px 72px;"
" background-repeat:repeat-x;\">",
Gbl.Prefs.PathTheme);
@ -684,6 +685,7 @@ static void Lay_WritePageTopHeading (void)
/***** 2nd. row *****/
fprintf (Gbl.F.Out,"<tr style=\"height:96px;" // Changed!
" background-image:url('%s/head_row2_1x64.gif');"
" background-size:1px 96px;"
" background-repeat:repeat-x;\">",
Gbl.Prefs.PathTheme);
@ -723,6 +725,7 @@ static void Lay_WritePageTopHeading (void)
fprintf (Gbl.F.Out,"<td colspan=\"3\" class=\"CENTER_MIDDLE\""
" style=\"height:48px;" // Changed!
" background-image:url('%s/head_row2_1x64.gif');"
" background-size:1px 96px;"
" background-repeat:repeat-x;\">",
Gbl.Prefs.PathTheme);
Deg_WriteCtyInsCtrDeg ();
@ -744,6 +747,7 @@ static void Lay_WritePageTopHeading (void)
if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN) // Left column visible
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\" style=\"width:192px;" // Changed!
" background-image:url('%s/head_base_background_1x56.gif');"
" background-size:1px 84px;"
" background-repeat:repeat-x;\">"
"</td>",
Gbl.Prefs.PathTheme);
@ -794,7 +798,8 @@ static void Lay_WriteTitleAction (void)
/***** Container start *****/
fprintf (Gbl.F.Out,"<div id=\"action_title\""
" style=\"background-image:url('%s/%s/%s64x64.gif');\">",
" style=\"background-image:url('%s/%s/%s64x64.gif');"
" background-size:96px 96px;\">",
Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION,
Act_Actions[Act_Actions[Gbl.CurrentAct].SuperAction].Icon);
@ -880,6 +885,7 @@ static void Lay_ShowRightColumn (void)
"<tr>"
"<td class=\"RIGHT_TOP\""
" style=\"background-image:url('%s/head_base_background_1x56.gif');"
" background-size:1px 84px;"
" background-repeat:repeat-x;\">"
"<table style=\"width:100%%; padding-top:84px;" // Changed!
" border-spacing:6px;\">", // Changed!
@ -1310,7 +1316,8 @@ void Lay_ShowAlert (Lay_AlertType_t MsgType,const char *Message)
if (Message)
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
"<div class=\"ALERT\""
" style=\"background-image:url('%s/%s16x16.gif');\">"
" style=\"background-image:url('%s/%s16x16.gif');"
" background-size:24px 24px;\">"
"%s"
"</div>"
"</div>",
@ -1576,7 +1583,8 @@ void Lay_PutIconsToSelectLayout (void)
Act_FormStart (ActChgLay);
Par_PutHiddenParamUnsigned ("Layout",(unsigned) Layout);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s32x32.gif\""
" alt=\"%s\" title=\"%s\" class=\"ICON32x32B\" />",
" alt=\"%s\" title=\"%s\" class=\"ICON32x32B\""
" style=\"margin:0 auto;\" />",
Gbl.Prefs.IconsURL,
Lay_LayoutIcons[Layout],
Txt_LAYOUT_NAMES[Layout],

View File

@ -2883,6 +2883,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float NumPagesGenerated,float
fprintf (Gbl.F.Out,"<td rowspan=\"30\" class=\"LOG LEFT_TOP\""
" style=\"width:%upx;" // Changed!
" background-image:url('%s/ejey24x30.gif');"
" background-size:36px 45px;"
" background-repeat:repeat;\">"
"00h"
"</td>",
@ -2892,6 +2893,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float NumPagesGenerated,float
fprintf (Gbl.F.Out,"<td rowspan=\"30\" class=\"LOG LEFT_BOTTOM\""
" style=\"width:%upx;" // Changed!
" background-image:url('%s/ejey24x30.gif');"
" background-size:36px 45px;"
" background-repeat:repeat;\">"
"24h"
"</td>",
@ -2901,6 +2903,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float NumPagesGenerated,float
fprintf (Gbl.F.Out,"<td rowspan=\"60\" class=\"LOG LEFT_MIDDLE\""
" style=\"width:%upx;" // Changed!
" background-image:url('%s/ejey24x60.gif');"
" background-size:36px 90px;"
" background-repeat:repeat;\">"
"%02uh"
"</td>",
@ -2910,6 +2913,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float NumPagesGenerated,float
fprintf (Gbl.F.Out,"<td colspan=\"%u\" class=\"LEFT_BOTTOM\""
" style=\"width:%upx; height:1px;" // Changed!
" background-image:url('%s/malla%c48x1.gif');"
" background-size:72px 1px;"
" background-repeat:repeat;\">",
NUM_DIVISIONS_X*2,WIDTH_GRAPHIC,Gbl.Prefs.IconsURL,
(Minute % 60) == 0 ? 'v' :

View File

@ -93,6 +93,7 @@ void Tab_DrawTabs (void)
fprintf (Gbl.F.Out,"<td colspan=\"%u\" class=\"CENTER_TOP\""
" style=\"height:84px;" // Changed!
" background-image:url('%s/head_base_background_1x56.gif');"
" background-size:1px 84px;"
" background-repeat:repeat-x;\">"
"<div id=\"tabs_container\">",
ColspanCentralPart,Gbl.Prefs.PathTheme);