blessing-skin-server/resources/views/admin/customize.tpl

66 lines
2.3 KiB
PHP
Raw Normal View History

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')
2017-07-03 20:54:19 +08:00
<link rel="stylesheet" href="{{ assets('css/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>
2018-07-17 11:06:55 +08:00
@lang('general.customize')
2016-07-22 19:36:24 +08:00
</h1>
</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">
2018-07-17 11:06:55 +08:00
<h3 class="box-title">@lang('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>
2018-07-17 11:06:55 +08:00
<td>@lang("admin.customize.colors.$innerColor")</td>
2016-12-30 20:37:27 +08:00
<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">
2018-07-17 11:06:55 +08:00
<button id="color-submit" class="btn btn-primary">@lang('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">
{!! $forms['homepage']->render() !!}
2016-07-22 19:36:24 +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