2020-07-26 16:05:07 +01:00
|
|
|
{% extends 'left/left.html.twig' %}
|
2020-03-12 17:59:13 +00:00
|
|
|
|
2020-07-26 16:05:07 +01:00
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}Welcome!{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2020-08-20 04:26:12 +01: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-26 16:05:07 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2020-08-20 04:26:12 +01:00
|
|
|
<div class="content">
|
2020-08-20 01:40:06 +01:00
|
|
|
{% if post_form is defined %}
|
2020-08-26 06:38:49 +01:00
|
|
|
{{ form_start(post_form) }}
|
|
|
|
<div class="create-notice">
|
2020-08-28 07:19:59 +01: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 03:30:22 +01:00
|
|
|
</div>
|
2020-08-28 07:19:59 +01:00
|
|
|
<div class="create-right">
|
|
|
|
<div class="scope">
|
|
|
|
{{ form_row(post_form.visibility) }}
|
|
|
|
</div>
|
|
|
|
<div class="input-wrapper">
|
|
|
|
<div class="content-input">
|
|
|
|
{{ form_row(post_form.content) }}
|
|
|
|
</div>
|
2020-08-26 06:38:49 +01:00
|
|
|
</div>
|
2020-08-28 07:19:59 +01:00
|
|
|
<div class="notice-options">
|
|
|
|
<div class="attachments">
|
|
|
|
{{ form_row(post_form.attachments) }}
|
|
|
|
</div>
|
|
|
|
<div class="send">
|
|
|
|
{{ form_row(post_form.send) }}
|
|
|
|
</div>
|
2020-08-26 06:38:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ form_end(post_form) }}
|
2020-08-20 01:40:06 +01:00
|
|
|
{% endif %}
|
2020-08-20 04:26:12 +01:00
|
|
|
<div class="main">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Timeline</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="notes-wrap">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Public</a>
|
|
|
|
</li>
|
2020-08-28 21:16:26 +01:00
|
|
|
{% if user_nickname is defined %}
|
|
|
|
<li>
|
2020-08-28 07:19:59 +01:00
|
|
|
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("home_all") }}'>Home</a>
|
2020-08-28 21:16:26 +01:00
|
|
|
</li>
|
|
|
|
{% endif %}
|
2020-08-20 04:26:12 +01:00
|
|
|
<li>
|
|
|
|
<a href="#">Network</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="timeline">
|
|
|
|
<div class="notes">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for note in notes %}
|
2020-08-28 21:16:26 +01:00
|
|
|
{% set id = note.getId() - 1 %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': note} only %}
|
2020-08-20 04:26:12 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<h1>{% trans %}No notes here.{% endtrans %}</h1>
|
|
|
|
{% endif %}
|
2020-08-20 01:40:06 +01:00
|
|
|
</div>
|
2020-08-19 16:31:52 +01:00
|
|
|
</div>
|
2020-08-20 04:26:12 +01:00
|
|
|
</div>
|
2020-08-15 00:40:32 +01:00
|
|
|
</div>
|
2020-08-20 04:26:12 +01:00
|
|
|
</div>
|
2020-07-28 17:08:08 +01:00
|
|
|
{% endblock body %}
|
2020-07-26 16:05:07 +01:00
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|