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

Remove whitespace classes (bug: 1465107)

behatnotneeded: styling only

Change-Id: Ie47b903e93816c7bac53437bdbb3842020a0effe
parent 51a0dd57
<div class="artefactchooser-item list-group-item list-group-item-default">
{$formcontrols|safe}
<label class="lead text-small mbs" for="{$elementname}_{$artefact->id}">
<label class="lead text-small" for="{$elementname}_{$artefact->id}">
{$artefact->title|str_shorten_text:60:true}
</label>
{if $artefact->ownerurl}
......
......@@ -44,28 +44,26 @@
</h3>
{/if}
<div id="n{$n->id}_desc" class="hidden">
<p class="mtm">
<p>
{$n->description|clean_html|safe}
</p>
{if $n->files}
<div id="notefiles_{$n->id}">
<div id="notefiles_{$n->id}" class="has-attachment">
<p>
<span class="icon icon-lg prs icon-paperclip"></span>
<span class="icon left icon-paperclip"></span>
<strong>
{str tag=attachedfiles section=artefact.blog}
</strong>
</p>
<ul class="list-group list-unstyled mbs">
<ul class="list-group list-group-unbordered">
{foreach from=$n->files item=file}
<li class="list-group-item-text list-group-item-link">
<li class="list-group-item list-group-item-link small">
<a href="{$WWWROOT}artefact/file/download.php?file={$file->attachment}" {if $file->description} title="{$file->description}" data-toggle="tooltip"{/if}>
<div class="file-icon">
{if $file->icon}
<img src="{$file->icon}" alt="">
{else}
<span class="icon icon-{$file->artefacttype} icon-lg text-default"></span>
{/if}
</div>
{if $file->icon}
<img src="{$file->icon}" alt="" class="file-icon">
{else}
<span class="icon icon-{$file->artefacttype} icon-lg text-default left"></span>
{/if}
<span>{$file->title|truncate:40} - ({$file->size|display_size})</span>
</a>
</li>
......@@ -75,7 +73,9 @@
{/if}
</div>
{if $n->tags}
<div class="tags text-small ptm">{str tag=tags}</span>: {list_tags tags=$n->tags owner=$n->owner}</div>
<div class="tags text-small">
<strong>{str tag=tags}</strong>: {list_tags tags=$n->tags owner=$n->owner}
</div>
{/if}
</td>
<td class="note-titled"><label class="hidden">{str tag=currenttitle section=artefact.internal}: </label>
......
......@@ -9,15 +9,16 @@
</li>
{/foreach}
</ul>
<div class="pbxl"></div>
{if $message}
<div class="deletemessage">
<div class="view-container">
{if $message}
<div class="deletemessage">
<h2>{$subheading}</h2>
<p class="lead text-small">{$message}</p>
<div>{$form|safe}</div>
</div>
{else}
<h2>{$subheading}</h2>
<p class="lead text-small">{$message}</p>
<div>{$form|safe}</div>
</div>
{else}
<h2>{$subheading}</h2>
<div>{$form|safe}</div>
{/if}
{/if}
</div>
{include file="footer.tpl"}
\ No newline at end of file
<div class="text-right">
<a class="btn btn-default" href="{$WWWROOT}artefact/internal/socialprofile.php">
<span class="icon icon-lg icon-plus prs"></span>
<span class="icon icon-lg icon-plus left"></span>
{str tag=newsocialprofile section=artefact.internal}
</a>
</div>
......
<div class="panel-body">
<p class="detail">{$description}</p>
<div class="panel-body flush">
<p>{$description}</p>
{if $tags}
<p class="tags"><strong>{str tag=tags}:</strong> {list_tags owner=$owner tags=$tags}</p>
<div class="tags">
<strong>{str tag=tags}:</strong> {list_tags owner=$owner tags=$tags}
</div>
{/if}
{if $tasks.data}
<div id="tasklist_{$blockid}" class="list-group list-unstyled mbl">
<div id="tasklist_{$blockid}" class="list-group list-unstyled">
{$tasks.tablerows|safe}
</div>
{if $tasks.pagination}
......@@ -20,6 +23,6 @@
</script>
{/if}
{else}
<p class="lead text-small pll">{str tag='notasks' section='artefact.plans'}</p>
<div class="lead text-center content-text">{str tag='notasks' section='artefact.plans'}</div>
{/if}
</div>
\ No newline at end of file
{include file="header.tpl"}
<div class="panel panel-danger mtxl">
<div class="panel panel-danger view-description">
<h2 class="panel-heading">{$subheading}</h2>
<div class="panel-body">
<p>{$message}</p>
......
{include file="header.tpl"}
<div class="btn-group btn-group-top">
<a class="btn btn-default" href="{$WWWROOT}artefact/plans/new.php">
<span class="icon icon-plus icon-lg prs"></span>
<span class="icon icon-plus icon-lg left"></span>
{str section="artefact.plans" tag="newplan"}</a>
</div>
{if !$plans.data}
<div class="no-results">{$strnoplansaddone|safe}</div>
{else}
<div id="planswrap" class="ptxl">
<div id="planslist" class="pbl">
<div id="planswrap" class="view-container">
<div id="planslist">
{$plans.tablerows|safe}
</div>
{$plans.pagination|safe}
......
{include file="header.tpl"}
<div class="btn-top-right btn-group btn-group-top">
<a class="btn btn-default settings" href="{$WWWROOT}artefact/plans/new.php?id={$plan}">
<span class="icon icon-lg icon-plus prs"></span>
<span class="icon icon-lg icon-plus left"></span>
{str section="artefact.plans" tag="newtask"}
</a>
</div>
<div id="planswrap" class="plan-wrapper mtxl ptxl">
<div id="planswrap" class="plan-wrapper view-container">
{if $tags}
<p class="tags">
<strong>{str tag=tags}:</strong>
......
......@@ -29,7 +29,7 @@
</div>
{if $plan->tags}
<div class="mtm">
<div class="tags">
<strong>{str tag=tags}</strong>:
{list_tags tags=$plan->tags owner=$plan->owner}
</div>
......
......@@ -5,25 +5,25 @@
{if $task->description}<a class="link-block collapsed" href="#expand-task-{$task->id}" data-toggle="collapse" aria-expanded="false" aria-controls="expand-task-{$task->id}">{/if}
<span class="overdue-task">
<span class="icon icon-times text-danger icon-lg prs"></span>
<span class="icon icon-times text-danger icon-lg left"></span>
<span class="text-danger">{$task->title}</span> -
<span class="text-small text-lighttone">
{str tag='completiondate' section='artefact.plans'}: {$task->completiondate}
</span>
{if $task->description}
<span class="icon icon-chevron-down pls collapse-indicator pull-right"></span>
<span class="icon icon-chevron-down right collapse-indicator pull-right"></span>
{/if}
</span>
{if $task->description}</a>{/if}
{if $task->description}
<div class="collapse" id="expand-task-{$task->id}">
<div class="panel-body pb0">
<div class="panel-body">
{$task->description|clean_html|safe}
{if $task->tags}
<p class="tags">
<div class="tags">
<strong>{str tag=tags}:</strong> {list_tags owner=$task->owner tags=$task->tags}
</p>
</div>
{/if}
</div>
</div>
......@@ -36,10 +36,10 @@
<span class="complete-task">
{if $task->completed == 1}
<span class="icon icon-check-square-o icon-lg text-success prs"></span>
<span class="icon icon-check-square-o icon-lg text-success left"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span>
{else}
<span class="icon-square-o icon icon-lg text-lighttone prs"></span>
<span class="icon-square-o icon icon-lg text-lighttone left"></span>
<span class="sr-only">{str tag=incomplete section=artefact.plans}</span>
{/if}
......@@ -49,7 +49,7 @@
</span>
{if $task->description}
<span class="icon icon-chevron-down pls collapse-indicator pull-right"></span>
<span class="icon icon-chevron-down right collapse-indicator pull-right"></span>
{/if}
</span>
......@@ -57,14 +57,14 @@
{if $task->description}
<div class="collapse" id="expand-task-{$task->id}">
<div class="panel-body pb0">
<div class="panel-body">
{$task->description|clean_html|safe}
{if $task->tags}
<p class="tags">
<div class="tags">
<strong>{str tag=tags}:</strong> {list_tags owner=$task->owner tags=$task->tags}
</p>
</div>
{/if}
</div>
......
......@@ -2,7 +2,7 @@
{if $task->completed == -1}
<tr class="incomplete danger">
<td class="incomplete">
<span class="icon icon-times icon-lg prs text-danger"></span>
<span class="icon icon-times icon-lg left text-danger"></span>
<span class="sr-only">{str tag=overdue section=artefact.plans}</span>
</td>
<td class="plantasktitle">{$task->title}</td>
......@@ -17,7 +17,7 @@
<tr class="complete">
{if $task->completed == 1}
<td class="completed text-center">
<span class="icon icon-check-square-o icon-lg prs text-success"></span>
<span class="icon icon-check-square-o icon-lg left text-success"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span>
</td>
{else}
......
{if $tags}<p class="tags"><strong>{str tag=tags}:</strong> {list_tags owner=$owner tags=$tags}</p>{/if}
<div class="">
<ul id="tasklist" class="list-group list-unstyled mbl">
<ul id="tasklist" class="list-group list-unstyled">
{$tasks.tablerows|safe}
</ul>
</div>
......@@ -10,7 +10,7 @@
</div>
{if $license}
<div class="resumelicense">
<div class="license">
{$license|safe}
</div>
{/if}
......@@ -32,21 +32,21 @@
<h4>{str tag=goals section=artefact.resume}</h4>
{if $personalgoal}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=personalgoal section=artefact.resume}</h5>
{$personalgoal|safe}
</div>
{/if}
{if $academicgoal}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=academicgoal section=artefact.resume}</h5>
{$academicgoal|safe}
</div>
{/if}
{if $careergoal}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=careergoal section=artefact.resume}</h5>
{$careergoal|safe}
</div>
......@@ -60,21 +60,21 @@
<h4>{str tag=skills section=artefact.resume}</h4>
{if $personalskill}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=personalskill section=artefact.resume}</h5>
{$personalskill|safe}
</div>
{/if}
{if $academicskill}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=academicskill section=artefact.resume}</h5>
{$academicskill|safe}
</div>
{/if}
{if $workskill}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=workskill section=artefact.resume}</h5>
{$workskill|safe}
</div>
......@@ -87,14 +87,14 @@
<h4>{str tag=History section=blocktype.resume/entireresume}</h4>
{if $employmenthistory}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=employmenthistory section=artefact.resume}</h5>
{$employmenthistory|safe}
</div>
{/if}
{if $educationhistory}
<div class="mbxl">
<div class="resume-content">
<h5>{str tag=educationhistory section=artefact.resume}</h5>
{$educationhistory|safe}
</div>
......
{include file="header.tpl"}
<div id="resumewrap">
<div class="ptl pbl">
<div class="view-container">
{include file="artefact:resume:fragments/certification.tpl" controls="true"}
</div>
<div class="ptl pbl">
<div class="view-container">
{include file="artefact:resume:fragments/book.tpl" controls="true"}
</div>
<div class="ptl pbl">
<div class="view-container">
{include file="artefact:resume:fragments/membership.tpl" controls="true"}
</div>
</div>
......
{include file="header.tpl"}
<div id="resumewrap">
<div class="ptl pbl">
<div class="view-container">
{include file="artefact:resume:fragments/educationhistory.tpl" controls="true"}
</div>
<div class="ptl pbl">
<div class="view-container">
{include file="artefact:resume:fragments/employmenthistory.tpl" controls="true"}
</div>
</div>
......
......@@ -25,22 +25,22 @@
</table>
<div class="panel-footer has-form">
<div id="bookform" class="js-expanded-form collapse mtl mlm" data-action='focus-on-open reset-on-collapse'>
<div id="bookform" class="js-expanded-form collapse" data-action='focus-on-open reset-on-collapse'>
{$compositeforms.book|safe}
</div>
<button id="addbookbutton" data-toggle="collapse" data-target="#bookform" aria-expanded="false" aria-controls="bookform" class="pull-right btn btn-default btn-sm collapsed expand-add-button">
<span class="show-form">
{str tag='add'}
<span class="icon icon-chevron-down pls"></span>
<span class="icon icon-chevron-down right"></span>
</span>
<span class="hide-form">
{str tag='cancel'}
<span class="icon icon-chevron-up pls"></span>
<span class="icon icon-chevron-up right"></span>
</span>
</button>
{if $license}
<div class="resumelicense">
<div class="license">
{$license|safe}
</div>
{/if}
......@@ -52,11 +52,11 @@
<div id="booklist{$suffix}" class="list-group list-group-lite">
{foreach from=$rows item=row}
<div class="list-group-item">
<h5 class="mt0 list-group-item-heading">
<h5 class="list-group-item-heading">
{if $row->description || $row->attachments || $row->url}
<a href="#book-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="text-left collapsed collapsible" aria-expanded="false" data-toggle="collapse">
{$row->title}
<span class="icon pts icon-chevron-down pull-right collapse-indicator"></span>
<span class="icon icon-chevron-down pull-right collapse-indicator"></span>
<br />
{if $row->date}
<span class="text-small text-muted">
......@@ -75,9 +75,9 @@
{/if}
</h5>
<div id="book-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="collapse resume-content mtm">
<div id="book-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="collapse resume-content">
{if $row->description}
<p class="compositedesc">
<p class="content-text">
{$row->description}
</p>
{/if}
......@@ -89,12 +89,12 @@
{/if}
{if $row->attachments}
<h5 class="list-group-item-heading plm ptm">
<span class="icon icon-paperclip prs"></span>
<h5 class="list-group-item-heading">
<span class="icon icon-paperclip left"></span>
<span>{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
</h5>
<ul class="list-group list-group-unbordered mb0">
<ul class="list-group list-group-unbordered">
{foreach from=$row->attachments item=item}
<li class="list-group-item">
<a href="{$item->downloadpath}" class="outer-link icon-on-hover">
......@@ -102,7 +102,7 @@
</a>
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
<img class="file-icon" src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
......@@ -116,7 +116,7 @@
</span>
</span>
<span class="icon icon-download icon-lg pull-right pts text-watermark icon-action inner-link"></span>
<span class="icon icon-download icon-lg pull-right text-watermark icon-action inner-link"></span>
</li>
{/foreach}
</ul>
......
......@@ -29,23 +29,23 @@
</table>
<div class="panel-footer has-form">
<div id="certificationform" class="collapse mtl mlm" data-action='focus-on-open reset-on-collapse'>
<div id="certificationform" class="collapse" data-action='focus-on-open reset-on-collapse'>
{$compositeforms.certification|safe}
</div>
<button id="addcertificationbutton" data-toggle="collapse" data-target="#certificationform" aria-expanded="false" aria-controls="certificationform" class="pull-right btn btn-default btn-sm collapsed expand-add-button">
<span class="show-form">
{str tag='add'}
<span class="icon icon-chevron-down pls"></span>
<span class="icon icon-chevron-down right"></span>
</span>
<span class="hide-form">
{str tag='cancel'}
<span class="icon icon-chevron-up pls"></span>
<span class="icon icon-chevron-up right"></span>
</span>
</button>
{if $license}
<div class="resumelicense">
<div class="license">
{$license|safe}
</div>
{/if}
......@@ -57,11 +57,11 @@
<div id="certificationlist{$suffix}" class="list-group list-group-lite">
{foreach from=$rows item=row}
<div class="list-group-item">
<h5 class="mt0 list-group-item-heading">
<h5 class="list-group-item-heading">
{if $row->description || $row->attachments}
<a href="#certification-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="text-left collapsed collapsible" aria-expanded="false" data-toggle="collapse">
{$row->title}
<span class="icon pts icon-chevron-down pull-right collapse-indicator"></span>
<span class="icon icon-chevron-down pull-right collapse-indicator"></span>
<br />
<span class="text-small text-muted">
{$row->date}
......@@ -76,20 +76,20 @@
{/if}
</h5>
<div id="certification-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="collapse resume-content mtm">
<div id="certification-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="collapse resume-content">
{if $row->description}
<p class="compositedesc">
<p class="content-text">
{$row->description}
</p>
{/if}
{if $row->attachments}
<h5 class="list-group-item-heading plm ptm">
<span class="icon icon-paperclip prs"></span>
<h5 class="list-group-item-heading">
<span class="icon icon-paperclip left"></span>
<span>{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
</h5>
<ul class="list-group list-group-unbordered mb0">
<ul class="list-group list-group-unbordered">
{foreach from=$row->attachments item=item}
<li class="list-group-item">
<a href="{$item->downloadpath}" class="outer-link icon-on-hover">
......@@ -97,7 +97,7 @@
</a>
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
<img class="file-icon" src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
......@@ -111,7 +111,7 @@
</span>
</span>
<span class="icon icon-download icon-lg pull-right pts text-watermark icon-action inner-link"></span>
<span class="icon icon-download icon-lg pull-right text-watermark icon-action inner-link"></span>
</li>
{/foreach}
</ul>
......
......@@ -51,7 +51,7 @@
</table>
{/if}
{if $license}
<div class="resumelicense">
<div class="license">
{$license|safe}
</div>
{/if}
......@@ -26,22 +26,22 @@
</table>
<div class="panel-footer has-form">
<div id="educationhistoryform" class="collapse mtl mlm" data-action='focus-on-open reset-on-collapse'>
<div id="educationhistoryform" class="collapse" data-action='focus-on-open reset-on-collapse'>
{$compositeforms.educationhistory|safe}
</div>
<button id="addeducationhistorybutton" data-toggle="collapse" data-target="#educationhistoryform" aria-expanded="false" aria-controls="educationhistoryform" class="pull-right btn btn-default btn-sm collapsed expand-add-button">
<span class="show-form">
{str tag='add'}
<span class="icon icon-chevron-down pls"></span>
<span class="icon icon-chevron-down right"></span>
</span>
<span class="hide-form">