Commit 23c87fd8 authored by Pat Kira's avatar Pat Kira Committed by Aaron Wells
Browse files

Blocktype comment view (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: I5d46d34bea4661ca7a6a680ea29a4b37f3e0e685
parent 73e9e799
......@@ -85,7 +85,7 @@ class PluginBlocktypeSocialprofile extends PluginBlocktype {
'type' => 'fieldset',
'collapsible' => true,
'collapsed' => true,
'class' => 'first last',
'class' => 'first last ptl',
'legend' => get_string('displaysettings', 'blocktype.internal/socialprofile'),
'elements' => array(
'displaytype' => array(
......
......@@ -1386,7 +1386,7 @@ function group_view_submission_form($groupid) {
),
'text2' => array(
'type' => 'html',
'class' => 'forassessment text-small',
'class' => 'forassessment inline text-small',
'value' => get_string('forassessment', 'view'),
),
'inputgroup' => array(
......
......@@ -6289,7 +6289,7 @@ function view_group_submission_form($view, $tutorgroupdata, $returnto=null) {
'name' => 'view_group_submission_form_' . $viewid,
'method' => 'post',
'renderer' => 'div',
'class' => 'form-inline ptl pbl',
'class' => 'form-inline',
'autofocus' => false,
'successcallback' => 'view_group_submission_form_submit',
'elements' => array(
......
......@@ -3775,7 +3775,7 @@ function build_pagination($params) {
}
// Begin building the output
$output = '<div id="' . $params['id'] . '" class="pagination-wrapper ptl';
$output = '<div id="' . $params['id'] . '" class="pagination-wrapper';
if (isset($params['class'])) {
$output .= ' ' . hsc($params['class']);
}
......
{$html|safe}
{if $commentcount || $commentcount === '0'}
{$comments|safe}
\ No newline at end of file
{/if}
\ No newline at end of file
......@@ -21,7 +21,8 @@
</span>
{if $post->locked}
<span>
<span class="text-muted plm">
<span class="fa fa-lock prs"></span>
{str tag=submittedforassessment section=view}
</span>
{else}
......
{if $html}{$html|safe}{/if}{if $commentcount || $commentcount === '0'}{$comments|safe}{/if}
{if $html}
{$html|safe}
{/if}
{$comments|safe}
......@@ -29,6 +29,5 @@
{str tag=noimagesfound section=artefact.file}
{/if}
</div>
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}
......@@ -18,6 +18,4 @@
</div>
{/if}
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}
......@@ -19,6 +19,4 @@
</div>
{/if}
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}
<div class="panel-body">
{$html|safe}
</div>
{if $commentcount || $commentcount === '0'}
{$comments|safe}
{/if}
......@@ -11,6 +11,5 @@
</div>
{/if}
</div>
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}
{$comments|safe}
{$html|safe}
{if $commentcount || $commentcount === '0'}
{$comments|safe}
{/if}
<div class="panel-body">
{$html|safe}
</div>
{if $commentcount || $commentcount === '0'}
{$comments|safe}
{/if}
......@@ -62,7 +62,9 @@
</a>
{/if}
{else}
<span class="text-thin">
{str tag=emptyfolder section=artefact.file}
</span>
{/if}
</div>
</div>
......
......@@ -42,8 +42,4 @@
</div>
{/if}
<div class="mtm">
{if $commentcount || $commentcount === 0}
{$comments|safe}
{/if}
</div>
{$comments|safe}
......@@ -2,6 +2,7 @@
<p class="lead">{str tag=notesdescription1 section=artefact.internal}</p>
<div class="table-responsive">
<table id="notes" class="table">
<thead>
<tr>
<th>{str tag=Note section=artefact.internal}</th>
<th>{str tag=currenttitle section=artefact.internal}</th>
......@@ -18,6 +19,7 @@
</span>
</th>
</tr>
</thead>
<tbody>
{foreach from=$data item=n}
<tr class="{cycle values='r1,r0'}">
......
......@@ -66,19 +66,20 @@
</td>
<td class="control-buttons">
{if $moderator}
<div class="btn-group">
<a href="{$WWWROOT}interaction/forum/edittopic.php?id={$topic->id}&amp;returnto=view" class="btn btn-default btn-xs" title="{str tag="edit"}">
<span class="fa fa-pencil"></span>
<span class="sr-only">
{str tag=edittopicspecific section=interaction.forum arg1=$topic->subject}
</span>
</a>
<a href="{$WWWROOT}interaction/forum/deletetopic.php?id={$topic->id}&amp;returnto=view" class="btn btn-danger btn-xs" title="{str tag="delete"}">
<span class="fa fa-trash"></span>
<a href="{$WWWROOT}interaction/forum/deletetopic.php?id={$topic->id}&amp;returnto=view" class="btn btn-default btn-xs" title="{str tag="delete"}">
<span class="fa fa-trash text-danger"></span>
<span class="sr-only">
{str tag=deletetopicspecific section=interaction.forum arg1=$topic->subject}
</span>
</a>
</div>
</td>
{/if}
</tr>
......
......@@ -28,3 +28,7 @@
}
}
}
.blocktype-radio {
display: none;
}
......@@ -39,7 +39,7 @@
.btn-group .form-as-button ~ .form-as-button {
.btn {
border-left: 0;
// border-left: 0;
@include border-left-radius(0);
}
}
......
Markdown is supported
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