Commit a365eeaf authored by Kevin Abel's avatar Kevin Abel
Browse files

Markup adjustments for better embed experience

Add a class when no local search is done.
Remove classes/divs not needed in embed.
parent 9c54e929
<section class="wdn-band" id="search_wrapper">
<div class="<?php if (!$isEmbed): ?>wdn-inner-wrapper wdn-inner-padding-sm<?php endif; ?>">
<section<?php if (!$isEmbed): ?> class="wdn-band"<?php endif ?> id="search_wrapper">
<?php if (!$isEmbed): ?>
<div class="wdn-inner-wrapper wdn-inner-padding-sm">
<?php endif; ?>
<div class="wdn-grid-set search-set">
<div id="search_results" class="results-group">
<div class="result-head">
<h2>UNL Web</h2>
<ul class="result-tab">
<ul class="result-tab<?php if (empty($local_results)): ?> no-local<?php endif; ?>">
<?php if (!empty($local_results)): ?>
<li><a href="#">This unit</a></li>
<?php endif; ?>
......@@ -35,5 +37,7 @@
</div>
<?php if (!$isEmbed): ?>
</div>
<?php endif; ?>
</section>
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