FEATURE #1435: add login and layout of new admin theme

This commit is contained in:
Michal Kváček
2016-08-16 16:07:14 +02:00
parent aa462c2454
commit fc1141184c
97 changed files with 94901 additions and 105 deletions
@@ -1,25 +0,0 @@
@extends('admin.layout')
@section('pageName', @trans('admin/history.diffPageName', ['column' => $columnName]))
@section('content')
<div class="row">
<h2>@lang('admin/history.diffPageName', ['column' => $columnName])</h2>
</div>
<div class="row callout">
{!! $diff !!}
</div>
<div class="row">
<a href="{{route('content.history', ['id' => $change->content_id])}}" class="button success">
@lang('admin/history.backToOverview')
</a>
<a href="{{route('content.edit', ['id' => $change->content_id])}}" class="button success">
@lang('admin/history.backToEdit')
</a>
</div>
@stop
@@ -1,35 +0,0 @@
@extends('admin.layout')
@section('pageName', @trans('admin/history.pageName', ['name' => $page->title]))
@section('content')
<div class="row">
<h2>@lang('admin/history.pageName', ['name' => $page->title])</h2>
</div>
<div class="row">
<ul class="accordion" data-accordion>
@foreach($history['changesets'] as $revision => $changes)
<li class="accordion-item" data-accordion-item>
<a class="accordion-title">
<strong>{{$history['info'][$revision]['user']['name']}}</strong> |
{{$history['info'][$revision]['changed_at']}} |
{{trans_choice('admin/history.numOfChanges', count($changes))}}
</a>
@foreach($changes as $change)
<div class="accordion-content" data-tab-content>
<strong>{{$change->column_trans}}</strong>: {!! $change->diff !!}
</div>
@endforeach
</li>
@endforeach
</ul>
</div>
<a href="{{route('content.edit', ['id' => $page->id])}}" class="button success">
@lang('admin/history.backToEdit')
</a>
@stop