add icons unknown user changing images BT#7683

1.10.x
aragonc 9 years ago
parent f8cbe951cc
commit d39c9368a9
  1. 115
      app/Resources/public/css/base.css
  2. BIN
      main/img/icons/128/unknown.png
  3. BIN
      main/img/icons/16/unknown.png
  4. BIN
      main/img/icons/22/unknown.png
  5. BIN
      main/img/icons/32/unknown.png
  6. BIN
      main/img/icons/48/unknown.png
  7. BIN
      main/img/icons/64/unknown.png
  8. 68
      main/img/icons/svg/unknown.svg
  9. 10
      main/inc/lib/usermanager.lib.php

@ -135,7 +135,7 @@ ul#navigation {
position: fixed; position: fixed;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
top: 200px; top: 280px;
right: -10px; right: -10px;
list-style: none; list-style: none;
z-index:9999; z-index:9999;
@ -2934,7 +2934,6 @@ form .formw .freeze {
margin: 0 10px 5px 0; margin: 0 10px 5px 0;
padding: 0.4em 0.6em; padding: 0.4em 0.6em;
} }
.label_tag { .label_tag {
padding: 1px 3px 2px; padding: 1px 3px 2px;
margin:2px 3px 2px 0px; margin:2px 3px 2px 0px;
@ -2949,7 +2948,6 @@ form .formw .freeze {
text-align: center; text-align: center;
width: 155px; width: 155px;
} }
.label_tag.personal_event { .label_tag.personal_event {
background:#3366CC; background:#3366CC;
} }
@ -2965,8 +2963,6 @@ form .formw .freeze {
.label_tag.session_event { .label_tag.session_event {
background:#00496D; background:#00496D;
} }
.label_tag.important { .label_tag.important {
background-color: #c43c35; background-color: #c43c35;
} }
@ -2979,62 +2975,56 @@ form .formw .freeze {
.label_tag.notice { .label_tag.notice {
background-color: #62cffc; background-color: #62cffc;
} }
.label_tag.skill { .label_tag.skill {
background-color: #46a546; background-color: #46a546;
} }
.label_tag.course { .label_tag.course {
background-color: #62cffc; background-color: #62cffc;
} }
.invisible { .invisible {
color: #999; color: #999;
} }
.invisible h2 { .invisible h2 {
color: #999; color: #999;
} }
.requirements td { .requirements td {
padding:5px; padding:5px;
} }
/* header cell in data table in tools */ /* header cell in data table in tools */
.data_table { .data_table {
margin-bottom: 18px; margin-bottom: 18px;
width: 100%; width: 100%;
border: 1px solid #DDDDDD; border: 1px solid #DDDDDD;
} }
.data_table td{
font-size: 12px;
}
.data_table th, .data_table td { .data_table th, .data_table td {
border-top: 1px solid #DDDDDD; border-top: 1px solid #DDDDDD;
line-height: 18px; line-height: 18px;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
text-align: center;
} }
.data_table th { .data_table th {
padding: 8px 10px; padding: 8px 10px;
font-weight: normal; font-weight: normal;
background-color: #F2F2F2; background-color: #EEEEEE;
border-bottom: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD;
color:#333;
} }
.data_table td { .data_table th a{
color: #333;
} }
.data_table_no_border { .data_table_no_border {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
font-size: 12px; font-size: 12px;
margin-bottom: 15px; margin-bottom: 15px;
margin-top: 8px; margin-top: 8px;
text-align: left; text-align: left;
width: 100%; width: 100%;
} }
.data_table_no_border td { .data_table_no_border td {
@ -6231,6 +6221,61 @@ div#chat-remote-video video {
font-size:22px; font-size:22px;
margin-top:5px; margin-top:5px;
} }
#work-list{
padding: 10px;
border:1px solid #dddddd;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin-bottom: 10px;
}
.ui-jqgrid-view .label-success{
font-size: 14px;
}
.ui-jqgrid-view .ui-widget-content a{
color:#666666;
}
.ui-jqgrid-view .ui-state-default,
.ui-jqgrid-view .ui-widget-content .ui-state-default,
.ui-jqgrid-view .ui-widget-header .ui-state-default{
background: #EEEEEE;
color: #666666;
border: none;
}
.ui-jqgrid-view table{
border-collapse: inherit;
}
.ui-jqgrid.ui-widget-content{
border: none;
}
.ui-jqgrid-view .ui-jqgrid-sortable{
font-size: 12px;
}
.ui-jqgrid-view .ui-jqgrid .ui-jqgrid-htable th div{
height: auto;
}
.ui-jqgrid-view .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr{
padding-bottom: 5px;
padding-top: 5px;
}
.ui-jqgrid tr.ui-row-ltr td{
border: none;
}
.ui-jqgrid tr.jqgrow td{
height: 45px;
font-size: 13px;
}
.ui-jqgrid .ui-jqgrid-labels .ui-state-hover{
background-color: #E7E7E7;
}
.ui-jqgrid .ui-pg-selbox{
font-size: 12px;
height: 25px;
}
.ui-jqgrid .ui-pg-input{
font-size: 12px;
height: 25px;
}
.ui-jqgrid .ui-pg-table td{ .ui-jqgrid .ui-pg-table td{
font-size: 12px; font-size: 12px;
} }
@ -6279,7 +6324,6 @@ div#chat-remote-video video {
height: 25px; height: 25px;
} }
#student-list-work{ #student-list-work{
padding: 10px;
background-color: #ffffff; background-color: #ffffff;
position: absolute; position: absolute;
top:0px; top:0px;
@ -6292,6 +6336,9 @@ div#chat-remote-video video {
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
} }
.panel-student{
width: 550px;
}
#student-list-work .toolbar{ #student-list-work .toolbar{
text-align: center; text-align: center;
padding-top: 5px; padding-top: 5px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24"
version="1.1"
width="24"
id="svg2"
inkscape:version="0.91 r"
sodipodi:docname="unknown.svg">
<metadata
id="metadata16">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs14" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1051"
id="namedview12"
showgrid="false"
inkscape:zoom="19.666667"
inkscape:cx="9.0308807"
inkscape:cy="6.3407536"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<rect
style="opacity:1;fill:#f9f9f9;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect4144"
width="24"
height="24"
x="0.11523365"
y="0.015081692"
inkscape:export-filename="/var/www/chamilo/main/img/icons/16/unknown.png"
inkscape:export-xdpi="60"
inkscape:export-ydpi="60" />
<path
inkscape:connector-curvature="0"
d="m 14.974917,17.068064 c -0.08463,-0.893441 -0.05218,-1.516966 -0.05218,-2.333368 0.423185,-0.212276 1.181439,-1.56574 1.309555,-2.709146 0.33275,-0.02605 0.857384,-0.336426 1.011006,-1.56186 C 17.326199,9.8058023 16.996928,9.4355662 16.79635,9.3191751 17.337796,7.7623035 18.462425,2.9459204 14.716368,2.4482089 14.330864,1.8008517 13.343626,1.4732933 12.060737,1.4732933 6.9280266,1.5636348 6.3089012,5.1789706 7.4341093,9.3191751 7.234111,9.4355662 6.9048384,9.8058023 6.9871565,10.46369 c 0.1542016,1.225434 0.6782553,1.535811 1.0110062,1.56186 0.1275351,1.142852 0.9159345,2.49687 1.3402785,2.709146 0,0.816402 0.03189,1.439927 -0.05275,2.333368 -1.0156435,2.610491 -7.8683409,1.87778 -8.18486,6.912535 l 22.0288048,0 c -0.31594,-5.034755 -7.139073,-4.302044 -8.154716,-6.912535 z"
id="path4156"
style="fill:#34495e;fill-opacity:1"
inkscape:export-filename="/var/www/chamilo/main/img/icons/16/unknown.png"
inkscape:export-xdpi="60"
inkscape:export-ydpi="60" />
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -1455,28 +1455,28 @@ class UserManager
$pictureWebFile = $imageWebPath['file']; $pictureWebFile = $imageWebPath['file'];
$pictureWebDir = $imageWebPath['dir']; $pictureWebDir = $imageWebPath['dir'];
$pictureAnonymous = 'unknown.jpg'; $pictureAnonymous = 'icons/128/unknown.png';
$gravatarSize = 22; $gravatarSize = 22;
$realSizeName = 'small_'; $realSizeName = 'small_';
switch ($size) { switch ($size) {
case USER_IMAGE_SIZE_SMALL: case USER_IMAGE_SIZE_SMALL:
$pictureAnonymous = 'unknown_22.jpg'; $pictureAnonymous = 'icons/22/unknown.png';
$realSizeName = 'small_'; $realSizeName = 'small_';
$gravatarSize = 22; $gravatarSize = 22;
break; break;
case USER_IMAGE_SIZE_MEDIUM: case USER_IMAGE_SIZE_MEDIUM:
$pictureAnonymous = 'unknown_50_50.jpg'; $pictureAnonymous = 'icons/64/unknown.png';
$realSizeName = 'medium_'; $realSizeName = 'medium_';
$gravatarSize = 50; $gravatarSize = 50;
break; break;
case USER_IMAGE_SIZE_ORIGINAL: case USER_IMAGE_SIZE_ORIGINAL:
$pictureAnonymous = 'unknown.jpg'; $pictureAnonymous = 'icons/128/unknown.png';
$realSizeName = ''; $realSizeName = '';
$gravatarSize = 108; $gravatarSize = 108;
break; break;
case USER_IMAGE_SIZE_BIG: case USER_IMAGE_SIZE_BIG:
$pictureAnonymous = 'unknown.jpg'; $pictureAnonymous = 'icons/128/unknown.png';
$realSizeName = 'big_'; $realSizeName = 'big_';
$gravatarSize = 200; $gravatarSize = 200;
break; break;

Loading…
Cancel
Save