2016-07-22 19:36:24 +08:00
|
|
|
@extends('admin.master')
|
|
|
|
|
2016-09-25 10:02:40 +08:00
|
|
|
@section('title', trans('general.customize'))
|
2016-07-22 19:36:24 +08:00
|
|
|
|
|
|
|
@section('style')
|
2016-09-14 22:44:30 +08:00
|
|
|
<link rel="stylesheet" href="{{ assets('vendor/skins/_all-skins.min.css') }}">
|
2016-07-22 19:36:24 +08:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<!-- Content Wrapper. Contains page content -->
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Content Header (Page header) -->
|
|
|
|
<section class="content-header">
|
|
|
|
<h1>
|
2016-09-25 10:02:40 +08:00
|
|
|
{{ trans('general.customize') }}
|
2016-07-22 19:36:24 +08:00
|
|
|
</h1>
|
2017-01-02 10:40:09 +08:00
|
|
|
<div class="breadcrumb"></div>
|
2016-07-22 19:36:24 +08:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Main content -->
|
|
|
|
<section class="content">
|
|
|
|
|
|
|
|
<div class="row">
|
2016-08-21 10:38:46 +08:00
|
|
|
<div class="col-md-3">
|
2016-07-22 19:36:24 +08:00
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-header with-border">
|
2016-12-31 23:28:09 +08:00
|
|
|
<h3 class="box-title">{{ trans('admin.customize.change-color.title') }}</h3>
|
2016-07-22 19:36:24 +08:00
|
|
|
</div><!-- /.box-header -->
|
|
|
|
<div class="box-body no-padding">
|
|
|
|
<table id="layout-skins-list" class="table table-striped bring-up nth-2-center">
|
|
|
|
<tbody>
|
2016-12-30 20:37:27 +08:00
|
|
|
@foreach(['blue', 'yellow', 'green', 'purple', 'red', 'black'] as $color)
|
|
|
|
@foreach([$color, "$color-light"] as $innerColor)
|
|
|
|
<tr>
|
|
|
|
<td>{{ trans("admin.customize.colors.$innerColor") }}</td>
|
|
|
|
<td><a href="#" data-skin="skin-{{ $innerColor }}" class="btn bg-{{ $color }} btn-xs"><i class="fa fa-eye"></i></a></td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
2016-07-22 19:36:24 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div><!-- /.box-body -->
|
|
|
|
<div class="box-footer">
|
2016-12-30 15:01:34 +08:00
|
|
|
<button id="color-submit" class="btn btn-primary">{{ trans('general.submit') }}</button>
|
2016-07-22 19:36:24 +08:00
|
|
|
</div>
|
|
|
|
</div><!-- /.box -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2016-08-21 10:38:46 +08:00
|
|
|
<div class="col-md-9">
|
2016-12-29 23:14:09 +08:00
|
|
|
{!! $forms['homepage']->render() !!}
|
2016-07-22 19:36:24 +08:00
|
|
|
|
2016-12-29 23:14:09 +08:00
|
|
|
{!! $forms['customJsCss']->render() !!}
|
2016-07-22 19:36:24 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section><!-- /.content -->
|
|
|
|
</div><!-- /.content-wrapper -->
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2016-09-15 23:03:58 +08:00
|
|
|
var current_skin = "{{ option('color_scheme') }}";
|
2016-07-22 19:36:24 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
|