Commit 78946b9b authored by Petr Skoda's avatar Petr Skoda
Browse files

MDL-20204 first batch of major theme changes, some regressions are still...

MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
parent e09ef36a
......@@ -39,7 +39,7 @@ if ($assignment->assignmenttype != 'online') {
$assignmentinstance = new assignment_online($cm->id, $assignment, $cm, $course);
if ($submission = $assignmentinstance->get_submission($user->id)) {
$PAGE->set_generaltype('popup');
$PAGE->set_pagelayout('popup');
$PAGE->set_title(fullname($user,true).': '.$assignment->name);
echo $OUTPUT->header();
echo $OUTPUT->box_start('generalbox boxaligcenter', 'dates');
......
#messages-list, #users-list{list-style-type:none;padding:0;margin:0}
#chat-header {
background: transparent;
font-size: 200%;
overflow: hidden;
}
#chat-header p {
display:inline;
font-size: 50%;
color: grey;
}
.time{
font-weight: bold;
}
.user{
color:blue;
}
.chat-event{
text-align:center;
color:grey;
}
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
background: transparent;
}
.yui-layout-unit-top {
background: #FFE39D;
}
.yui-layout-unit-right {
border-top: 5px solid white;
background: #FFD46B;
}
.yui-layout-unit-bottom {
border-top: 5px solid white;
background: #FFCB44;
}
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right {
background: white;
}
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
border:0;
}
.yui-skin-sam .yui-layout .yui-layout-hd {
border:0;
}
......@@ -56,7 +56,7 @@ $str_title = format_string($course->shortname) . ": ".format_string($chat->name,
$str_send = get_string('send', 'chat');
$str_themes = get_string('themes');
$PAGE->set_generaltype('popup');
$PAGE->set_pagelayout('popup');
$PAGE->set_title('Chat');
$PAGE->requires->yui_lib('dragdrop');
$PAGE->requires->yui_lib('resize');
......@@ -93,9 +93,8 @@ $PAGE->requires->string_for_js('talk', 'chat');
$PAGE->requires->js('mod/chat/gui_ajax/script.js');
$PAGE->requires->yui_lib('animation')->in_head();
$PAGE->requires->css('mod/chat/gui_ajax/theme/'.$theme.'/chat.css');
$PAGE->add_body_class('yui-skin-sam');
$PAGE->set_generaltype('embedded');
$PAGE->set_pagelayout('embedded');
echo $OUTPUT->header();
$intro = format_text($chat->intro, $chat->introformat);
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment