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) 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', 'module' => 'StaticPages',
'templateName' => 'staticpages::admin.templatePath' 'templateName' => 'staticpages::admin.templatePath'
], ],
[
'module' => 'ContactForm',
'templateName' => 'contactform::admin/adminMenu.templatePath'
],
[ [
'module' => 'ArticleList', 'module' => 'ArticleList',
'templateName' => 'articlelist::admin.templatePath' 'templateName' => 'articlelist::admin.templatePath'
@@ -77,11 +82,6 @@ class Handler implements TemplateHandler
'module' => 'Article', 'module' => 'Article',
'templateName' => 'article::admin.templatePath' '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('technologies', TechnologiesWrapper::class);
Shortcode::register('tech', Technology::class); Shortcode::register('tech', Technology::class);
Shortcode::register('dark', DarkBlock::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 { .article-list-item .author {
line-height: 1; line-height: 1;
text-align: center; /*text-align: center;*/
} }
.article-list-item article { .article-list-item article {
padding: 0; padding: 0 15px 0 0;
padding-right: 15px;
} }
.article-list-item footer { .article-list-item footer {
@@ -3,11 +3,11 @@
@include(\App\Helpers\Template::name('metaInformation')) @include(\App\Helpers\Template::name('metaInformation'))
@section('content') @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"> {{--<div class="row">--}}
{!! $page->content !!} {{--{!! $page->content !!}--}}
</div> {{--</div>--}}
@foreach($articles as $article) @foreach($articles as $article)
<div class="column large-6 article-list-item"> <div class="column large-6 article-list-item">
@@ -45,6 +45,8 @@
</div> </div>
</div> </div>
{{-- <h2><a href="{{route('page.content', ['url' => $article->url])}}">{{$article->title}}</a></h2>--}} <div class="paginate">
{{$articles->render()}}
</div>
@endforeach @endforeach
@endsection @endsection