Browse Source

fix course list user portal BT#7683

aragonc 9 years ago
parent
commit
f16b55b8ee
2 changed files with 5 additions and 75 deletions
  1. 4 74
      app/Resources/public/css/base.css
  2. 1 1
      main/inc/lib/course.lib.php

+ 4 - 74
app/Resources/public/css/base.css

@@ -35,7 +35,10 @@ footer #footer_right{
 select {
   width : auto;
 }
-
+a.thumbnail:hover{
+  border:1px solid #dddddd;
+  box-shadow: 0 4px 8px #C8C8C8;
+}
 /*------------------------------*/
 .admin-block-version{
  font-size: 12px;
@@ -3458,12 +3461,10 @@ div#no-data-view div.controls {
     text-indent: -9000px;
     z-index: 1;
 }
-
 /* remove halo effect in firefox   */
 a:active{
     outline: none;
 }
-
 .skills-profiles, .skills-users, .skills-skills {
     margin-top: 10px;
     margin-bottom: 10px;
@@ -3477,30 +3478,6 @@ a:active{
     margin-bottom: 8px;
     border: 0px;
 }
-
-.offline_user {
-    display: block;
-    height: 20px;
-    width: 20px;
-    position:absolute;
-    background: url("../../main/img/offline.png") no-repeat scroll right center transparent;
-}
-
-.online_user {
-    display: block;
-    height: 20px;
-    width: 20px;
-    position:absolute;
-    background: url("../../main/img/online.png") no-repeat scroll right center transparent;
-}
-
-.online_user_in_text {
-    background: url("../../main/img/online.png") no-repeat scroll right center transparent;
-    height: 16px;
-    width: 17px;
-    display: inline-block;
-    margin-right: 4px;
-}
 .send_msg_in_text {
     background: url("../../main/img/mail_send.png") no-repeat scroll right center transparent;
     height: 16px;
@@ -3515,60 +3492,21 @@ a:active{
     display: inline-block;
     margin-right: 4px;
 }
-.teacher_online {
-    background: url("../../main/img/icons/16/teacher.png") no-repeat scroll right center transparent;
-    height: 16px;
-    width: 17px;
-    display: inline-block;
-    margin-right: 4px;
-}
-
-.student_online {
-    background: url("../../main/img/icons/16/user.png") no-repeat scroll right center transparent;
-    height: 16px;
-    width: 17px;
-    display: inline-block;
-    margin-right: 4px;
-}
-
-#online_grid_container .thumbnail .caption {
-    text-align:center;
-}
-
-.offline_user_in_text {
-    background: url("../../main/img/offline.png") no-repeat scroll right center transparent;
-    height: 16px;
-    width: 17px;
-    display: inline-block;
-    margin-right: 4px;
-}
-
-.subnav .nav .hide_menu {
-    display:none;
-}
-
-.homepage_notice {
-
-}
-
 .welcome_course li {
     float:left;
     list-style-type: none;
     width: 175px
 }
-
 .welcome_course li p {
     margin-left: auto;
     margin-right: auto;
     width: 88px;
 }
-
 .welcome_course li a {
     margin-left: auto;
     margin-right: auto;
     width: 120px;
 }
-
 /* Nanogong - exercise player*/
 
 .nanogong_player_container {
@@ -4562,14 +4500,6 @@ i.size-32.icon-new-work{
     z-index: 1010;
 }
 
-/* Balances ".thumbnail > img" from bootstrap */
-.thumbnail > a > img {
-    display: block;
-    margin-left: auto;
-    margin-right: auto;
-    max-width: 100%;
-}
-
 /* display the cookie usage warning validation */
 .cookieUsageValidation {
     padding: 5px;

+ 1 - 1
main/inc/lib/course.lib.php

@@ -4464,7 +4464,7 @@ class CourseManager
             $courses = Database::store_result($result, 'ASSOC');
             $courses = self::process_hot_course_item($courses, $my_course_code_list);
         }
-        var_dump($courses);
+        
         return $courses;
     }