2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.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">
|
2021-07-19 19:19:02 +01:00
|
|
|
|
2020-08-20 04:26:12 +01:00
|
|
|
<div class="main">
|
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2021-04-30 02:51:03 +01:00
|
|
|
<a href="{{ path('main_public') }}"
|
|
|
|
class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
|
2020-08-20 04:26:12 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-07-19 19:19:02 +01:00
|
|
|
|
|
|
|
<nav class='sec-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_public') }}"
|
|
|
|
class='hover-effect {{ active('main_public') }}'>Public</a>
|
|
|
|
</li>
|
|
|
|
{% if user_nickname is defined %}
|
2020-08-20 04:26:12 +01:00
|
|
|
<li>
|
2021-07-19 19:19:02 +01:00
|
|
|
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}"
|
|
|
|
class='hover-effect {{ active("home_all") }}'>Home</a>
|
2020-08-20 04:26:12 +01:00
|
|
|
</li>
|
2021-07-19 19:19:02 +01:00
|
|
|
{% endif %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
|
|
|
</li>
|
|
|
|
{% if main_nav_tabs is defined %}
|
|
|
|
{% for tab in main_nav_tabs %}
|
2021-04-30 02:51:03 +01:00
|
|
|
<li>
|
2021-07-19 19:19:02 +01:00
|
|
|
<a href="{{ path(tab['route']) }}"
|
|
|
|
class='hover-effect {{ active(tab['route']) }}'>{{ tab['title'] }}</a>
|
2021-04-30 02:51:03 +01:00
|
|
|
</li>
|
2021-07-19 19:19:02 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="timeline">
|
|
|
|
<div class="notes">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for conversation in notes %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': conversation['note'], 'have_user': have_user, 'replies': conversation['replies']} only %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<h1>{% trans %}No notes here.{% endtrans %}</h1>
|
|
|
|
{% endif %}
|
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 %}
|