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')
|
2018-08-09 17:07:20 +08:00
|
|
|
<link rel="stylesheet" href="{{ webpack_assets('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">
|
2019-06-15 17:55:18 +08:00
|
|
|
<form class="box box-primary" method="post" action="{{ url('/admin/customize?action=color') }}">
|
|
|
|
@csrf
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 v-t="'admin.change-color.title'" class="box-title">
|
|
|
|
@lang('admin.customize.change-color.title')
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body no-padding">
|
|
|
|
<table class="table table-striped bring-up nth-2-center" id="change-color">
|
|
|
|
@php
|
|
|
|
$colors = ['blue', 'yellow', 'green', 'purple', 'red', 'black'];
|
|
|
|
@endphp
|
|
|
|
<tbody>
|
|
|
|
@foreach ($colors as $color)
|
|
|
|
<tr>
|
|
|
|
<td>@lang('admin.customize.colors.'.$color)</td>
|
|
|
|
<td>
|
|
|
|
<label>
|
|
|
|
<input type="radio" name="color" value="skin-{{ $color }}" style="display: none;">
|
|
|
|
<span class="btn bg-{{ $color }} btn-xs">
|
|
|
|
<i class="far fa-eye"></i>
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>@lang('admin.customize.colors.'.$color.'-light')</td>
|
|
|
|
<td>
|
|
|
|
<label>
|
|
|
|
<input type="radio" name="color" value="skin-{{ $color }}-light" style="display: none;">
|
|
|
|
<span class="btn bg-{{ $color }} btn-xs">
|
|
|
|
<i class="far fa-eye"></i>
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
<input type="submit" class="el-button el-button--primary" value="@lang('general.submit')" name="submit_color">
|
|
|
|
</div>
|
|
|
|
</form>
|
2016-07-22 19:36:24 +08:00
|
|
|
</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 -->
|
|
|
|
@endsection
|