2020-07-27 00:05:07 +09:00
|
|
|
{% extends 'settings/profile.html.twig' %}
|
2020-06-27 07:44:53 +09:00
|
|
|
|
2020-07-23 05:58:23 +09:00
|
|
|
{% block title %}Avatar Settings{% endblock %}
|
|
|
|
|
2020-07-28 08:07:31 +09:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-04-19 05:27:31 +09:00
|
|
|
<link href="{{ asset('assets/css/cropperjs/cropper.css') }}" rel="stylesheet">
|
|
|
|
<script src="{{ asset('assets/javascript/cropperjs/cropper.js') }}"></script>
|
2020-07-28 08:07:31 +09:00
|
|
|
{% endblock %}
|
|
|
|
|
2020-06-27 07:44:53 +09:00
|
|
|
{% block body %}
|
2020-07-27 00:05:07 +09:00
|
|
|
{{ parent() }}
|
|
|
|
{% endblock body %}
|
2020-07-23 05:58:23 +09:00
|
|
|
|
2020-07-27 00:05:07 +09:00
|
|
|
{% block form %}
|
|
|
|
<div class='form'>
|
|
|
|
{{ form(avatar) }}
|
2020-07-28 08:07:31 +09:00
|
|
|
<div id="img-container">
|
|
|
|
<img id="img-cropped">
|
|
|
|
</div>
|
2020-06-27 07:44:53 +09:00
|
|
|
</div>
|
2020-06-27 07:44:53 +09:00
|
|
|
{% endblock form %}
|
2020-07-29 01:08:08 +09:00
|
|
|
|
|
|
|
{% block javascripts %}
|
|
|
|
<script type="text/javascript" src="{{ asset('assets/javascript/cropping.js') }}"></script>
|
2020-08-06 06:25:18 +09:00
|
|
|
{% endblock javascripts %}
|