2019-09-17 23:10:44 +08:00
|
|
|
{% extends 'admin.base' %}
|
|
|
|
|
|
|
|
{% block title %}{{ trans('general.customize') }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
2019-11-24 14:32:58 +08:00
|
|
|
<form class="card box-primary" method="post" action="{{ url('/admin/customize?action=color') }}">
|
2019-09-17 23:10:44 +08:00
|
|
|
{{ csrf_field() }}
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="card-header">
|
|
|
|
<h3 class="card-title">
|
2019-09-17 23:10:44 +08:00
|
|
|
{{ trans('admin.customize.change-color.title') }}
|
|
|
|
</h3>
|
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="card-body p-0">
|
2019-09-17 23:10:44 +08:00
|
|
|
<table class="table table-striped bring-up nth-2-center" id="change-color">
|
|
|
|
<tbody>
|
|
|
|
{% for color in colors %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ trans("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>{{ trans("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>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="card-footer">
|
2019-09-17 23:10:44 +08:00
|
|
|
<input
|
|
|
|
type="submit"
|
2019-11-24 14:32:58 +08:00
|
|
|
class="btn btn-primary"
|
2019-09-17 23:10:44 +08:00
|
|
|
value="{{ trans('general.submit') }}"
|
|
|
|
name="submit_color"
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-9">
|
|
|
|
{{ forms.homepage|raw }}
|
|
|
|
{{ forms.custom_js_css|raw }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block before_foot %}
|
|
|
|
<link rel="stylesheet" href="{{ skins_css }}">
|
|
|
|
{% endblock %}
|