Commit 9c6c2bc2 authored by Pat Kira's avatar Pat Kira Committed by Robert Lyon
Browse files

BUG 1465107- Tidy minor styling issues

behatnotneeded: styling fixes

Change-Id: I45021de15c8081a1270efcb942eb0e9a92006274
parent 2c3f7493
......@@ -70,6 +70,7 @@ $elements = array(
),
'leap2afile' => array(
'type' => 'file',
'class' => 'leap2aupload',
'title' => '',
),
'username' => array(
......
......@@ -595,6 +595,7 @@ if (empty($suspended)) {
),
'reason' => array(
'type' => 'textarea',
'class' => 'in-modal',
'rows' => 5,
'cols' => 28,
'title' => get_string('reason'),
......
......@@ -208,7 +208,7 @@ function deletenote_form($id, $notedata) {
$form = array(
'name' => 'delete_' . $id,
'successcallback' => 'deletenote_submit',
'class' => 'form-as-button btn-group',
'class' => 'form-as-button',
'elements' => array(
'delete' => array(
'type' => 'hidden',
......
......@@ -64,7 +64,6 @@ if ($file = param_integer('file', 0)) {
$form = pieform(array(
'name' => 'editgoalsandskills',
'method' => 'post',
'class' => 'form-group',
'jsform' => true,
'newiframeonsubmit' => true,
'jssuccesscallback' => 'editgoalsandskills_callback',
......
......@@ -175,7 +175,7 @@ class PluginBlocktypeExternalvideo extends SystemBlocktype {
'type' => 'textarea',
'title' => get_string('urlorembedcode', 'blocktype.externalvideo'),
'description' => get_string('videourldescription3', 'blocktype.externalvideo') .
'<br>' . get_string('validiframesites', 'blocktype.externalvideo') . self::get_valid_iframe_html() .
'<br />' . get_string('validiframesites', 'blocktype.externalvideo') . self::get_valid_iframe_html() .'<br />'.
get_string('validurlsites', 'blocktype.externalvideo') . self::get_valid_url_html(),
'cols' => '60',
'rows' => '3',
......
......@@ -55,7 +55,7 @@ $filterfield = array(
$elements['searchwithin'] = array(
'type' => 'fieldset',
'class' => 'dropdown-group js-dropdown-group',
'class' => 'dropdown-group js-dropdown-group pull-left',
'elements' => array(
'query' => $queryfield,
'filter' => $filterfield
......
......@@ -96,7 +96,7 @@ if ('admin' == $role) {
$searchform = pieform(array(
'name' => 'search',
'checkdirtychange' => false,
'class' => 'search-views-form form-inline with-heading',
'class' => 'form-inline with-heading',
'elements' => array(
'id' => array(
'type' => 'hidden',
......
......@@ -27,6 +27,7 @@ function objection_form() {
$form['elements']['message'] = array(
'type' => 'textarea',
'class' => 'in-modal',
'title' => get_string('complaint'),
'rows' => 5,
'cols' => 80,
......
......@@ -77,7 +77,7 @@ function PieformTextarea(element, fullwidth) {//{{{
this.dimensions = this.actual(element);
// Prepare wrapper
this.wrapper = DIV({'class':'resizable-textarea align-with-input'});
this.wrapper = DIV({'class':'resizable-textarea'});
insertSiblingNodesBefore(this.element, this.wrapper);
// Add grippie and measure it
......
......@@ -3706,7 +3706,7 @@ class View {
$searchform = array(
'name' => 'searchviews',
'checkdirtychange' => false,
'class' => 'search-views-form with-heading form-inline',
'class' => 'with-heading form-inline',
'elements' => array(
'searchwithin' => array (
'type' => 'fieldset',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -30,11 +30,11 @@
}
@media (max-width: $screen-sm-min) {
top: 0;
+ .main-nav {
margin-top: 0;
}
~ .container {
.toolbar-affix.affix {
margin-top: 0;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -113,7 +113,7 @@ echo $form_tag;
?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-default" data-dismiss="modal-docked">Close</button>
</div>
</div>
</div>
......
......@@ -116,8 +116,8 @@ if ($body) {
echo '</fieldset></div>';
}
echo '<div id="includefeedback" class="form-group checkbox last">';
echo $elements['includefeedback']['html'] . ' <span class="">' . $elements['includefeedback']['labelhtml'] .'</span>';
echo '<div id="includefeedback" class="form-group switchbox last">';
echo $elements['includefeedback']['labelhtml'] . $elements['includefeedback']['html'];
echo '<div class="description">' . $elements['includefeedback']['description'] . '</div>';
echo '</div>';
echo '<div id="export_submit_container">';
......
......@@ -8,7 +8,7 @@
<div class="tags pbl">
<strong>{str tag=tags}:</strong> {list_tags owner=$owner tags=$tags}
</div>
{/if}
{/if}
</div>
<div id="postlist{if $blockid}_{$blockid}{/if}" class="postlist fullwidth list-group">
......
......@@ -44,17 +44,17 @@
</h5>
<!-- The "comment-item-buttons" class is used as an identifier by Javascript -->
<div class="btn-group btn-group-top comment-item-buttons">
{if $item->deleteform}
{$item->deleteform|safe}
{/if}
{if !$onview}
{if $item->canedit}
<a href="{$WWWROOT}artefact/comment/edit.php?id={$item->id}&amp;view={$viewid}" class="btn btn-default pull-left">
<a href="{$WWWROOT}artefact/comment/edit.php?id={$item->id}&amp;view={$viewid}" class="btn btn-default">
<span class="icon icon-pencil icon-lg"></span>
<span class="sr-only">{str tag=edit}</span>
</a>
{/if}
{/if}
{if $item->deleteform}
{$item->deleteform|safe}
{/if}
{if $item->canreply}
<button class="btn btn-default pull-left commentreplyto"
id="commentreplyto{$item->id}"
......
<p id="{$prefix}_empty_selectlist"{if $selectedlist} class="hidden"{/if}>{if !$selectfolders}{str tag=nofilesfound section=artefact.file}{/if}</p>
<p id="{$prefix}_empty_selectlist" class="{if $selectedlist}hidden{/if} lead">
{if !$selectfolders}
{str tag=nofilesfound section=artefact.file}
{/if}
</p>
<table id="{$prefix}_selectlist" class="fullwidth{if !$selectedlist} hidden{/if} table table-selectedlist">
<tbody>
{foreach from=$selectedlist item=file}
......
......@@ -100,19 +100,19 @@
</td>
<td class="note-attachment">
<label class="hidden">
{str tag=Attachments section=artefact.resume}:
</label>
{str tag=Attachments section=artefact.resume}:
</label>
{$n->count}
</td>
<td class="control-buttons">
{if $n->locked}
<span class="s dull text-muted">
<span class="dull text-muted">
{str tag=Submitted section=view}
</span>
{else}
<div class="btn-group">
<a href="{$WWWROOT}artefact/internal/editnote.php?id={$n->id}" title="{str tag=edit}" class="btn btn-default btn-xs">
<span class="icon icon-pencil"></span>
<span class="icon icon-lg icon-pencil"></span>
<span class="sr-only">
{str(tag=editspecific arg1=$n->title)|escape:html|safe}
</span>
......
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