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 %}
|
2021-04-30 02:51:03 +01:00
|
|
|
{{ parent() }}
|
|
|
|
<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-07-26 16:05:07 +01:00
|
|
|
{% block form %}
|
2021-04-30 02:51:03 +01:00
|
|
|
<div class='form'>
|
2021-07-28 20:16:27 +01:00
|
|
|
<h1>Settings / Profile</h1>
|
2021-04-30 02:51:03 +01:00
|
|
|
{{ form(avatar) }}
|
|
|
|
<div id="img-container">
|
|
|
|
<img id="img-cropped">
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-26 23:44:53 +01:00
|
|
|
{% endblock form %}
|
2020-07-28 17:08:08 +01:00
|
|
|
|
|
|
|
{% block javascripts %}
|
2021-04-30 02:51:03 +01:00
|
|
|
<script type="text/javascript" src="{{ asset('assets/javascript/cropping.js') }}"></script>
|
2020-08-05 22:25:18 +01:00
|
|
|
{% endblock javascripts %}
|