37 lines
2 KiB
Twig
37 lines
2 KiB
Twig
{% extends 'master.twig' %}
|
|
|
|
{% block content %}
|
|
<div class="content homepage">
|
|
<div class="content-right content-column">
|
|
{% include 'elements/indexPanel.twig' %}
|
|
</div>
|
|
<div class="content-left content-column">
|
|
<div class="head">Temporary avatar upload test form!!</div>
|
|
<form enctype="multipart/form-data" method="post" action="{{ route('user.avatar', user.id) }}" style="margin: 1em">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{{ config('file.avatar.max_file_size') }}">
|
|
<input type="hidden" name="session" value="{{ session_id() }}">
|
|
<input type="file" name="file">
|
|
<button>upload</button>
|
|
</form>
|
|
<div class="head">Temporary <del>avatar</del> background upload test form!!</div>
|
|
<form enctype="multipart/form-data" method="post" action="{{ route('user.background', user.id) }}" style="margin: 1em">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{{ config('file.background.max_file_size') }}">
|
|
<input type="hidden" name="session" value="{{ session_id() }}">
|
|
<input type="file" name="file">
|
|
<button>upload</button>
|
|
</form>
|
|
<div class="head">Temporary <del>avatar background</del> header upload test form!!</div>
|
|
<form enctype="multipart/form-data" method="post" action="{{ route('user.header', user.id) }}" style="margin: 1em">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{{ config('file.header.max_file_size') }}">
|
|
<input type="hidden" name="session" value="{{ session_id() }}">
|
|
<input type="file" name="file">
|
|
<button>upload</button>
|
|
</form>
|
|
<div class="head">News</div>
|
|
{% for post in news %}
|
|
{% include 'elements/newsPost.twig' %}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
{% endblock %}
|