Commit a7184670 authored by jun's avatar jun
Browse files

MDL-56979 group: Template and styles fixes

* Remove custom styles for groups since we're using default Bootstrap
  styles now.
* Hidden input breaks grid layout. Moved it inside the groups column.
* Removed unnecessary 'groups' and 'members' classes. They are not being
  used in JS nor CSS.
parent 91fe2313
......@@ -78,8 +78,8 @@
<form id="groupeditform" action="index.php" method="post">
<div class="container-fluid groupmanagementtable">
<div class="row row-fluid rtl-compatible">
<input type="hidden" name="id" value="{{courseid}}">
<div class="col-md-6 span6 m-b-1 groups">
<div class="col-md-6 span6 m-b-1">
<input type="hidden" name="id" value="{{courseid}}">
<div class="form-group">
<label for="groups">
<span id="groupslabel">{{#str}}groups{{/str}}</span>
......@@ -110,7 +110,7 @@
<input type="submit" name="act_showimportgroups" id="showimportgroups" value="{{#str}}importgroups, group{{/str}}" class="btn btn-default" />
</div>
</div>
<div class="col-md-6 span6 m-b-1 members">
<div class="col-md-6 span6 m-b-1">
<div class="form-group">
<label for="members">
<span id="memberslabel">{{#str}}membersofselectedgroup, group{{/str}}</span>
......
......@@ -346,9 +346,6 @@ a.skip:active {
margin-left: 43px;
}
// Group
#page-group-index #groupeditform {
text-align: center;
}
#doc-contents h1 {
margin: 1em 0 0 0;
......
......@@ -277,21 +277,6 @@
}
}
#groupeditform {
.groups,
.members {
min-width: 175px;
width: 49%;
float: left;
text-align: left;
select {
min-width: 175px;
max-width: 90%;
}
}
}
// Remove the little cog from participants page because we are putting a cog menu there.
.userlist h3 .action-icon {
display: none;
......
......@@ -429,9 +429,6 @@ a.skip:active {
margin-left: 43px;
}
// Group
#page-group-index #groupeditform {
text-align: center;
}
#doc-contents h1 {
margin: 1em 0 0 0;
}
......
......@@ -264,21 +264,6 @@
}
}
#groupeditform {
.groups,
.members {
min-width: 175px;
width: 49%;
float: left;
text-align: left;
select {
min-width: 175px;
max-width: 90%;
}
}
}
/** Preferences page */
.preferences-group {
ul {
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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