profice a general content wrapper template.
This commit is contained in:
parent
3a368214c0
commit
71b30e0651
4 changed files with 37 additions and 8 deletions
12
view/templates/content_wrapper.tpl
Normal file
12
view/templates/content_wrapper.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
|
||||
{{* give different possibilities for the size of the heading *}}
|
||||
{{if $title_size}}
|
||||
<h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
|
||||
{{else}}
|
||||
{{include file="section_title.tpl"}}
|
||||
{{/if}}
|
||||
|
||||
{{* output the content *}}
|
||||
{{$content}}
|
||||
</div>
|
||||
|
|
@ -1655,7 +1655,22 @@ ul.dropdown-menu li:hover {
|
|||
color: $link_color;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Section-Content-Wrapper */
|
||||
#search-header-wrapper {
|
||||
padding: 15px;
|
||||
padding-bottom: 20px;
|
||||
margin-bottom: 20px;
|
||||
border: none;
|
||||
/*background-color: #fff;*/
|
||||
background-color: rgba(255,255,255,$contentbg_transp);
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
/*overflow: hidden;*/
|
||||
color: #555;
|
||||
box-shadow: 0 0 3px #dadada;
|
||||
-webkit-box-shadow: 0 0 3px #dadada;
|
||||
-moz-box-shadow: 0 0 3px #dadada;
|
||||
}
|
||||
|
||||
/* PAGES */
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{{if $saved}}
|
||||
<div class="widget" id="saved-search-list">
|
||||
<h3 id="search">{{$title}}</h3>
|
||||
|
||||
|
||||
<ul role="menu" id="saved-search-ul">
|
||||
{{foreach $saved as $search}}
|
||||
<li role="menuitem" class="saved-search-li clear">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue