Skip to content

Commit

Permalink
Merge branch 'm29_MDL-48317' of https://github.com/totara/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Dec 4, 2014
2 parents 63015d8 + 270a8f1 commit 5094463
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 10 deletions.
15 changes: 6 additions & 9 deletions group/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,9 @@
echo '<div>'."\n";
echo '<input type="hidden" name="id" value="' . $courseid . '" />'."\n";

echo '<table cellpadding="6" class="generaltable generalbox groupmanagementtable boxaligncenter" summary="">'."\n";
echo '<tr>'."\n";
echo html_writer::start_tag('div', array('class' => 'groupmanagementtable boxaligncenter'));
echo html_writer::start_tag('div', array('class' => 'groups'));


echo "<td>\n";
echo '<p><label for="groups"><span id="groupslabel">'.get_string('groups').':</span><span id="thegrouping">&nbsp;</span></label></p>'."\n";

$onchange = 'M.core_group.membersCombo.refreshMembers();';
Expand Down Expand Up @@ -220,8 +218,8 @@
echo '<p><input type="submit" name="act_showimportgroups" id="showimportgroups" value="'
. get_string('importgroups', 'core_group') . '" /></p>'."\n";

echo '</td>'."\n";
echo '<td>'."\n";
echo html_writer::end_tag('div');
echo html_writer::start_tag('div', array('class' => 'members'));

echo '<p><label for="members"><span id="memberslabel">'.
get_string('membersofselectedgroup', 'group').
Expand Down Expand Up @@ -255,9 +253,8 @@

echo '<p><input type="submit" ' . $showaddmembersform_disabled . ' name="act_showaddmembersform" '
. 'id="showaddmembersform" value="' . get_string('adduserstogroup', 'group'). '" /></p>'."\n";
echo '</td>'."\n";
echo '</tr>'."\n";
echo '</table>'."\n";
echo html_writer::end_tag('div');
echo html_writer::end_tag('div');

//<input type="hidden" name="rand" value="om" />
echo '</div>'."\n";
Expand Down
13 changes: 13 additions & 0 deletions theme/base/style/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,16 @@
.dir-rtl .userprofile dl dt {float:right; width:110px; margin-left:10px;}
.dir-rtl .userprofile dl dd {margin-right: 120px;}
#page-my-index.dir-rtl .block h3 { text-align: right;}

#groupeditform .groups,
#groupeditform .members {
width: 49%;
float: left;
text-align: left;
}

.dir-rtl #groupeditform .groups,
.dir-rtl #groupeditform .members {
float: right;
text-align: right;
}
15 changes: 15 additions & 0 deletions theme/bootstrapbase/less/moodle/user.less
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,18 @@
margin: 0 0.5em 0 0;
}
}
#groupeditform {
.groups,
.members {
width: 49%;
float: left;
text-align: left;
}
}
.dir-rtl #groupeditform {
.groups,
.members {
float: right;
text-align: right;
}
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 5094463

Please sign in to comment.