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