2021-04-30 04:51:13 +09:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-12-08 01:23:56 +09:00
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}Welcome!{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<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)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/simple_stream.css') }}">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="content">
|
|
|
|
<div class="main">
|
|
|
|
<div class="simple-stream">
|
2020-12-08 01:56:08 +09:00
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2021-04-30 10:51:03 +09:00
|
|
|
<a href="{{ path('main_public') }}"
|
|
|
|
class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'><p>Reverse
|
|
|
|
Favourites</p></a>
|
2020-12-08 01:56:08 +09:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-07-20 03:19:02 +09:00
|
|
|
<div class="nav-content">
|
2020-12-08 01:23:56 +09:00
|
|
|
<div class="timeline">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for note in notes %}
|
2021-04-30 10:51:03 +09:00
|
|
|
{% set id = note.getId() - 1 %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': note, 'have_user': have_user} only %}
|
2020-12-08 01:23:56 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2021-04-30 10:51:03 +09:00
|
|
|
<h1>This is {{ user_nickname }}'s reverse favorites stream, but nobody
|
|
|
|
favored {{ user_nickname }}'s notes yet.</h1>
|
2020-12-08 01:23:56 +09:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|