Version 18.52

This commit is contained in:
Antonio Cañas Vargas 2019-02-20 17:18:13 +01:00
parent f91d39f163
commit cd58031c02
21 changed files with 363 additions and 202 deletions

View File

@ -123,19 +123,37 @@ a:hover /* Default ==> underlined */
}
.HEAD_ROW_1_GREY
{
background-image:-webkit-linear-gradient(#383838 0,#383838 26px,#404040 100%); /* Safari */
background-image:linear-gradient(#383838 0,#383838 26px,#404040 100%);
background-image:-webkit-linear-gradient(#383838 0,#404040 100%); /* Safari */
background-image:linear-gradient(#383838 0,#404040 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_1_PURPLE
{
background-image:-webkit-linear-gradient(#812b5a 0,#874c80 100%); /* Safari */
background-image:linear-gradient(#812b5a, #874c80 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_1_BLUE
{
background-image:-webkit-linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%); /* Safari */
background-image:linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%);
background-repeat:no-repeat;
background-color:#3781c1;
}
.HEAD_ROW_1_YELLOW
{
background-color:#201420;
background-image:-webkit-linear-gradient(#292229 0,#302830 100%); /* Safari */
background-image:linear-gradient(#292229 0,#302830 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_1_PINK
{
background-image:-webkit-linear-gradient(#bf667f 0,#c86b85 100%); /* Safari */
background-image:linear-gradient(#bf667f 0,#c86b85 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_1_PINK
{
background-image:-webkit-linear-gradient(#8e5e8f 0,#ab5c84 100%); /* Safari */
background-image:linear-gradient(#8e5e8f 0,#ab5c84 100%);
background-repeat:no-repeat;
}
#head_row_1_left
@ -157,7 +175,7 @@ a:hover /* Default ==> underlined */
#head_row_1_tagline
{
display:none;
}
}
}
@media only screen and (min-width: 1024px)
{ /* For tablets and desktop */
@ -182,10 +200,12 @@ a:hover /* Default ==> underlined */
vertical-align:middle;
}
}
.WHITE_TAGLINE {color:#B0B0B0;}
.GREY_TAGLINE {color:#E0E0E0;}
.BLUE_TAGLINE {color:#BAD2DA;}
.YELLOW_TAGLINE {color:#B3B0B3;}
.TAGLINE_WHITE {color:#b0b0b0;}
.TAGLINE_GREY {color:#e0e0e0;}
.TAGLINE_PURPLE {color:#e0e0e0;}
.TAGLINE_BLUE {color:#bad2da;}
.TAGLINE_YELLOW {color:#b3b0b3;}
.TAGLINE_PINK {color:#e8e8e8;}
#head_row_1_search
{
@ -197,7 +217,7 @@ a:hover /* Default ==> underlined */
#head_search_text
{
display:none;
}
}
}
@media only screen and (max-width: 480px)
@ -230,10 +250,12 @@ a:hover /* Default ==> underlined */
text-overflow:ellipsis;
}
}
.WHITE_USR {color:#E0E0E0; font-size:15pt; font-weight:bold; white-space:nowrap;}
.GREY_USR {color:#E0E0E0; font-size:15pt; font-weight:bold; white-space:nowrap;}
.BLUE_USR {color:white; font-size:15pt; font-weight:bold; white-space:nowrap;}
.YELLOW_USR {color:#B3B0B3; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_WHITE {color:#b0b0b0; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_GREY {color:#e0e0e0; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_PURPLE {color:#e0e0e0; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_BLUE {color:white; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_YELLOW {color:#b3b0b3; font-size:15pt; font-weight:bold; white-space:nowrap;}
.USR_PINK {color:white; font-size:15pt; font-weight:bold; white-space:nowrap;}
#head_row_1_right
{
@ -264,13 +286,27 @@ a:hover /* Default ==> underlined */
{
background-color:#404040;
}
.HEAD_ROW_2_PURPLE
{
background-image:-webkit-linear-gradient(#874c80 0,#a070a1 100%); /* Safari */
background-image:linear-gradient(#874c80 0,#a070a1 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_2_BLUE
{
background-color:#4f90c8;
background-image:-webkit-linear-gradient(#3781c1 0,#4f90c8 100%); /* Safari */
background-image:linear-gradient(#3781c1 0,#4f90c8 100%);
background-repeat:no-repeat;
}
.HEAD_ROW_2_YELLOW
{
background-color:#201420;
background-color:#302830;
}
.HEAD_ROW_2_PINK
{
background-image:-webkit-linear-gradient(#ab5c84 0,#c86b85 100%); /* Safari */
background-image:linear-gradient(#ab5c84 0,#c86b85 100%);
background-repeat:no-repeat;
}
/******************************* Current time ********************************/
@ -416,13 +452,15 @@ a:hover /* Default ==> underlined */
}
}
.BC_SEMIOFF {opacity:0.67;}
.BC_OFF {opacity:0.33;}
.BC_SEMIOFF {opacity:0.7;}
.BC_OFF {opacity:0.3;}
.BC_WHITE {color:#707070;}
.BC_GREY {color:#FFB42E;}
.BC_BLUE {color:#FFE880;}
.BC_YELLOW {color:#FFC040;}
.BC_GREY {color:#ffb42e;}
.BC_PURPLE {color:#ffc040;}
.BC_BLUE {color:#ffc040;}
.BC_YELLOW {color:#ffb42e;}
.BC_PINK {color:#ffc040;}
.BC_ICON
{
@ -483,10 +521,12 @@ a:hover /* Default ==> underlined */
vertical-align:middle;
}
}
.WHITE_COURSE {color:#4D88A1;}
.GREY_COURSE {color:#F7F6F5;}
.BLUE_COURSE {color:white;}
.YELLOW_COURSE {color:white;}
.MAIN_TITLE_WHITE {color:#4d88a1;}
.MAIN_TITLE_GREY {color:#f7f6f5;}
.MAIN_TITLE_PURPLE {color:white;}
.MAIN_TITLE_BLUE {color:white;}
.MAIN_TITLE_YELLOW {color:white;}
.MAIN_TITLE_PINK {color:white;}
#my_courses
{
width:130px;
@ -508,19 +548,21 @@ a:hover /* Default ==> underlined */
#msg
{
display:none;
}
}
}
@media only screen and (min-width: 1024px) and (max-width: 1280px)
{ /* For tablets */
#notif_all
{
display:none;
}
}
}
.WHITE_NOTIF {color:#707070; font-size:12pt; white-space:nowrap;}
.GREY_NOTIF {color:#E0E0E0; font-size:12pt; white-space:nowrap;}
.BLUE_NOTIF {color:white; font-size:12pt; white-space:nowrap;}
.YELLOW_NOTIF {color:#B3B0B3; font-size:12pt; white-space:nowrap;}
.NOTIF_WHITE {color:#707070; font-size:12pt; white-space:nowrap;}
.NOTIF_GREY {color:#e0e0e0; font-size:12pt; white-space:nowrap;}
.NOTIF_PURPLE {color:#e0e0e0; font-size:12pt; white-space:nowrap;}
.NOTIF_BLUE {color:white; font-size:12pt; white-space:nowrap;}
.NOTIF_YELLOW {color:#b3b0b3; font-size:12pt; white-space:nowrap;}
.NOTIF_PINK {color:white; font-size:12pt; white-space:nowrap;}
/******************* Layout (third heading row with tabs) ********************/
.HEAD_ROW_3_WHITE
@ -532,6 +574,11 @@ a:hover /* Default ==> underlined */
background-image:-webkit-linear-gradient(#404040 0,#404040 54px,white 54px,white 100%); /* Safari */
background-image:linear-gradient(#404040 0,#404040 54px,white 54px,white 100%);
}
.HEAD_ROW_3_PURPLE
{
background-image:-webkit-linear-gradient(#a070a1 0,#a070a1 54px,white 54px,white 100%); /* Safari */
background-image:linear-gradient(#a070a1 0,#a070a1 54px,white 54px,white 100%);
}
.HEAD_ROW_3_BLUE
{
background-image:-webkit-linear-gradient(#4f90c8 0,#4f90c8 54px,white 54px,white 100%); /* Safari */
@ -539,8 +586,13 @@ a:hover /* Default ==> underlined */
}
.HEAD_ROW_3_YELLOW
{
background-image:-webkit-linear-gradient(#201420 0,#201420 54px,white 54px,white 100%); /* Safari */
background-image:linear-gradient(#201420 0,#201420 54px,white 54px,white 100%);
background-image:-webkit-linear-gradient(#302830 0,#302830 54px,white 54px,white 100%); /* Safari */
background-image:linear-gradient(#302830 0,#302830 54px,white 54px,white 100%);
}
.HEAD_ROW_3_PINK
{
background-image:-webkit-linear-gradient(#c86b85 0,#c86b85 54px,white 54px,white 100%); /* Safari */
background-image:linear-gradient(#c86b85 0,#c86b85 54px,white 54px,white 100%);
}
@media only screen and (max-width: 480px)
{ /* For mobile-phones */
@ -690,39 +742,36 @@ a:hover /* Default ==> underlined */
}
}
.TAB_ON_WHITE {background-color:rgba(247, 246, 245, 0.99);}
.TAB_ON_GREY {background-color:rgba(247, 246, 245, 0.99);}
.TAB_ON_BLUE {background-color:rgba(232, 243, 246, 0.99);}
.TAB_ON_YELLOW {background-color:rgba(255, 242, 189, 0.99);}
.TAB_ON_WHITE {background-color:#f7f6f5;}
.TAB_ON_GREY {background-color:#f7f6f5;}
.TAB_ON_PURPLE {background-color:#fdf3f3;}
.TAB_ON_BLUE {background-color:#e8f3f6;}
.TAB_ON_YELLOW {background-color:#faf0da;}
.TAB_ON_PINK {background-color:#f5ede6;}
.TAB_OFF_WHITE {background-color:#D4D4D4;}
.TAB_OFF_GREY {background-color:#AEA79F;}
.TAB_OFF_BLUE {background-color:#CAE1E8;}
.TAB_OFF_YELLOW {background-color:#FADE94;}
.TAB_OFF_WHITE {background-color:#d4d4d4;}
.TAB_OFF_GREY {background-color:#aea79f;}
.TAB_OFF_PURPLE {background-color:#f2dada;}
.TAB_OFF_BLUE {background-color:#cae1e8;}
.TAB_OFF_YELLOW {background-color:#f4dfb2;}
.TAB_OFF_PINK {background-color:#f3dcca;}
.WHITE_TAB_OFF {color:#707070;}
.GREY_TAB_OFF {color:#505050;}
.BLUE_TAB_OFF {color:#365E6E;}
.YELLOW_TAB_OFF {color:#4A2E19;}
.TAB_OFF_TXT_WHITE {color:#707070;}
.TAB_OFF_TXT_GREY {color:#505050;}
.TAB_OFF_TXT_PURPLE {color:#505050;}
.TAB_OFF_TXT_BLUE {color:#365e6e;}
.TAB_OFF_TXT_YELLOW {color:#4a2e19;}
.TAB_OFF_TXT_PINK {color:#505050;}
.WHITE_TAB_ON {color:#4D88A1;}
.GREY_TAB_ON {color:#606060;}
.BLUE_TAB_ON {color:#4D88A1;}
.YELLOW_TAB_ON {color:#BD4815;}
.TAB_ON_TXT_WHITE {color:#4d88A1;}
.TAB_ON_TXT_GREY {color:#606060;}
.TAB_ON_TXT_PURPLE {color:#573c4d;}
.TAB_ON_TXT_BLUE {color:#4d88A1;}
.TAB_ON_TXT_YELLOW {color:#7c4d2a;}
.TAB_ON_TXT_PINK {color:#63474e;}
/*
.TAB_ICO
{
width:32px;
height:32px;
vertical-align:middle;
margin-top:2px;
padding:2px 0;
}
*/
.TAB_ICO
{
/* width:32px; */
height:32px;
vertical-align:middle;
margin-top:2px;
@ -868,7 +917,7 @@ a:hover /* Default ==> underlined */
}
#main_horizontal .MENU_OPT_OFF
{
opacity:0.6;
opacity:0.7;
}
#main_horizontal .MENU_OPT_OFF:hover, #main_horizontal .MENU_OPT_ON
{
@ -937,7 +986,7 @@ a:hover /* Default ==> underlined */
}
#main_vertical .MENU_OPT_OFF
{
opacity:0.6;
opacity:0.7;
}
#main_vertical .MENU_OPT_OFF:hover, #main_vertical .MENU_OPT_ON
{
@ -1004,7 +1053,7 @@ a:hover /* Default ==> underlined */
}
#main_vertical .MENU_OPT_OFF
{
opacity:0.6;
opacity:0.7;
}
#main_vertical .MENU_OPT_OFF:hover, #main_vertical .MENU_OPT_ON
{
@ -1071,26 +1120,27 @@ a:hover /* Default ==> underlined */
}
}
.WHITE_MENU_OFF {color:#4D88A1;}
.GREY_MENU_OFF {color:#707070;}
.BLUE_MENU_OFF {color:#4D88A1;}
.YELLOW_MENU_OFF {color:#BD4815;}
.WHITE_MENU_ON {color:#4D88A1;}
.GREY_MENU_ON {color:#606060;}
.BLUE_MENU_ON {color:#4D88A1;}
.YELLOW_MENU_ON {color:#BD4815;}
.MENU_TXT_WHITE {color:#4D88a1;}
.MENU_TXT_GREY {color:#606060;}
.MENU_TXT_PURPLE {color:#573c4d;}
.MENU_TXT_BLUE {color:#4D88a1;}
.MENU_TXT_YELLOW {color:#7c4d2a;}
.MENU_TXT_PINK {color:#63474e;}
/****************** Title of current action in main block ********************/
.WHITE_TITLE_ACTION {color:#606060; font-size:20pt;}
.GREY_TITLE_ACTION {color:#606060; font-size:20pt;}
.BLUE_TITLE_ACTION {color:#4D88A1; font-size:20pt;}
.YELLOW_TITLE_ACTION {color:#BD4815; font-size:20pt;}
.TITLE_ACTION_WHITE {color:#606060; font-size:20pt;}
.TITLE_ACTION_GREY {color:#606060; font-size:20pt;}
.TITLE_ACTION_PURPLE {color:#573c4d; font-size:20pt;}
.TITLE_ACTION_BLUE {color:#4D88A1; font-size:20pt;}
.TITLE_ACTION_YELLOW {color:#7c4d2a; font-size:20pt;}
.TITLE_ACTION_PINK {color:#63474e; font-size:20pt;}
.WHITE_SUBTITLE_ACTION {color:#606060; font-size:12pt;}
.GREY_SUBTITLE_ACTION {color:#606060; font-size:12pt;}
.BLUE_SUBTITLE_ACTION {color:#4D88A1; font-size:12pt;}
.YELLOW_SUBTITLE_ACTION {color:#BD4815; font-size:12pt;}
.SUBTITLE_ACTION_WHITE {color:#606060; font-size:12pt;}
.SUBTITLE_ACTION_GREY {color:#606060; font-size:12pt;}
.SUBTITLE_ACTION_PURPLE {color:#573c4d; font-size:12pt;}
.SUBTITLE_ACTION_BLUE {color:#4D88A1; font-size:12pt;}
.SUBTITLE_ACTION_YELLOW {color:#7c4d2a; font-size:12pt;}
.SUBTITLE_ACTION_PINK {color:#63474e; font-size:12pt;}
/***************************** Users connected *******************************/
.CONNECTED
@ -1524,8 +1574,8 @@ a:hover /* Default ==> underlined */
box-sizing:border-box;
margin:8px auto;
padding:12px;
/* background-color:#FFF9EA; */
background-color:#FFF3D4;
/* background-color:#fff3d4; */
background-color:#fff8e5;
border-radius:2px;
box-shadow: 0 2px 2px 0 rgba(124,121,109,0.14), 0 2px 1px -2px rgba(124,121,109,0.2), 0 1px 5px 0 rgba(124,121,109,0.12);
}
@ -1943,10 +1993,12 @@ a:hover img.CENTRE_PHOTO_SHOW
.USR_LIST_NUM_N {color:#404040; font-size:15pt; font-weight:bold;}
/*****************************************************************************/
.WHITE_TITLE {color:#505050; font-size:18pt;}
.GREY_TITLE {color:#505050; font-size:18pt;}
.BLUE_TITLE {color:#4D88A1; font-size:18pt;}
.YELLOW_TITLE {color:#BD4815; font-size:18pt;}
.TITLE_WHITE {color:#505050; font-size:18pt;}
.TITLE_GREY {color:#505050; font-size:18pt;}
.TITLE_PURPLE {color:#573c4d; font-size:18pt;}
.TITLE_BLUE {color:#4D88A1; font-size:18pt;}
.TITLE_YELLOW {color:#7c4d2a; font-size:18pt;}
.TITLE_PINK {color:#63474e; font-size:18pt;}
/*********************** Icon and checkbox highlighting **********************/
.ICO_HIDDEN
@ -1972,42 +2024,50 @@ a:hover img.CENTRE_PHOTO_SHOW
}
/********************************* Form fonts ********************************/
.WHITE_FORM {color:#4D88A1; font-size:13pt;}
.GREY_FORM {color:#4D88A1; font-size:13pt;}
.BLUE_FORM {color:#4D88A1; font-size:13pt;}
.YELLOW_FORM {color:#7C4D2A; font-size:13pt;}
.FORM_WHITE {color:#4D88A1; font-size:13pt;}
.FORM_GREY {color:#4D88A1; font-size:13pt;}
.FORM_PURPLE {color:#4D88A1; font-size:13pt;}
.FORM_BLUE {color:#4D88A1; font-size:13pt;}
.FORM_YELLOW {color:#7C4D2A; font-size:13pt;}
.FORM_PINK {color:#4D88A1; font-size:13pt;}
.WHITE_FORM_DARK {color:#365E6E; font-size:13pt;}
.GREY_FORM_DARK {color:#365E6E; font-size:13pt;}
.BLUE_FORM_DARK {color:#365E6E; font-size:13pt;}
.YELLOW_FORM_DARK {color:#4A2E19; font-size:13pt;}
.FORM_DARK_WHITE {color:#365E6E; font-size:13pt;}
.FORM_DARK_GREY {color:#365E6E; font-size:13pt;}
.FORM_DARK_PURPLE {color:#365E6E; font-size:13pt;}
.FORM_DARK_BLUE {color:#365E6E; font-size:13pt;}
.FORM_DARK_YELLOW {color:#4A2E19; font-size:13pt;}
.FORM_DARK_PINK {color:#365E6E; font-size:13pt;}
.WHITE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.GREY_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.BLUE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.YELLOW_FORM_NOWRAP {color:#7C4D2A; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_WHITE {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_GREY {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_PURPLE {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_BLUE {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_YELLOW {color:#7C4D2A; font-size:13pt; white-space:nowrap;}
.FORM_NOWRAP_PINK {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.WHITE_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;}
.GREY_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;}
.BLUE_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;}
.YELLOW_FORM_BOLD {color:#7C4D2A; font-size:13pt; font-weight:bold;}
.FORM_BOLD_WHITE {color:#4D88a1; font-size:13pt; font-weight:bold;}
.FORM_BOLD_GREY {color:#4D88a1; font-size:13pt; font-weight:bold;}
.FORM_BOLD_PURPLE {color:#573c4d; font-size:13pt; font-weight:bold;}
.FORM_BOLD_BLUE {color:#4D88a1; font-size:13pt; font-weight:bold;}
.FORM_BOLD_YELLOW {color:#7c4d2a; font-size:13pt; font-weight:bold;}
.FORM_BOLD_PINK {color:#63474e; font-size:13pt; font-weight:bold;}
/****************************** Placing of objects ***************************/
.LEFT_TOP {text-align:left; vertical-align:top;}
.LEFT_MIDDLE {text-align:left; vertical-align:middle;}
.LEFT_BOTTOM {text-align:left; vertical-align:bottom;}
.LEFT_MIDDLE {text-align:left; vertical-align:middle;}
.LEFT_BOTTOM {text-align:left; vertical-align:bottom;}
.CENTER_TOP {text-align:center; vertical-align:top;}
.CENTER_MIDDLE {text-align:center; vertical-align:middle;}
.CENTER_BOTTOM {text-align:center; vertical-align:bottom;}
.CENTER_MIDDLE {text-align:center; vertical-align:middle;}
.CENTER_BOTTOM {text-align:center; vertical-align:bottom;}
.RIGHT_TOP {text-align:right; vertical-align:top;}
.RIGHT_MIDDLE {text-align:right; vertical-align:middle;}
.RIGHT_BOTTOM {text-align:right; vertical-align:bottom;}
.RIGHT_MIDDLE {text-align:right; vertical-align:middle;}
.RIGHT_BOTTOM {text-align:right; vertical-align:bottom;}
/***************** Colors used in headers,backgrounds,etc. *****************/
.COLOR0 {background-color:#F4F2EA;}
.COLOR1 {background-color:#FBFAF7;}
.COLOR0 {background-color:#F4F2EA;}
.COLOR1 {background-color:#FBFAF7;}
.LIGHT_GREEN {background-color:#C0FF40;}
.LIGHT_BLUE {background-color:#DDECF1;}
.LIGHT_BLUE {background-color:#DDECF1;}
.VERY_LIGHT_BLUE {background-color:#EAF3F6;}
/********************************* Course info *******************************/
@ -2121,7 +2181,7 @@ a:hover img.CENTRE_PHOTO_SHOW
border-width:1px;
}
.DAT_SMALL {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:12pt;}
.DAT_SMALL {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:12pt;}
.DAT_SMALL_LIGHT {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#A0A0A0; font-size:12pt;}
.DAT_SMALL_NOBR {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:12pt; white-space:nowrap;}
.DAT_SMALL_N {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:black; font-size:12pt;}
@ -2129,9 +2189,11 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_SMALL_GREY {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#707070; font-size:12pt;}
.DAT_SMALL_RED {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:red; font-size:12pt;}
.DAT_SMALL_PURPLE {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#707070; font-size:12pt;}
.DAT_SMALL_GREEN {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#008000; font-size:12pt;}
.DAT_SMALL_BLUE {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#0080FF; font-size:12pt;}
.DAT_SMALL_YELLOW {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#C0C000; font-size:12pt;}
.DAT_SMALL_PINK {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#707070; font-size:12pt;}
/******************************** User's IDs *********************************/
.USR_ID {font-size:18pt; font-weight:bold;}
@ -2614,7 +2676,7 @@ a:hover img.CENTRE_PHOTO_SHOW
box-sizing:border-box;
width:100%;
padding:25px 25px 125px 25px;
opacity:0.33;
opacity:0.3;
}
/****************************** Image uploading ******************************/
@ -3210,7 +3272,7 @@ a.PAG:hover, .PAG_CUR
background-size:16px 16px;
background-repeat:no-repeat;
background-position:left center;
opacity:0.67;
opacity:0.7;
}
#following_side

View File

@ -1 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-in-alt" class="svg-inline--fa fa-sign-in-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#84ad6f" d="M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z"></path></svg>
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-in-alt" class="svg-inline--fa fa-sign-in-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#246600" d="M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z"></path></svg>

Before

Width:  |  Height:  |  Size: 556 B

After

Width:  |  Height:  |  Size: 556 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-in-alt" class="svg-inline--fa fa-sign-in-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z"></path></svg>

After

Width:  |  Height:  |  Size: 554 B

View File

@ -1 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-out-alt" class="svg-inline--fa fa-sign-out-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#ad6f6f" d="M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"></path></svg>
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-out-alt" class="svg-inline--fa fa-sign-out-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"></path></svg>

Before

Width:  |  Height:  |  Size: 562 B

After

Width:  |  Height:  |  Size: 562 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-out-alt" class="svg-inline--fa fa-sign-out-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"></path></svg>

After

Width:  |  Height:  |  Size: 560 B

View File

@ -1 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFE880" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFC040" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>

Before

Width:  |  Height:  |  Size: 794 B

After

Width:  |  Height:  |  Size: 794 B

1
icon/theme/pink/bell.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="bell" class="svg-inline--fa fa-bell fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="white" d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"></path></svg>

After

Width:  |  Height:  |  Size: 601 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFC040" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="bell" class="svg-inline--fa fa-bell fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="white" d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"></path></svg>

After

Width:  |  Height:  |  Size: 601 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFC040" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

View File

@ -1 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFC040" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>
<svg aria-hidden="true" data-prefix="fas" data-icon="sitemap" class="svg-inline--fa fa-sitemap fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="#FFB42E" d="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"></path></svg>

Before

Width:  |  Height:  |  Size: 794 B

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

After

Width:  |  Height:  |  Size: 120 B

View File

@ -340,6 +340,42 @@ Hola Antonio, he ampliado el evento y nos deja comentar. El problema es que el p
Buenos días Profesor Cañas, que no es nada fácil, pero pudiera hacer más versátil las hojas de calificaciones que en pocos pasos se pudiera configurar para dar promedios, parciales y definitivas. Perdone la solicitud. Soy usuario agradecido de OpenSwad.
*/
/* TODO: Mensaje del profesor Joaquín Manuel Durán Álvarez
* Estimado Antonio:
Como todos los años te voy a preguntar si vais a implementar una opción, en donde yo pueda bloquear a un alumno sin necesidad de borrarlo de la asignatura. Si lo borro, pierdo todos sus datos sobre trabajos entregados y las notas que le haya puesto. Y algunas veces cuando la gente aprueba, prefiero bloquearlo pero que siga dado de alta para consultar cosas.
O incluso para gente que pierde el derecho de examen por curso y puede recuperarlo. Son múltiples situaciones distintas en las que vendría muy bien esa opción.
Gracias por todo. Seguimos en contacto
---
Respuesta:
Hola, Joaquín, ¿qué tal?
He estado discutiendo tu mensaje un buen rato con Javier Fernández @jfernand y más o menos entendemos que podrían ser interesantes distintos tipos de roles, cada uno con diferentes permisos:
- estudiante bloqueado
Sería parecido a un usuario que visita otra asignatura, en el sentido de que no podría ver nada que no sea público, ni podría editar nada, pero aparecería como estudiante bloqueado en la lista de estudiantes de la asignatura.
- estudiante antiguo / estudiante invitado
Podría acceder a (leer) los materiales de la asignatura, pero no recibiría notificaciones ni podría editar. Aparecería en las listas como estudiante invitado.
En cualquier caso el estudiante siempre podría borrarse de la asignatura, como ya ocurre con cualquiera de los roles existentes.
Anoto tu comentario y mi respuesta en la lista de mejoras por estudiar e implementar, aunque ahora mismo no puedo ponerla como la primera de la lista por haber otras con mayor prioridad y por la dificultad que supone crear un nuevo rol. Hace un tiempo creé el nuevo rol de profesor no editor y llevó meses dejarlo más o menos fino, ya que, aunque está bastante sistematizado, en la práctica supone cambiar miles de líneas de código por todo el programa (que ya va por las 240 000 líneas) donde se hacen comprobaciones sobre lo que puede hacer o no cada rol.
Hablando con @jfernand se nos ocurre que para el primer caso (estudiante bloqueado) sólo hay dos opciones ahora:
- Borrarlo de la asignatura (es lo que hace Javier) por ejemplo si desaparece de las actas. En este caso te sugiero que antes de borrarlo hagas dos copias de seguridad:
1. En Archivos > Trabajos, crea un zip de todo y guárdalo en tu ordenador.
2. En Usuarios > Estudiantes > Ver como lista > Botón superior izquierdo "Mostrar todos los datos en una tabla" > Guardar esa tabla como página web o (copiarla en una hoja de cálculo) en tu ordenador.
- Dejarlo tal cual, como si fuera un alumno más
Para el segundo caso (estudiantes antiguos o invitados) tienes dos opciones:
- Crear una asignatura cada año y dejar más o menos congeladas las asignaturas de años anteriores. Tiene la desventaja de tener que subir todo el material cada año.
- Crear grupos dentro de la asignatura con los estudiantes de cada curso. Seguirían recibiendo notificaciones de los cambios en la asignatura.
He guardado tu correo y esta respuesta en mi lista de "TO DO" (por hacer).
Saludos,
Antonio
*/
// TODO: Eliminar todas las preguntas de test de un golpe
// TODO: URGENTE: Cuando se cree un descriptor nuevo TIENE QUE ESTAR INHABILITADO porque si no los alumnos pueden ver el examen (Miguel Damas)
@ -395,10 +431,32 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.51 (2019-02-19)"
#define CSS_FILE "swad18.41.1.css"
#define Log_PLATFORM_VERSION "SWAD 18.52 (2019-02-20)"
#define CSS_FILE "swad18.52.css"
#define JS_FILE "swad18.51.js"
/*
Version 18.52: Feb 20, 2019 Two new color themes: purple and pink. (237424 lines)
Copy the following icons to icon public directory:
sudo mkdir /var/www/html/swad/icon/theme/purple
sudo mkdir /var/www/html/swad/icon/theme/pink
sudo cp icon/theme/purple/sitemap.svg /var/www/html/swad/icon/theme/purple
sudo cp icon/theme/blue/sitemap.svg /var/www/html/swad/icon/theme/blue
sudo cp icon/theme/yellow/sitemap.svg /var/www/html/swad/icon/theme/yellow
sudo cp icon/theme/pink/sitemap.svg /var/www/html/swad/icon/theme/pink
sudo cp icon/theme/purple/bell.svg /var/www/html/swad/icon/theme/purple
sudo cp icon/theme/pink/bell.svg /var/www/html/swad/icon/theme/pink
sudo cp icon/theme/purple/theme_32x20.gif /var/www/html/swad/icon/theme/purple
sudo cp icon/theme/yellow/theme_32x20.gif /var/www/html/swad/icon/theme/yellow
sudo cp icon/theme/pink/theme_32x20.gif /var/www/html/swad/icon/theme/pink
sudo cp icon/sign-out-alt-red.svg /var/www/html/swad/icon/
sudo cp icon/sign-out-alt-white.svg /var/www/html/swad/icon/
sudo cp icon/sign-in-alt-green.svg /var/www/html/swad/icon/
sudo cp icon/sign-in-alt-white.svg /var/www/html/swad/icon/
Version 18.51: Feb 19, 2019 The number of publications by default in the timeline becomes 50 (before it was 20).
Changes in javascript related to timeline. (237281 lines)
Version 18.50.4: Feb 18, 2019 Fixed bug in actions. (237276 lines)

View File

@ -829,15 +829,19 @@ static void Lay_WritePageTopHeading (void)
{
"HEAD_ROW_1_WHITE", // The_THEME_WHITE
"HEAD_ROW_1_GREY", // The_THEME_GREY
"HEAD_ROW_1_PURPLE", // The_THEME_PURPLE
"HEAD_ROW_1_BLUE", // The_THEME_BLUE
"HEAD_ROW_1_YELLOW", // The_THEME_YELLOW
"HEAD_ROW_1_PINK", // The_THEME_PINK
};
const char *ClassHeadRow2[The_NUM_THEMES] =
{
"HEAD_ROW_2_WHITE", // The_THEME_WHITE
"HEAD_ROW_2_GREY", // The_THEME_GREY
"HEAD_ROW_2_PURPLE", // The_THEME_PURPLE
"HEAD_ROW_2_BLUE", // The_THEME_BLUE
"HEAD_ROW_2_YELLOW", // The_THEME_YELLOW
"HEAD_ROW_2_PINK", // The_THEME_PINK
};
/***** Start header *****/

View File

@ -330,8 +330,7 @@ Act_Action_t Mnu_GetFirstActionAvailableInCurrentTab (void)
void Mnu_WriteMenuThisTab (void)
{
extern const char *The_ClassTxtMenuOn[The_NUM_THEMES];
extern const char *The_ClassTxtMenuOff[The_NUM_THEMES];
extern const char *The_ClassTxtMenu[The_NUM_THEMES];
extern const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB];
unsigned NumOptInMenu;
Act_Action_t NumAct;
@ -366,9 +365,7 @@ void Mnu_WriteMenuThisTab (void)
/***** Start form and link *****/
Frm_StartForm (NumAct);
Frm_LinkFormSubmit (Title,
IsTheSelectedAction ? The_ClassTxtMenuOn[Gbl.Prefs.Theme] :
The_ClassTxtMenuOff[Gbl.Prefs.Theme],NULL);
Frm_LinkFormSubmit (Title,The_ClassTxtMenu[Gbl.Prefs.Theme],NULL);
/***** Icon *****/
fprintf (Gbl.F.Out,"<div class=\"MENU_ICO\""
@ -380,8 +377,7 @@ void Mnu_WriteMenuThisTab (void)
fprintf (Gbl.F.Out,"<div class=\"MENU_TEXT %s\">"
"%s"
"</div>",
IsTheSelectedAction ? The_ClassTxtMenuOn[Gbl.Prefs.Theme] :
The_ClassTxtMenuOff[Gbl.Prefs.Theme],
The_ClassTxtMenu[Gbl.Prefs.Theme],
Txt_MENU_TITLE[Gbl.Action.Tab][NumOptInMenu]);
/***** End link and form *****/

View File

@ -91,8 +91,10 @@ void Tab_DrawTabs (void)
{
"HEAD_ROW_3_WHITE", // The_THEME_WHITE
"HEAD_ROW_3_GREY", // The_THEME_GREY
"HEAD_ROW_3_PURPLE", // The_THEME_PURPLE
"HEAD_ROW_3_BLUE", // The_THEME_BLUE
"HEAD_ROW_3_YELLOW", // The_THEME_YELLOW
"HEAD_ROW_3_PINK", // The_THEME_PINK
};
/***** Start tabs container *****/

View File

@ -54,159 +54,189 @@ const char *The_ThemeId[The_NUM_THEMES] =
{
"white",
"grey",
"purple",
"blue",
"yellow",
"pink",
};
const char *The_ThemeNames[The_NUM_THEMES] =
{
"White",
"Grey",
"Purple",
"Blue",
"Yellow",
"Pink",
};
const char *The_TabOnBgColors[The_NUM_THEMES] =
{
"TAB_ON_WHITE",
"TAB_ON_GREY",
"TAB_ON_PURPLE",
"TAB_ON_BLUE",
"TAB_ON_YELLOW",
"TAB_ON_PINK",
};
const char *The_TabOffBgColors[The_NUM_THEMES] =
{
"TAB_OFF_WHITE",
"TAB_OFF_GREY",
"TAB_OFF_PURPLE",
"TAB_OFF_BLUE",
"TAB_OFF_YELLOW",
"TAB_OFF_PINK",
};
const char *The_ClassTagline[The_NUM_THEMES] =
{
"WHITE_TAGLINE",
"GREY_TAGLINE",
"BLUE_TAGLINE",
"YELLOW_TAGLINE",
"TAGLINE_WHITE",
"TAGLINE_GREY",
"TAGLINE_PURPLE",
"TAGLINE_BLUE",
"TAGLINE_YELLOW",
"TAGLINE_PINK",
};
const char *The_ClassNotif[The_NUM_THEMES] =
{
"WHITE_NOTIF",
"GREY_NOTIF",
"BLUE_NOTIF",
"YELLOW_NOTIF",
"NOTIF_WHITE",
"NOTIF_GREY",
"NOTIF_PURPLE",
"NOTIF_BLUE",
"NOTIF_YELLOW",
"NOTIF_PINK",
};
const char *The_ClassUsr[The_NUM_THEMES] =
{
"WHITE_USR",
"GREY_USR",
"BLUE_USR",
"YELLOW_USR",
"USR_WHITE",
"USR_GREY",
"USR_PURPLE",
"USR_BLUE",
"USR_YELLOW",
"USR_PINK",
};
const char *The_ClassBreadcrumb[The_NUM_THEMES] =
{
"BC_WHITE",
"BC_GREY",
"BC_PURPLE",
"BC_BLUE",
"BC_YELLOW",
"BC_PINK",
};
const char *The_ClassCourse[The_NUM_THEMES] =
{
"WHITE_COURSE",
"GREY_COURSE",
"BLUE_COURSE",
"YELLOW_COURSE",
"MAIN_TITLE_WHITE",
"MAIN_TITLE_GREY",
"MAIN_TITLE_PURPLE",
"MAIN_TITLE_BLUE",
"MAIN_TITLE_YELLOW",
"MAIN_TITLE_PINK",
};
const char *The_ClassTxtMenuOff[The_NUM_THEMES] =
const char *The_ClassTxtMenu[The_NUM_THEMES] =
{
"WHITE_MENU_OFF",
"GREY_MENU_OFF",
"BLUE_MENU_OFF",
"YELLOW_MENU_OFF",
};
const char *The_ClassTxtMenuOn[The_NUM_THEMES] =
{
"WHITE_MENU_ON",
"GREY_MENU_ON",
"BLUE_MENU_ON",
"YELLOW_MENU_ON",
"MENU_TXT_WHITE",
"MENU_TXT_GREY",
"MENU_TXT_PURPLE",
"MENU_TXT_BLUE",
"MENU_TXT_YELLOW",
"MENU_TXT_PINK",
};
const char *The_ClassTxtTabOff[The_NUM_THEMES] =
{
"WHITE_TAB_OFF",
"GREY_TAB_OFF",
"BLUE_TAB_OFF",
"YELLOW_TAB_OFF",
"TAB_OFF_TXT_WHITE",
"TAB_OFF_TXT_GREY",
"TAB_OFF_TXT_PURPLE",
"TAB_OFF_TXT_BLUE",
"TAB_OFF_TXT_YELLOW",
"TAB_OFF_TXT_PINK",
};
const char *The_ClassTxtTabOn[The_NUM_THEMES] =
{
"WHITE_TAB_ON",
"GREY_TAB_ON",
"BLUE_TAB_ON",
"YELLOW_TAB_ON",
"TAB_ON_TXT_WHITE",
"TAB_ON_TXT_GREY",
"TAB_ON_TXT_PURPLE",
"TAB_ON_TXT_BLUE",
"TAB_ON_TXT_YELLOW",
"TAB_ON_TXT_PINK",
};
const char *The_ClassTitleAction[The_NUM_THEMES] =
{
"WHITE_TITLE_ACTION",
"GREY_TITLE_ACTION",
"BLUE_TITLE_ACTION",
"YELLOW_TITLE_ACTION",
"TITLE_ACTION_WHITE",
"TITLE_ACTION_GREY",
"TITLE_ACTION_PURPLE",
"TITLE_ACTION_BLUE",
"TITLE_ACTION_YELLOW",
"TITLE_ACTION_PINK",
};
const char *The_ClassSubtitleAction[The_NUM_THEMES] =
{
"WHITE_SUBTITLE_ACTION",
"GREY_SUBTITLE_ACTION",
"BLUE_SUBTITLE_ACTION",
"YELLOW_SUBTITLE_ACTION",
"SUBTITLE_ACTION_WHITE",
"SUBTITLE_ACTION_GREY",
"SUBTITLE_ACTION_PURPLE",
"SUBTITLE_ACTION_BLUE",
"SUBTITLE_ACTION_YELLOW",
"SUBTITLE_ACTION_PINK",
};
const char *The_ClassTitle[The_NUM_THEMES] =
{
"WHITE_TITLE",
"GREY_TITLE",
"BLUE_TITLE",
"YELLOW_TITLE",
"TITLE_WHITE",
"TITLE_GREY",
"TITLE_PURPLE",
"TITLE_BLUE",
"TITLE_YELLOW",
"TITLE_PINK",
};
const char *The_ClassForm[The_NUM_THEMES] =
{
"WHITE_FORM",
"GREY_FORM",
"BLUE_FORM",
"YELLOW_FORM",
"FORM_WHITE",
"FORM_GREY",
"FORM_PURPLE",
"FORM_BLUE",
"FORM_YELLOW",
"FORM_PINK",
};
const char *The_ClassFormDark[The_NUM_THEMES] =
{
"WHITE_FORM_DARK",
"GREY_FORM_DARK",
"BLUE_FORM_DARK",
"YELLOW_FORM_DARK",
"FORM_DARK_WHITE",
"FORM_DARK_GREY",
"FORM_DARK_PURPLE",
"FORM_DARK_BLUE",
"FORM_DARK_YELLOW",
"FORM_DARK_PINK",
};
const char *The_ClassFormNoWrap[The_NUM_THEMES] =
{
"WHITE_FORM_NOWRAP",
"GREY_FORM_NOWRAP",
"BLUE_FORM_NOWRAP",
"YELLOW_FORM_NOWRAP",
"FORM_NOWRAP_WHITE",
"FORM_NOWRAP_GREY",
"FORM_NOWRAP_PURPLE",
"FORM_NOWRAP_BLUE",
"FORM_NOWRAP_YELLOW",
"FORM_NOWRAP_PINK",
};
const char *The_ClassFormBold[The_NUM_THEMES] =
{
"WHITE_FORM_BOLD",
"GREY_FORM_BOLD",
"BLUE_FORM_BOLD",
"YELLOW_FORM_BOLD",
"FORM_BOLD_WHITE",
"FORM_BOLD_GREY",
"FORM_BOLD_PURPLE",
"FORM_BOLD_BLUE",
"FORM_BOLD_YELLOW",
"FORM_BOLD_PINK",
};
/*****************************************************************************/
@ -286,7 +316,8 @@ void The_ChangeTheme (void)
DB_QueryUPDATE ("can not update your preference about theme",
"UPDATE usr_data SET Theme='%s'"
" WHERE UsrCod=%ld",
The_ThemeId[Gbl.Prefs.Theme],Gbl.Usrs.Me.UsrDat.UsrCod);
The_ThemeId[Gbl.Prefs.Theme],
Gbl.Usrs.Me.UsrDat.UsrCod);
/***** Set preferences from current IP *****/
Pre_SetPrefsFromIP ();

View File

@ -31,7 +31,7 @@
/***************************** Public constants ******************************/
/*****************************************************************************/
#define The_NUM_THEMES 4
#define The_NUM_THEMES 6
/*****************************************************************************/
/******************************* Public types ********************************/
@ -41,11 +41,13 @@ typedef enum
{
The_THEME_WHITE = 0,
The_THEME_GREY = 1,
The_THEME_BLUE = 2,
The_THEME_YELLOW = 3,
The_THEME_UNKNOWN = 4,
The_THEME_PURPLE = 2,
The_THEME_BLUE = 3,
The_THEME_YELLOW = 4,
The_THEME_PINK = 5,
The_THEME_UNKNOWN = 6,
} The_Theme_t;
#define The_THEME_DEFAULT The_THEME_WHITE
#define The_THEME_DEFAULT The_THEME_GREY
/*****************************************************************************/
/***************************** Public prototypes *****************************/

View File

@ -2640,7 +2640,7 @@ void Usr_PutFormLogIn (void)
/***** Link to log in form *****/
Frm_StartForm (ActFrmLogIn);
Ico_PutIconLink ("sign-in-alt-green.svg",Txt_Log_in);
Ico_PutIconLink ("sign-in-alt-white.svg",Txt_Log_in);
Frm_EndForm ();
}
@ -2699,7 +2699,7 @@ void Usr_PutFormLogOut (void)
/***** Link to log out form *****/
Frm_StartForm (ActLogOut);
Ico_PutIconLink ("sign-out-alt-red.svg",Txt_Log_out);
Ico_PutIconLink ("sign-out-alt-white.svg",Txt_Log_out);
Frm_EndForm ();
}