FEATURE: minor updates in binarity template

This commit is contained in:
Michal Kváček
2016-10-04 11:14:17 +02:00
parent 52fb27b4fe
commit fdb63fcd8a
3 changed files with 15 additions and 15 deletions
+6 -7
View File
@@ -46,7 +46,8 @@ class Handler implements TemplateHandler
*/
public static function uninstall(Module $template)
{
WidgetArea::where('code', 'mainMenu')->delete();
WidgetArea::where('code', 'mainMenu')
->delete();
}
/**
@@ -69,6 +70,10 @@ class Handler implements TemplateHandler
'module' => 'StaticPages',
'templateName' => 'staticpages::admin.templatePath'
],
[
'module' => 'ContactForm',
'templateName' => 'contactform::admin/adminMenu.templatePath'
],
[
'module' => 'ArticleList',
'templateName' => 'articlelist::admin.templatePath'
@@ -77,11 +82,6 @@ class Handler implements TemplateHandler
'module' => 'Article',
'templateName' => 'article::admin.templatePath'
],
[
'module' => 'ContactForm',
'templateName' => 'contactform::admin/adminMenu.templatePath'
]
];
}
@@ -95,7 +95,6 @@ class Handler implements TemplateHandler
Shortcode::register('technologies', TechnologiesWrapper::class);
Shortcode::register('tech', Technology::class);
Shortcode::register('dark', DarkBlock::class);
}
/**
+2 -3
View File
@@ -9292,13 +9292,12 @@ article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,secti
.article-list-item .author {
line-height: 1;
text-align: center;
/*text-align: center;*/
}
.article-list-item article {
padding: 0;
padding-right: 15px;
padding: 0 15px 0 0;
}
.article-list-item footer {
@@ -3,11 +3,11 @@
@include(\App\Helpers\Template::name('metaInformation'))
@section('content')
<h1 class="text-center uppercase m-b-25">{{$page->title}}</h1>
{{--<h1 class="text-center uppercase m-b-25">{{$page->title}}</h1>--}}
<div class="row">
{!! $page->content !!}
</div>
{{--<div class="row">--}}
{{--{!! $page->content !!}--}}
{{--</div>--}}
@foreach($articles as $article)
<div class="column large-6 article-list-item">
@@ -45,6 +45,8 @@
</div>
</div>
{{-- <h2><a href="{{route('page.content', ['url' => $article->url])}}">{{$article->title}}</a></h2>--}}
<div class="paginate">
{{$articles->render()}}
</div>
@endforeach
@endsection