Commit 1f8c2daa authored by Liam's avatar Liam Committed by Rebecca Blundell
Browse files

Bug #1765276: Changing card-block to card-secondary, and then getting rid of card-block in raw

Fixing any issues caused by this

behatnotneeded

Change-Id: I9cf578816534e3c5a07e7153373d1faeacc89ef7
parent 6816c70f
......@@ -3,7 +3,7 @@ echo $form_tag;
?>
<div class="card-items card-items-no-margin">
<div class="step step1 card card-secondary first" id="step1">
<div class="step step1 card card first" id="step1">
<h3 class="card-header"><?php echo get_string('usercreationmethod', 'admin'); ?></h3>
<div class="card-body">
<div class="choice">
......@@ -37,7 +37,7 @@ echo $form_tag;
</div>
<div class="step step2 card card-secondary">
<div class="step step2 card card">
<h3 class="card-header"><?php echo get_string('basicdetails', 'admin'); ?></h3>
<div class="card-body">
<?php foreach (array('username', 'password', 'staff', 'admin', 'authinstance', 'quota', 'institutionadmin') as $field) { ?>
......@@ -60,7 +60,7 @@ echo $form_tag;
</div>
</div>
<div class="step step3 card card-secondary">
<div class="step step3 card card">
<h3 class="card-header"><?php echo get_string('create', 'admin'); ?></h3>
<div class="card-body">
<!-- Button trigger modal -->
......
{foreach from=$blogs->data item=blog}
<div class="card {if $blog->locked}card bg-warning{else} card-secondary{/if} blog card-half">
<div class="card {if $blog->locked}card bg-warning{else} card{/if} blog card-half">
<h3 class="card-header has-link">
<a class="title-link title" href="{$WWWROOT}artefact/blog/view/index.php?id={$blog->id}">
{$blog->title}
......
......@@ -69,7 +69,7 @@
</p>
{if $post->files}
<div class="has-attachment card card-secondary collapsible" id="postfiles_{$post->id}">
<div class="has-attachment card card collapsible" id="postfiles_{$post->id}">
<h5 class="card-header has-link">
<a class="text-left collapsed" data-toggle="collapse" href="#attach_{$post->id}" aria-expanded="false">
<span class="icon left icon-paperclip" role="presentation" aria-hidden="true"></span>
......
<div class="has-attachment card card-secondary collapsible">
<div class="has-attachment card card collapsible">
<h3 class="card-heading">
<a class="text-left collapsed" aria-expanded="false" href="#blog-attach-{$postid}" data-toggle="collapse">
<span class="icon left icon-paperclip" role="presentation" aria-hidden="true"></span>
......
......@@ -27,7 +27,7 @@
</div>
{if $post->files}
<div class="has-attachment card card-secondary collapsible" id="blockpostfiles-{$post->id}">
<div class="has-attachment card card collapsible" id="blockpostfiles-{$post->id}">
<h5 class="card-heading">
<a class="text-left collapsed" data-toggle="collapse" href="#post-attach-{$post->id}" aria-expanded="false">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
......
......@@ -94,7 +94,7 @@
{if !$item->deletedmessage && $item->attachments}
<div class="comment-attachment">
<div class="card card-secondary has-attachment collapsible">
<div class="card card has-attachment collapsible">
<h4 class="card-heading">
<a class="collapsible collapsed" aria-expanded="false" href="#attachments_{$item->id}" data-toggle="collapse">
<span class="icon left icon-paperclip" role="presentation" aria-hidden="true"></span>
......
......@@ -54,7 +54,7 @@
{/if}
{if $config.upload}
<div id="{$prefix}_upload_container" class="clearfix {if $config.selectone || $config.selectmodal} card-fake{else} card card-secondary fileupload {/if} {if ($tabs && !$tabs.upload) || $uploaddisabled} d-none{/if}">
<div id="{$prefix}_upload_container" class="clearfix {if $config.selectone || $config.selectmodal} card-fake{else} card card fileupload {/if} {if ($tabs && !$tabs.upload) || $uploaddisabled} d-none{/if}">
{* config.uploadagreement: disable the file chooser unless the agreement is checked *}
{* config.simpleupload: the form only contains a file chooser *}
{* config.submitbutton: add submit button even if js is enabled & don't start uploading as soon as a file is chosen *}
......@@ -167,7 +167,7 @@
</div>
{/if}
<div class="filelist-wrapper card card-block">
<div class="filelist-wrapper card card-secondary">
<h3 id="{$prefix}_foldernav" class="card-header">
{include file="artefact:file:form/folderpath.tpl" path=$path querybase=$querybase owner=$tabs.owner ownerid=$tabs.ownerid}
</h3>
......
......@@ -10,7 +10,7 @@
{if $attachments}
{* @TODO: this could probably be a reusable template *}
<div class="has-attachment card card-secondary collapsible">
<div class="has-attachment card card collapsible">
<h4 class="card-heading">
<a class="text-left collapsed" aria-expanded="false" href="#note-attach-{$blockid}" data-toggle="collapse">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
......
{if $controls}
<div class="card card-secondary">
<div class="card card">
{if !$hidetitle}
<h3 class="resumeh3 card-header">
{str tag='book' section='artefact.resume'}
......
{if $controls}
<div class="card card-secondary">
<div class="card card">
{if !$hidetitle}
<h3 class="resumeh3 card-header">
{str tag='certification' section='artefact.resume'}
......
{if $controls}
<div class="card card-secondary">
<div class="card card">
{if !$hidetitle}
<h3 class="resumeh3 card-header">
{str tag='educationhistory' section='artefact.resume'}
......
{if $controls}
<div class="card card-secondary">
<div class="card card">
{if !$hidetitle}
<h3 class="resumeh3 card-header">
{str tag='employmenthistory' section='artefact.resume'}
......
......@@ -8,7 +8,7 @@
</h3>{/if}
<div id="goalslist{$suffix}" class="card-items card-items-no-margin js-masonry" data-masonry-options='{ "itemSelector": ".card" }'>
{foreach from=$goals item=n, name='default'}
<div class="card card-secondary">
<div class="card card">
<h4 class="card-header has-link">
{if $n->exists}
<a id="goals_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit$n->artefacttype section=artefact.resume}">
......
......@@ -2,7 +2,7 @@
{$description|clean_html|safe}
{if isset($attachments)}
<div class="has-attachment card card-secondary collapsible">
<div class="has-attachment card card collapsible">
<h4 class="card-heading">
<a class="text-left collapsed" aria-expanded="false" href="#cv-attach-{$id}{if $artefactid}-{$artefactid}{/if}" data-toggle="collapse">
<span class="icon left icon-paperclip" role="presentation" aria-hidden="true"></span>
......
{if $controls}
<div class="card card-secondary">
<div class="card card">
{if !$hidetitle}
<h3 class="resumeh3 card-header">
{str tag='membership' section='artefact.resume'}
......
......@@ -9,7 +9,7 @@
<div id="skillslist{$suffix}" class="card-items card-items-no-margin js-masonry" data-masonry-options='{ "itemSelector": ".card" }'>
{foreach from=$skills item=n}
<div class="card card-secondary">
<div class="card card">
<h3 class="card-header has-link">
{if $n->exists}
<a id="skills_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit$n->artefacttype section=artefact.resume}">
......
{include file="header.tpl"}
<div class="card card-secondary">
<div class="card card">
<h3 class="card-heading">{str tag="clientconnections" section="auth.webservice"}</h3>
<div class="card-body">
{$form|safe}
......
......@@ -4,7 +4,7 @@
<div class="collapsible-group" id="accordion" aria-multiselectable="true" role="tablist" >
{foreach from=$form.elements item=element name=elements}
{if $element.type == 'fieldset'}
<div class="pseudofieldset card card-secondary collapsible collapsible-group{if $.foreach.elements.last} last{/if}">
<div class="pseudofieldset card card collapsible collapsible-group{if $.foreach.elements.last} last{/if}">
<h2 class="pseudolegend card-header has-link">
<a class="{if !$.foreach.elements.first}collapsed{/if}" href="#{$element.name}_pseudofieldset" data-toggle="collapse" aria-expanded="{if $.foreach.elements.first}true{else}false{/if}" aria-controls="{$element.name}_pseudofieldset" data-parent="#accordion">
{$element.legend}
......
......@@ -9,7 +9,7 @@
{elseif $disabledprotocols}
<div class="error alert alert-warning">{str tag=nowsprotocolsenabled section='auth.webservice' arg1=$disabledprotocols}</div>
{else}
<div class="card card-secondary card-body">
<div class="card card card-body">
{$form|safe}
</div>
{/if}
......
{include file="header.tpl"}
<div id="logsearchformcontainer" class="card card-secondary card-body">
<div id="logsearchformcontainer" class="card card card-body">
{$form|safe}
</div>
<div id="results" class="section card card-secondary">
<div id="results" class="section card card">
<h2 class="card-header" id="resultsheading">{str tag="Results"}</h2>
{if $results}
<div class="table-responsive">
......
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