2020-07-27 00:05:07 +09:00
|
|
|
{% extends 'left/left.html.twig' %}
|
2020-03-13 02:59:13 +09:00
|
|
|
|
2020-07-27 00:05:07 +09:00
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}Welcome!{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2020-08-15 09:17:17 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public.css') }}" media="screen and (min-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_mid.css') }}" media="screen and (max-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_small.css') }}" media="screen and (max-width: 750px)">
|
2020-07-27 00:05:07 +09:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2020-08-15 14:47:45 +09:00
|
|
|
<div class="content">
|
|
|
|
<div class="main">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Timeline</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Groups</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">People</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<hr>
|
|
|
|
<div class="notes-wrap">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Public</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Home</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#">Network</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2020-08-20 09:40:06 +09:00
|
|
|
{% if post_form is defined %}
|
|
|
|
<div class="note-post">
|
|
|
|
{{ form(post_form) }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-08-15 14:47:45 +09:00
|
|
|
<div class="timeline-nav">
|
|
|
|
<div class="notes">
|
2020-08-22 00:32:14 +09:00
|
|
|
{% if notes is defined and notes is not empty %}
|
2020-08-15 14:47:45 +09:00
|
|
|
{% for note in notes %}
|
2020-08-20 00:31:52 +09:00
|
|
|
<div>
|
|
|
|
<img src="{{ note.getAvatarUrl() }}" alt="{{ note.getActorNickname() }}'s avatar" width="64px">
|
|
|
|
<b>{{ note.getActorNickname() }}</b>
|
|
|
|
<div>{{ note.getContent() }}</div>
|
2020-08-20 09:40:06 +09:00
|
|
|
{% set id = note.getId() - 1 %}
|
|
|
|
{% for attachment in attachments[id] %}
|
|
|
|
<div>
|
|
|
|
<i> {{ attachment.getTitle() }} </i>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2020-08-20 00:31:52 +09:00
|
|
|
</div>
|
2020-08-15 14:47:45 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{{ 'No notes here.' | trans }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-08-15 08:40:32 +09:00
|
|
|
</div>
|
2020-08-15 14:47:45 +09:00
|
|
|
</div>
|
|
|
|
</hr>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-29 01:08:08 +09:00
|
|
|
{% endblock body %}
|
2020-07-27 00:05:07 +09:00
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|