Commit 6b839f32 authored by Adrian Greeve's avatar Adrian Greeve
Browse files

MDL-60515 groups: Group details template change.

The group details template has been changed to be
simpler and is styled a bit nicer.
parent c550fd0e
......@@ -40,26 +40,14 @@
}
}}
{{#name}}
<div class="groupinfobox container-fluid p-y-1">
<div class="row-fluid">
{{#pictureurl}}
<div class="group-image col-sm-1 span1">{{{pictureurl}}}</div>
{{/pictureurl}}
<div {{#pictureurl}}class="col-sm-11 span11"{{/pictureurl}}{{^pictureurl}}class="col"{{/pictureurl}}>
<div class="container-fluid">
<div class="row-fluid">
<div class="col">
<h3 class="d-inline-block">{{name}}</h3>
{{#editurl}}
<span class="group-edit"><a href="{{editurl}}">{{#pix}}t/edit, core, {{#str}}editgroupprofile{{/str}}{{/pix}}</a></span>
{{/editurl}}
</div>
</div>
<div class="row-fluid">
<div class="group-description col">{{{description}}}</div>
</div>
</div>
</div>
</div>
<div class="groupinfobox container-fluid p-x-1 p-y-1">
{{#pictureurl}}
<div class="group-image"><img class="grouppicture" src="{{{pictureurl}}}" alt="{{{name}}}" title="{{{name}}}"/></div>
{{/pictureurl}}
{{#editurl}}
<div class="group-edit"><a href="{{editurl}}">{{#pix}}t/edit, core, {{#str}}editgroupprofile{{/str}}{{/pix}}</a></div>
{{/editurl}}
<h3 class="">{{{name}}}</h3>
<div class="group-description">{{{description}}}</div>
</div>
{{/name}}
......@@ -200,8 +200,20 @@
font-weight: bold;
}
.group-edit {
position: absolute;
right: 0;
margin-right: 0.6em;
}
.group-image {
min-width: 93px;
display: block;
float: left;
margin-right: 1em;
.grouppicture {
border-radius: 50%;
}
}
.groupinfobox {
......
......@@ -195,8 +195,14 @@
font-weight: bold;
}
.groupinfobox {
.well
.well;
position: relative;
h3 {
margin-top: 0px;
}
}
.groupinfobox .left {
padding: 10px;
width: 100px;
......@@ -204,7 +210,15 @@
}
.group-image {
min-width: 60px;
display: block;
float: left;
margin-right: 1em;
}
.group-edit {
position: absolute;
right: 0;
margin-right: 0.6em;
}
.course-participation #showall {
......
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