Widgets refactor (#367)

* widgets refactor

* remove col-sm-12
main
Barış Soner Uşaklı 8 years ago committed by GitHub
parent f1f97650bf
commit 4ad31e8f40

@ -1,7 +1,11 @@
<!-- IMPORT partials/breadcrumbs.tpl --> <!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header"></div> <div widget-area="header">
<!-- BEGIN widgets.header -->
{{widgets.header.html}}
<!-- END widgets.header -->
</div>
<div class="row"> <div class="row">
<div class="col-lg-12 col-sm-12" has-widget-class="col-lg-9 col-sm-12" has-widget-target="sidebar"> <div class="<!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
<h1 class="categories-title">[[pages:categories]]</h1> <h1 class="categories-title">[[pages:categories]]</h1>
<ul class="categories" itemscope itemtype="http://www.schema.org/ItemList"> <ul class="categories" itemscope itemtype="http://www.schema.org/ItemList">
<!-- BEGIN categories --> <!-- BEGIN categories -->
@ -9,6 +13,14 @@
<!-- END categories --> <!-- END categories -->
</ul> </ul>
</div> </div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 hidden"></div> <div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<!-- BEGIN widgets.sidebar -->
{{widgets.sidebar.html}}
<!-- END widgets.sidebar -->
</div>
</div>
<div widget-area="footer">
<!-- BEGIN widgets.footer -->
{{widgets.footer.html}}
<!-- END widgets.footer -->
</div> </div>
<div widget-area="footer"></div>

@ -1,7 +1,11 @@
<!-- IMPORT partials/breadcrumbs.tpl --> <!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header"></div> <div widget-area="header">
<!-- BEGIN widgets.header -->
{{widgets.header.html}}
<!-- END widgets.header -->
</div>
<div class="row"> <div class="row">
<div class="category col-lg-12 col-sm-12" has-widget-class="category col-lg-9 col-sm-12" has-widget-target="sidebar"> <div class="category <!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
<!-- IMPORT partials/category/subcategory.tpl --> <!-- IMPORT partials/category/subcategory.tpl -->
<!-- IF children.length --><hr class="hidden-xs"/><!-- ENDIF children.length --> <!-- IF children.length --><hr class="hidden-xs"/><!-- ENDIF children.length -->
@ -38,9 +42,17 @@
<!-- IMPORT partials/paginator.tpl --> <!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination --> <!-- ENDIF config.usePagination -->
</div> </div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 hidden"></div> <div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<!-- BEGIN widgets.sidebar -->
{{widgets.sidebar.html}}
<!-- END widgets.sidebar -->
</div>
</div>
<div widget-area="footer">
<!-- BEGIN widgets.footer -->
{{widgets.footer.html}}
<!-- END widgets.footer -->
</div> </div>
<div widget-area="footer"></div>
<!-- IMPORT partials/move_thread_modal.tpl --> <!-- IMPORT partials/move_thread_modal.tpl -->

@ -1,7 +1,11 @@
<!-- IMPORT partials/breadcrumbs.tpl --> <!-- IMPORT partials/breadcrumbs.tpl -->
<div widget-area="header"></div> <div widget-area="header">
<!-- BEGIN widgets.header -->
{{widgets.header.html}}
<!-- END widgets.header -->
</div>
<div class="row"> <div class="row">
<div class="topic col-lg-12 col-sm-12" has-widget-class="topic col-lg-9 col-sm-12" has-widget-target="sidebar"> <div class="topic <!-- IF widgets.sidebar.length -->col-lg-9 col-sm-12<!-- ELSE -->col-lg-12<!-- ENDIF widgets.sidebar.length -->">
<h1 component="post/header" class="hidden-xs" itemprop="name"> <h1 component="post/header" class="hidden-xs" itemprop="name">
@ -66,9 +70,17 @@
</div> </div>
</div> </div>
</div> </div>
<div widget-area="sidebar" class="col-lg-3 col-sm-12 hidden"></div> <div widget-area="sidebar" class="col-lg-3 col-sm-12 <!-- IF !widgets.sidebar.length -->hidden<!-- ENDIF !widgets.sidebar.length -->">
<!-- BEGIN widgets.sidebar -->
{{widgets.sidebar.html}}
<!-- END widgets.sidebar -->
</div>
</div>
<div widget-area="footer">
<!-- BEGIN widgets.footer -->
{{widgets.footer.html}}
<!-- END widgets.footer -->
</div> </div>
<div widget-area="footer"></div>
<!-- IF !config.usePagination --> <!-- IF !config.usePagination -->
<noscript> <noscript>

Loading…
Cancel
Save