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-20 12:26:12 +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-20 12:26:12 +09:00
|
|
|
<div class="content">
|
2020-08-20 09:40:06 +09:00
|
|
|
{% if post_form is defined %}
|
2020-08-26 14:38:49 +09:00
|
|
|
{{ form_start(post_form) }}
|
|
|
|
<div class="create-notice">
|
2020-08-28 15:19:59 +09:00
|
|
|
<div class="target">
|
|
|
|
<div class="target-top">
|
|
|
|
{{ form_label(post_form.to) }}
|
|
|
|
</div>
|
|
|
|
<div class="target-bot">
|
|
|
|
{{ form_widget(post_form.to) }}
|
|
|
|
</div>
|
2020-08-27 11:30:22 +09:00
|
|
|
</div>
|
2020-08-28 15:19:59 +09:00
|
|
|
<div class="create-right">
|
2020-11-22 11:36:01 +09:00
|
|
|
<div class="create-top-right">
|
|
|
|
<div class="scope">
|
|
|
|
{{ form_row(post_form.visibility) }}
|
|
|
|
</div>
|
|
|
|
<div class="tabs">
|
|
|
|
{% for tab in tabs %}
|
|
|
|
<a href={{ path(tab['href']) }}>{{ tab['title'] }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2020-08-28 15:19:59 +09:00
|
|
|
</div>
|
|
|
|
<div class="input-wrapper">
|
|
|
|
<div class="content-input">
|
|
|
|
{{ form_row(post_form.content) }}
|
|
|
|
</div>
|
2020-08-26 14:38:49 +09:00
|
|
|
</div>
|
2020-08-28 15:19:59 +09:00
|
|
|
<div class="notice-options">
|
|
|
|
<div class="attachments">
|
2020-08-29 14:22:54 +09:00
|
|
|
{{ form_widget(post_form.attachments) }}
|
|
|
|
<label for="{{ post_form.attachments.vars.id }}">
|
2020-10-21 07:38:56 +09:00
|
|
|
{{ icon('attach', 'icon icon-attach') | raw }}
|
2020-08-29 14:22:54 +09:00
|
|
|
</label>
|
2020-08-28 15:19:59 +09:00
|
|
|
</div>
|
2020-09-05 04:36:37 +09:00
|
|
|
<div class="post">
|
|
|
|
{{ form_row(post_form.post) }}
|
2020-08-28 15:19:59 +09:00
|
|
|
</div>
|
2020-08-26 14:38:49 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ form_end(post_form) }}
|
2020-08-20 09:40:06 +09:00
|
|
|
{% endif %}
|
2020-08-20 12:26:12 +09:00
|
|
|
<div class="main">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2020-09-05 14:36:39 +09:00
|
|
|
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
|
2020-08-20 12:26:12 +09:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="notes-wrap">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2020-09-04 08:18:16 +09:00
|
|
|
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a>
|
2020-08-20 12:26:12 +09:00
|
|
|
</li>
|
2020-08-29 05:16:26 +09:00
|
|
|
{% if user_nickname is defined %}
|
|
|
|
<li>
|
2020-08-28 15:19:59 +09:00
|
|
|
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("home_all") }}'>Home</a>
|
2020-08-29 05:16:26 +09:00
|
|
|
</li>
|
|
|
|
{% endif %}
|
2020-08-20 12:26:12 +09:00
|
|
|
<li>
|
2020-09-04 08:18:16 +09:00
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
2020-08-20 12:26:12 +09:00
|
|
|
</li>
|
2020-12-03 00:57:52 +09:00
|
|
|
{% if main_nav_tabs is defined %}
|
|
|
|
{% for tab in main_nav_tabs %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path(tab['route']) }}" class='hover-effect {{ active(tab['route']) }}' >{{ tab['title'] }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2020-08-20 12:26:12 +09:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="timeline">
|
|
|
|
<div class="notes">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
2021-02-19 07:29:55 +09:00
|
|
|
{% for conversation in notes %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': conversation['note'], 'have_user': have_user, 'replies': conversation['replies']} only %}
|
2020-08-20 12:26:12 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<h1>{% trans %}No notes here.{% endtrans %}</h1>
|
|
|
|
{% endif %}
|
2020-08-20 09:40:06 +09:00
|
|
|
</div>
|
2020-08-20 00:31:52 +09:00
|
|
|
</div>
|
2020-08-20 12:26:12 +09:00
|
|
|
</div>
|
2020-08-15 08:40:32 +09:00
|
|
|
</div>
|
2020-08-20 12:26:12 +09:00
|
|
|
</div>
|
2020-07-29 01:08:08 +09:00
|
|
|
{% endblock body %}
|
2020-07-27 00:05:07 +09:00
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|